AutoHotkey in Windows 10 - Hotkeys not working in some applications

Check "run this program as administrator" in:

autohothey.exe > properties > compatability > settings


Try starting your exe with admin rights (i.e. right click on your exe and then run as administrator).


Instead running the script with usual AutoHotKey:

click right -> Run with UI Access

To always run with UI access, change default app for running the script to:

"C:\Program Files\AutoHotkey\AutoHotkeyU64_UIA.exe"

Or:

"C:\Program Files\AutoHotkey\AutoHotkeyU_UIA.exe"


Being that Windows 10 was just released, this is very relevant question and I'm sure that many users will appreciate help in getting their scripts to run properly on this new OS. It's possible someone thought that this question was to broad in scope or maybe improperly classified, as it's a Windows issue rather than a specific AutoHotkey problem?

From my understanding the issue lies in new UAC settings. A simple solution is to run your script as an Administrator. To do this right click on the file -> select "Run as Administrator"

Edit:

I don't have a direct answer to give regarding running an application or file always as an Admin (in Windows 10), but this guide I found seems to cover every way possible to do so in Windows 10.

http://www.tenforums.com/tutorials/3436-run-administrator-windows-10-a.html

Another alternative is to have the script check if it is running as Admin, if not reload as Admin. Code was pulled from the Help File:

if not A_IsAdmin
{
   Run *RunAs "%A_ScriptFullPath%"  ; Requires v1.0.92.01+
   ExitApp
}