Hello I need some help getting this script together, ive been googling for 2 hrs trying to do it but no success yet.
Very simple script but I cant get it to reset so to speak.
Ins::
Soundplay, no.wav
Soundplay, yes.wav
basically thats just showing what code im trying to get working. Ive tried a couple of things but anyway I want to press Insert and have Sound 1 play, press Insert again and have sound 2 play and then have it so when pressing insert itll play Sound 1 again. So basically Im trying to cycle these 2 sounds with Insert. Thanks
Help with script Topic is solved
Re: Help with script
Ins::SoundPlay, % Toggle:=!Toggle ? "no.wav" : "yes.wav"
-
- Posts: 69
- Joined: 28 Dec 2017, 02:53
Re: Help with script
do you have the .wav file in the same folder as your script ?
Re: Help with script Topic is solved
His script is playing one of the files, so location isn't the problem. He just didn't know how to cycle between them, which I showed him how.
-
- Posts: 69
- Joined: 28 Dec 2017, 02:53
Re: Help with script
interesting