I wrote the following Script but the problem red (F13 and the first one) can overide blue (F13/second) and if red is first blue plays after and vice versa but only once, e.g. can go red then blue but not back to red
Any insight you could offer would be appreciated
Code: Select all
F13::
{
BlockInput, On
Sleep, 50
SoundPlay, Ring.mp3
Progress,1: CWFF0000 B W20000 H10000 X0 Y0 zh0 fs200,
Progress,2: CWFF0000 B W20000 H10000 X1281 Y0 zh0 fs200,
Sleep, 3000
Progress,1: CWFF0000 B W20000 H200 X0 Y0 zh0 fs200,
Progress,2: CWFF0000 B W20000 H200 X1281 Y0 zh0 fs200,
KeyWait, Space, D T10
Progress,1: Off
Progress,2: Off
BlockInput, Off
}
return
F14::
{
BlockInput, On
Sleep, 50
SoundPlay, Ring.mp3
Progress,1: CW0000FF B W20000 H10000 X0 Y0 zh0 fs200,
Progress,2: CW0000FF B W20000 H10000 X1281 Y0 zh0 fs200,
Sleep, 3000
Progress,1: CW0000FF B W20000 H200 X0 Y0 zh0 fs200,
Progress,2: CW0000FF B W20000 H200 X1281 Y0 zh0 fs200,
KeyWait, Space, D T10
Progress,1: Off
Progress,2: Off
BlockInput, Off
}
return