1

AutoHotKey automatically closes when pressing Win+E. It only happens when I my running the script as administrator. I do not have a script assigned to close AutoHotKey on pressing Win+E.

When I run the same script on a different computer using the same AutoHotKey version, it works as excepted and does not close AutoHotKey.

How do you fix this issue? Any suggestions will be very helpful.


No, I don't have a script which overrides the Windows defaults.

I have check my script and there seems to be no return statements missing.

The scripts works fine and causes no issues when running on another computer running windows 7 64bit edition. It only closes Autohotkey on the computer I created this script which has windows 7 32bit edition and running in administrator account. I am using Autohotkey Basic 32Bit Version.

DMA57361
  • 18,793
Ishan
  • 3,432

1 Answers1

0

On Windows, the default action of Win+E is to open (My) Computer in a Windows Explorer window, which may have something to do with this issue—though exactly what that has to do with the problem is not obvious to me. Since you’re using AutoHotkey, you should be able add something to your .ahk script like the following to make that keyboard combination do nothing:

#e::return  ; ignore winkey+e
martineau
  • 4,573