Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Giving user feedback when running a script

Featured Replies

  • 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

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.

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?

  • 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

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.