Media_PlayPause
Media_PlayPause allows you to temporarily halt the Media_PlaySound function.
No parameters are used.
When Media_PlaySound is playing a sound, calling Media_PlayPause will halt the playback. Calling Media_PlayPause a second time will resume play.
This is a useful function to call from a script triggered by a button.
Example
To pause an audio file currently being played:
Set Field [ MyTable::Response ; Media_PlayPause ]