Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

_IsPressed situation

$
0
0
Hi, this searches only for CTRL but ALT, also activates it, if i change the number to 12 (ALT) it works, and CTRL doesn't activate it!
So this means there is a problem, when i use ispressed 11. Can anyone verify this?

[ autoit ]      
;ALT = 12 ;CTRL = 11 #include $dll = DllOpen("user32.dll") Do Sleep(50) If _IsPressed("11", $dll) Then TrayTip('Info', 'Key Pressed', 1) Sleep(1000) TrayTip('','',1) EndIf Until $dll = 123 DllClose($dll)

Viewing all articles
Browse latest Browse all 12506

Trending Articles