Greetings,
What I am trying to do is very simple: Map one key (such as "S") to another (such as "NUMPAD5")... however I cannot find a more simple way to achieve than this:
If (_IsPressed('53', $dll)) Then
Send ( "{NUMPAD5 DOWN}")
EndIf
If Not (_IsPressed('53', $dll)) Then
Send ( "{NUMPAD5 UP}")
EndIf
This works but there has got to be a less redundant way to do this.
HotKeySet seems to only work with functions, otherwise it would be amazingly simple!
Anyway, any help would be appreciated. Thanks!
Edit: It seems the send commands are being continually sent which is compromising the efficiency of the script.
I could add a $Num5 = 'Down'/ 'Up' to only send when it it pressed or not, but again, is there a less redundant way of achieving this?