I really hate asking for help but I'll be honest I'm stumped with this problem that should be straight forward
Code: Select all
SetTitleMatchMode, 2
^j::
SetTitleMatchMode, 2
Sleep 1000
ControlSend,, {F12}, OBS
run "C:\Program Files (x86)\Winamp\Winamp.exe" "e:\Music\Song1.mp3"
Sleep 2000
SetTitleMatchMode, 2
Loop {
IfWinExist,Winamp [Stopped]
{ ControlSend,, {F11}, OBS
continue
}
Sleep, 1000
}
SetTitleMatchMode, 2
Sleep 1000
ControlSend,, {F12}, OBS
run "C:\Program Files (x86)\Winamp\Winamp.exe" "e:\Music\Song2.mp3"
Sleep 2000
SetTitleMatchMode, 2
Loop {
IfWinExist,Winamp [Stopped]
{ ControlSend,, {F11}, OBS
continue
}
Sleep, 1000
}
Return
Any help would be greatly appreciated.
Shawn Dion
P.S: I'm running this on 64 bit Windows 10.