The combination is this, when I press the 1 key, I need to hold down the Shift key and press the W key, after which the Shift key is released
All this should work in a certain window, I tried to make a script, but it does not work for me as expected, feeling that the Shift key is not hold
Code: Select all
#SingleInstance
#InstallKeybdHook
#InstallMouseHook
SetTimer, MoveTimer, 16
return
MoveTimer:
IfWinActive, *window name*
{
GetKeyState, state, 1
if state = D
{
Send {Shift down}
Send W
Send {Shift up}
}
}
return