Jump to content
Server Maintenance This Week. ×

Giving user feedback when running a script


Mark.Ogier

This topic is 3616 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

Hi

Just getting into my first FM script and all going well so far. But it is quite a big script with many steps and i would like to give the user some feedback about what is happening ("about to start step 1", "Step 1 complete", "starting next step" etc.)

Can someone point me in the right direction as to how a display some kind of form or window at the start of the script and update some text on it to give the step by step feedback of what is happening?

Or is that not the way bit should be done in FM?

All ideas gratefully received

Many thanks

Mark

Link to comment
Share on other sites

you can throw up a dialog box, but be careful with that.  If the user dosn't click ok on the dialog, the script remains paused at that point.

another option would be to put a global variable on the layout.

At appropriate times, set the variable and refresh the window.

a third option would be to set the window title.

Link to comment
Share on other sites

Jerry's suggestions are great. However, most scripts run quickly. I'm interested in the process you're describing and why you feel the script will take a long time. Perhaps you can push it to a server script?

Link to comment
Share on other sites

  • 1 year later...

I build several layouts of color,

and several script w/assorted delays as tools

 

Then call script that displays a message, passing a parameter " Hello",

viewed in the message box layout..

Then I call a script with message..for test, 1/2 -5 sec delays anytime you want to

Link to comment
Share on other sites

This topic is 3616 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.