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.

Countdown in a dialog box

Featured Replies

Hi there,

In order to delay a function, I would like to know how I can display a small dialog box for 5 seconds where you see a short message and a countdown. There must be trick for that. Any help?

bikeman

... No tricks... FM really needs timeable dialogs and progress bars as standard... hint hint... hint... hint hint hint...

If you were on mac, i'd recommend making a fake dialog box with a new window and refreshing but your on windows, and while you could do that it would restore your windows in all different fashions and flicker the whole screen each time it refreshes.

  • Author

Is it possible to create a loop that displays a window with no countdown for 5 seconds?

Ummm, you could use the pause/resume script step and choose 5 seconds... after which you close the window?

  • Author

That's what I currently do but I want to display a message with no OK button to click on.

I prefer a loop that will perform a pause/resume action. The challenge comes from the loop that should play 5 times. Any idea?

Set a global to 5 before you start the loop and reduce it by 1 each time you loop. Exit loop if global<1

Phil

  • Author

It worked great! In order to display a message with no OK button to click on, I just created another layout that shows up during the loop.

Many thanks

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.