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.

Putting a timer on a Dialogue Box

Featured Replies

Quick question,

Has anyone ever used a timer for dialog boxes? I have a system that allows the user a second chance to print a receipt, but a lot of the time the user doesn't reply to the dialog. I want to set a time to how long the dialog box can be displayed.

I know I can do this through a layout with start/finish times, but just wondered if there are other avenues like a timer.

Allow User Abort [Off]

Set Variable [$time; Value: Get(CurrentTime)]

Loop

Show Custom Dialog ["Timer On"; "Wait a moment, please..."]

Exit Loop If [Get(CurrentTime) > $time + 10]

End Loop

  • Author

That is exactly what I thought, but when the dialog shows, it is not evaluating the start time. So it waits for the user to enter an answer before it looks at the time to see if it is up. The program just hangs waiting for the user to enter the answer.

I need the timer to evaluate while the dialog is showing and cancel the dialog that is on the screen if the time is up.

Thanks, though.

Any other ideas?

Edited by Guest

http://www.troi.com/software/dialogscreenshots.html#flash

Well on the Mac it's simple with applescript and "giving up after"

Display dialog "Hello world" giving up after 3

  • Author

Thanks for the post regarding the plug-in. This idea would just be a nice touch to the solution, didn't really want to spend money on it.

On the topic of the apple script, nothing like that is set up in windows, right? The user set-up is on a windows pc as well.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.