stefangs Posted July 23, 2004 Posted July 23, 2004 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?
KurtW Posted July 26, 2004 Posted July 26, 2004 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
stefangs Posted July 27, 2004 Author Posted July 27, 2004 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...
Recommended Posts
This topic is 7427 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 accountSign in
Already have an account? Sign in here.
Sign In Now