It has been a long time since I used au3, so bear with me. I forgot how to use _IsPressed function and I can not even do this one simple code. At this point I am just trying to get the function to work properly. The problem here is that 'a' is pressed and it sends 'aka' instead of 'ka'; the elseif is not being properly used IMO, and when 'b' is pressed 'zu' does not even show up Anybody have suggestions?
$dll = DllOpen("user32.dll")
While 1
If _IsPressed("41", $dll) Then
send("ka")
Elseif _IsPressed("42 ", $dll) Then
send("zu")
EndIf
WEnd
DllClose($dll)
My goal is when you hit the 'a' key 'ka' will show up replacing 'a' and such forth with the other keys.