WinActivate eGenesis Client ClickMode := 0 Msgbox Make a dialog appear, hold your mouse over the OK button and press the accent key (usually above tab). `:: if ClickMode = 0 { MouseGetPos, xpos, ypos ClickMode := 1 MsgBox Macro set. Press the same key again to dismiss a dialog. } else { IfWinActive eGenesis Client { MouseGetPos, oldX, oldY MouseMove, xpos, ypos, 0 Click Right MouseMove, oldX, oldY, 0 } } return ^z:: ExitApp return