Page 1 of 1

Using Player? - Solved

Posted: Fri Nov 01, 2013 11:23 am
by DR White
I want to use a player to play various wav files.

I have tried the following code, but does not seem to work.

start playing player AudioPlayer1 filename "C:\Backups\cheering.wav"

Could someone give an example code?

Thanks,

David

Re: Using Player?

Posted: Fri Nov 01, 2013 1:07 pm
by Klaus
Why not use the examples shown in the dictionary for "player"? They do in fact work 8)
...
## Object names in QUOTES!
## And LC uses the UNIX SLASH / as a pathdelimiter internally!
set the filename of player "AudioPlayer1" to "C:/Backups/cheering.wav"
start player "AudioPlayer1"
...

Re: Using Player?

Posted: Fri Nov 01, 2013 3:17 pm
by DR White
Klaus,

That works Great! :D

Thanks so much,

David