Skip 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.

audio error capture

Featured Replies

i'm trying to generate an appropriate error message for the following script:

Set Error Capture [On]

Go to Field [select/perform, "Container_with_audio"]

If ["Status(CurrentError) > 0"]

Show Message ["custom message"]

EndIf

if this script runs and the field contains data, but quicktime is not installed on a windows machine (and therefore no sound plays), this is not interpreted as an error. i've verified this by capturing Status(CurrentError) into a global field - the result is 0.

does anyone have an idea for a workaround?

I assume this is not registered as an error because the audio file is triggered without regard to whether or not the client has QT installed. Interesting.

I'm no expert, but I don't think FM natively has the capability to be probing the system to search for QT. Maybe there is DDE command that performs like a test/probe for QT?

Or maybe there is a 3rd party extension to test for it?

Last suggestion would be to have a global status box somewhere that the user can use to check off if he/she has QT, then use this global in any calcs BEFORE you fire a QT message?

Not too much help, I'm afraid. Good luck

  • Author

thanks anyway - maybe i'll just add a small audiofile in a global and let the user click on it. have a dialog box pop up 'did you hear the tone?'. if th user clicks 'no', audio functions could be disabled until he tries again. something like that...

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.