i only want this code to work, if an inputbox is active, else resume the normal keyboard Function..
i was guessing something like #IfWinActive??
here is the code i need do work only if an Inputbox exist
Code: Select all
Up::
Send, %Copier1%{Enter}
KeyWait, Up
Return
Down::
Send, %Copier2%{Enter}
KeyWait, Down
Return
NumpadAdd::Return
NumpadDiv::Return
NumpadMult::Return
$NumpadSub::Backspace
Here is the Inputbox Sample i use
Code: Select all
Gui +LastFound +OwnDialogs +AlwaysOnTop
InputBox, q1,Copper,,,100,100,%xtop%,0
Gui +LastFound +OwnDialogs +AlwaysOnTop
InputBox, q2,Gold,,,100,100,%xtop%,0