P2STRING Script Language

This section describes the contents of a script file and how to interpret the script language. Script files can contain the following types of lines:

The following discussion provides information on how to create a script file containing these various line types. The following figure displays an example of how a script file appears.

@PROCESSES=2@EVENTS={HASCTRL1=1,HASCTRL2=0}
#
#
#
@PROCESS 1
;
; set masteraudio level for session to 10% - will affect all
; 3 processes
;
masteraudio volume 10
;
; open waveaudio device non-exclusively
;
open waveaudio alias wav1 shareable notify
+MM_MCINOTIFY MCI_NOTIFY_SUCCESSFUL MCI_OPEN #1
@WAIT_NOTIFY 1 60000
@WAIT_PASSDEVICE wav1 60000
@WAIT_NOTIFY 21 60000


[Back: Starting P2STRING]
[Next: Comments]