Modify

Opened 10 years ago

Closed 10 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 Changed 10 years ago by Jpm

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
EndFunc

I don't have any problem with
AutoIt:3.3.6.1 (Os:WIN_7/X86 Language:040C Keyboard:0000040C Cpu:X64)

comment:2 Changed 10 years ago by Valik

  • Resolution set to No Bug
  • Status changed from new to closed

What does the environment matter? It's an obvious bug in the user's code and not in AutoIt.

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.