AutoHotkey in Windows 10 - Hotkeys not working in some applications

后端 未结 5 1072
北荒
北荒 2020-12-15 05:55

A simple script like

a::msgbox hi!

used to work fine under Windows 7. Now that I upgraded to Windows 10, it isn\'t working when certain win

5条回答
  •  隐瞒了意图╮
    2020-12-15 06:05

    Everything Search Engine was also not working for me.

    Before, compiling the .ahk script to .exe would solve any issues.

    Windows 10 gave me problems again.

    The following information helped me fix it:

    On Windows 8 and later, UAC can only be disabled by modifying the registry, and doing so breaks apps.

    As I said, "turning off" UAC in Control Panel on Windows 8 and later just suppresses the Yes/No prompts; programs are still run with limited privileges by default.

    https://autohotkey.com/boards/viewtopic.php?t=9770

    disable UAC via the registry, you’ll need to head to the start menu search box and type in regedit.exe and browse down to the following key:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
    

    Over on the right-hand side, you should see a setting for EnableLUA, which you’ll want to customize as follows:

    UAC Enabled: 1
    UAC Disabled: 0
    

    http://www.howtogeek.com/howto/4820/how-to-really-completely-disable-uac-on-windows-7/

    Also on the howtogeek page:

    Just download, extract, and double-click on the included ReallyDisableUAC-Win7.reg file to disable UAC.

    You’ll need to reboot for the setting to actually take effect.

    There’s also an included registry hack file to re-enable it as well.


    • Disable UAC completely. As you noted, this will kill apps on Windows 10 (or 8).

    • Create a patched executable using EnableUIAccess, and then use that executable to run the script.

    https://autohotkey.com/board/topic/148522-sendplay-windows-10-trouble/

提交回复
热议问题