July 23, 200421 yr 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?
July 26, 200421 yr 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
July 27, 200421 yr 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