I've modified AHKControl many times over the years, but since some of the modifications were not suitable for the public I hadn't updated this thread. Now I've cleaned up the script and updated the download (see top post
[*:2736ht16]Win+A shows a menu based on the active window.
[*:2736ht16]AHKControl's tray icon can be enabled as an alternative to the hotkey.
[*:2736ht16]Each script can set a custom icon.
[*:2736ht16]New hotkey (Win+A): If the active window belongs to a script, a menu to control it is shown. If the active window's title matches PathRegEx, all matching scripts are listed. (SciTE and Notepad++ should work by default.) Otherwise, all scripts are listed.
[*:2736ht16]AHKControl's tray icon can be enabled and customized by setting some options near the top of the script. Right clicking the icon brings up the list of scripts. If the option is turned off (the default setting), the icon will only appear when the hotkeys are suspended; left clicking the icon "unsuspends" the hotkeys. Otherwise, left click and right click are the same.
[*:2736ht16]Each script can set its own icon, even if it doesn't have a tray icon. See the top post for details. The old method of retrieving the tray icon is still used where possible (i.e. on XP and Vista).
[*:2736ht16]If no other icon is available and a script is paused or suspended, the appropriate default icon is shown.
now have checkmarks when appropriate.
[*:2736ht16]At the top of each script submenu, the version number of its AutoHotkey.exe is shown.
[*:2736ht16]If a script is non-responsive, only the Edit
options are shown.
[*:2736ht16]Windows 7 + UAC: If AHKControl cannot control a script (i.e. because of UIPI), it will disable the sub-menu and allow the tray menu to be activated directly. It already did this for "WIN_VISTA" but was never updated for Windows 7.
[*:2736ht16]A confirmation prompt is shown if you try to exit AHKControl.
I think the Unicode problem only affected Windows Vista and older, where the script is able to extract information from the system tray.