hallo
gibt es eine funktion, ähnlich wie _ispressed, die aber erst 1 ausgibt wenn die Taste losgelassen wird?
dies nur um zu vermeiden, das eigentlich nur ein Tastenanschlag, auch wenn er länger dauert, nur einmal gewertet wird.
gruß
jendrik
ähnliche function wie _ispressed
-
- [ offen ]
-
jendrik -
8. Juni 2008 um 12:50 -
Geschlossen -
Erledigt
-
-
- Offizieller Beitrag
Hallo
So?
Spoiler anzeigen
[autoit]#include <misc.au3>
[/autoit]
$hDLL = DllOpen("user32.dll")
$iHex = 01 ;Linke Maustaste
While 1
If _IsPressed($iHex,$hDLL) Then
While _IsPressed($iHex,$hDLL)
Sleep(10)
WEnd
MsgBox(0,"","Taste gedrückt und wieder losgelassen")
EndIf
Sleep(10)
WEndMfg Spider
-
ja, Danke