pause media then play sound after sound start media agian
Posted: 16 Apr 2016, 14:25
Hello ,
I'm working on a script that pauses spotify and then plays 2 sounds in order and then plays the spotify song again this every 10 minutes. Only its not working. I tried this code:
I was hoping this loop will execute everything in order but it just pauses and plays spotify instantly and then plays the sound.
Already thanks for helping
I'm working on a script that pauses spotify and then plays 2 sounds in order and then plays the spotify song again this every 10 minutes. Only its not working. I tried this code:
Code: Select all
loop
{
Sleep, 10000 ;
Send {Media_Play_Pause} ;
SoundPlay, \test.mp3 ;
SoundPlay, \test2.mp3 ;
Send {Media_Play_Pause} ;
}
Already thanks for helping