AnsweredAssumed Answered

Playing a sound file

Question asked by mgores on Aug 25, 2015
Latest reply on Aug 30, 2015 by mgores

I'm using FMA14. I was trying to come up with a way to play a sound file to be played as part of a script.  I created a global container field, put it on the layout and inserted the sound file.  I found the only way to get it to play was to have it stored as a reference and selected to play automatically.  Then it would play every time the layout was entered, but not necessarily when the script tried to call it.

 

I finally got it to work by having the script insert the file, pausing for 12 seconds to let it play, then clearing the field.  It does work and solves the problem of having to go to each computer to insert the file into the global container, but it seems a bit "clunky".

 

Is there a better way to call the sound file? 

Outcomes