Pin
file
Reads or writes the audio file name. When writing the value parameter is text string with the name of the file.
play
Executes the play command, identical to clicking the Play button. No action if button has Pause caption. Value parameter is ignored.
playpause
Executes the play or pause command, identical to clicking the Play or Pause button. Value parameter is ignored.
stop
Executes the stop command, identical to clicking the Stop button. Value parameter is ignored.
Example
The following example starts Audio Player 1.
apiwrite audio player 1, play, true |