Game Show Overlay problem

Get help with using AutoHotkey and its commands and hotkeys
ItsAStrangeJob
Posts: 1
Joined: 16 Sep 2018, 00:53

Game Show Overlay problem

16 Sep 2018, 01:09

Here's what I'm going for: 2 keys will be pressed nearly simultaneously, whichever is pressed first will display its progress window color (red or Blue) and ignore the other key until its reset (space)

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

Return to “Ask For Help”

Who is online

Users browsing this forum: ahketype, Google [Bot], kadhri, Mipha, roysubs and 131 guests