In ITScriptNet versions 1.2c (5) and before, the wave files must be located in the ITScriptNet installation directory on the portable terminal. Whan calling PlaySound do not specify a path to the audio files, as the ITScriptNet directory is always pre-pended to the path.
In ITScriptNet versions 1.2c (6) and higher, the working directory will only be pre-pended to the file name if no path is specified. If you specify a path in PlaySound, the terminal will use it. This allows you to play audio files located anywhere on the terminal.
Example 1:
PlaySound(“test.wav”)
All versions will look for test.wav in the ITScriptNet directory.
Example 2:
PlaySound(“\IPSM\ITScriptNet Plus\test.wav”)
ITScriptNet 1.2c (5) and prior will fail to play the file.
ITScriptNet 1.2c (6) and higher will locate and play the file if it exists.