Play Sound File

Added May 2013

? tab(-10, AG_PLAYSOUND); fspec, flags {rtnsts}; chr(127);

AG_PLAYSOUND (105) forces the ATE client to play a sound file.

fspec and flags are the same as for the MX_PLAYSOUND. rtnsts may be set to non-zero if you want to get the return status in the keyboard buffer. Otherwise (if 0 or omitted), there is no response.

Note that fspec must be a PC native filespec, and that AG_PLAYSOUND supports the standard image file search path and %env% variables.

History

2013 Novemer, A-Shell 6.1.1367:  Command added to A-Shell