lexikos wrote:I'm guessing you did not read my post before posting this (within a minute of my post).
I did. And I found the "bug". Answer below
lexikos wrote:
I do not see how your hotkey can trigger the Start menu. Does it happen with this?
Yes, the menu is also shown.
lexikos wrote:
What does
KeyHistory show after you press the hotkey?
Code: Select all
#ü::
KeyWait ü
KeyWait LWin
KeyWait RWin
KeyHistory
return
Code: Select all
#ü::
tmp = %ClipboardAll%
Send, ^c
word = %Clipboard%
Clipboard = %tmp%
Run, http://dict.leo.org/?search=%word%
KeyHistory ; <<---
Return
The first one gives:
Code: Select all
VK SC Type Up/Dn Elapsed Key Window
-------------------------------------------------------------------------------------------------------------
01 000 d 1.39 LButton AutoHotkey.ahk - Notepad
01 000 u 0.05 LButton
01 000 d 0.09 LButton
01 000 u 0.09 LButton
01 000 d 0.44 LButton
01 000 u 0.09 LButton
5B 15B d 1.24 LWin
5B 15B d 0.25 LWin
5B 15B d 0.03 LWin
5B 15B d 0.03 LWin
5B 15B d 0.03 LWin
5B 15B d 0.03 LWin
5B 15B d 0.03 LWin
5B 15B d 0.03 LWin
5B 15B d 0.03 LWin
5B 15B d 0.05 LWin
5B 15B d 0.03 LWin
5B 15B d 0.03 LWin
BA 01A h d 0.00 ü
BA 01A s u 0.08 ü
5B 15B u 0.36 LWin
A2 01D i d 0.00 LControl
A2 01D i u 0.00 LControl
A4 038 i d 0.17 LAlt Search
A4 038 i u 0.00 LAlt
A4 038 i d 0.00 LAlt
A4 038 i u 0.00 LAlt
01 000 d 2.95 LButton
01 000 u 0.16 LButton C:\USB\Software\Important\AutoHotkey v1.1.27.03 x64\AutoHotkey.ahk - AutoHotkey v1.1.27.03
01 000 d 1.17 LButton AutoHotkey.ahk - Notepad
01 000 u 0.09 LButton
01 000 d 0.06 LButton
01 000 u 0.13 LButton
5B 15B d 0.53 LWin
5B 15B d 0.25 LWin
BA 01A h d 0.00 ü
BA 01A s u 0.06 ü
5B 15B u 0.17 LWin
A2 01D i d 0.00 LControl
A2 01D i u 0.00 LControl
And the second gives:
Code: Select all
VK SC Type Up/Dn Elapsed Key Window
-------------------------------------------------------------------------------------------------------------
01 000 u 0.09 LButton
01 000 d 1.31 LButton C:\USB\Software\Important\AutoHotkey v1.1.27.03 x64\AutoHotkey.ahk - AutoHotkey v1.1.27.03
01 000 u 0.06 LButton
01 000 d 1.45 LButton
01 000 u 0.05 LButton AutoHotkey.ahk - Notepad
01 000 d 0.09 LButton
01 000 u 0.11 LButton
5B 15B d 0.61 LWin
5B 15B d 0.25 LWin
BA 01A h d 0.03 ü
A2 01D i d 0.00 LControl
5B 15B i u 0.00 LWin
43 02E i d 0.00 c
43 02E i u 0.00 c
5B 15B i d 0.00 LWin
A2 01D i u 0.00 LControl
BA 01A s u 0.06 ü Search
5B 15B u 0.08 LWin
A2 01D i d 0.00 LControl
A2 01D i u 0.00 LControl
01 000 d 1.88 LButton C:\USB\Software\Important\AutoHotkey v1.1.27.03 x64\AutoHotkey.ahk - AutoHotkey v1.1.27.03
01 000 u 5.38 LButton
01 000 d 1.41 LButton
01 000 u 0.09 LButton
01 000 d 0.95 LButton AutoHotkey.ahk - Notepad
01 000 u 0.06 LButton
01 000 d 0.08 LButton
01 000 u 0.09 LButton
5B 15B d 0.63 LWin
5B 15B d 0.25 LWin
5B 15B d 0.03 LWin
5B 15B d 0.05 LWin
BA 01A h d 0.00 ü
A2 01D i d 0.00 LControl
5B 15B i u 0.00 LWin
43 02E i d 0.00 c
43 02E i u 0.00 c
5B 15B i d 0.00 LWin
A2 01D i u 0.00 LControl
BA 01A s u 0.06 ü N/A
The real problem was that the admin installed StartIsBack as an alternative start menu. The default look is the same as the normal start menu but can be changed by the users (me).
One setting is to show the real windows start menu when you press CTRL+WIN and this was triggered.
When I set the option to do nothing when CTRL+WIN is pressed, nothing happens.