Opened 16 years ago
Closed 16 years ago
#1716 closed Bug (No Bug)
HotKeySet("^{F11}", "stamp")
| Reported by: | fielmann | Owned by: | |
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | 3.3.6.0 | Severity: | None |
| Keywords: | HotKeySet | Cc: |
Description
Hello,
HotKeySet("+{F11}", "stamp")
HotKeySet("{F11}", "stamp2")
While 1
sleep(500)
wend
Func stamp()
Send(@MDAY & "." & @MON & "." & @YEAR & "{TAB}" & 'my text')
EndFunc
start the upper autoit-script
open e.g. notepad.exe
press the Hotkey [Shift]+[F11]
you can see the timestamp
now try to type anything else in notepad: [shift] is still pressed! the problem appears always after using the Hotkey-function
It also happens with [CTRL]
If possible please fix it in next release ;-)
thx fielmann
Attachments (0)
Change History (2)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
| Resolution: | → No Bug |
|---|---|
| Status: | new → closed |
What does the environment matter? It's an obvious bug in the user's code and not in AutoIt.

I don't know under which Windows Environment you are running.
You can display it with
#include <Debug.au3> MsgBox(0,"AutoIt Environment", _DebugBugReportEnv( )) HotKeySet("+{F11}", "stamp") ;~ HotKeySet("{F11}", "stamp2") HotKeySet("{ESC}", "Quit") Run("Notepad") While 1 sleep(500) wend Func stamp() Send(@MDAY & "." & @MON & "." & @YEAR & "{TAB}" & 'my text') EndFunc Func stamp2() Send(@MDAY & "." & @MON & "." & @YEAR & "{TAB}" & 'my text2') EndFunc Func Quit() Exit EndFuncI don't have any problem with
AutoIt:3.3.6.1 (Os:WIN_7/X86 Language:040C Keyboard:0000040C Cpu:X64)