Page 1 of 1

"Run as admin" and "Run with UI access" Explorer's context menu items ignore the launch settings

Posted: 30 Jan 2023, 06:15
by CoolCmd
"Run as admin" and "Run with UI access" Explorer's context menu items always use the launcher, even if I selected "Run all scripts with a specific interpreter" in "AutoHotkey Launch Config". Technically, launcher.ahk sets HKEY_CLASSES_ROOT\AutoHotkeyScript\Shell\Open\Command, but forgets about HKEY_CLASSES_ROOT\AutoHotkeyScript\Shell\RunAs\Command and HKEY_CLASSES_ROOT\AutoHotkeyScript\Shell\UIAccess\Command.

Re: "Run as admin" and "Run with UI access" Explorer's context menu items ignore the launch settings

Posted: 15 Feb 2023, 02:00
by lexikos
This was intentional, but anyone is free to submit a pull request if they wish for the behaviour to be changed.

Re: "Run as admin" and "Run with UI access" Explorer's context menu items ignore the launch settings

Posted: 15 Feb 2023, 03:59
by CoolCmd
On my machine i refused from using slow and buggy launcher. All V1 scripts was renamed to *.ahk1 and some code was added to the registry.

Re: "Run as admin" and "Run with UI access" Explorer's context menu items ignore the launch settings  Topic is solved

Posted: 19 Jun 2023, 06:03
by lexikos
Fixed by v2.0.3.