Now AutoHotkey (powerful scripting language to control Windows GUI applications) is installed as part of Proxy32 installation.
- AutoHotkeyU32.exe script interpreter (together with its help file and AU3_Spy.exe helper) is extracted from internal cab file to . directory (where "." refers to proxy32.exe installation directory) during proxy32 installation.
- PATH variable in the Proxy32 ENVIRONMENT is modified to contain path to AutoHotkey executable so that script interpreter can be called just by name from any launcher that creates new process.
- parameter
<PROXYHANDLEOFACTIVEWINDOW>
is replaced in any launcher by unsigned decimal number that identifies handle of Proxy32 active window
- parameter
<PROXYHANDLEOFACTIVESTICKERWINDOW>
is replaced is in any launcher by unsigned decimal number that identifies handle of Proxy32 window that has ""ACTIVE" sticker. Only windows of external processes can have "ACTIVE" sticker. Internal Proxy32 windows (proxy-terminal and proxy-script editor) use red frame instead of "ACTIVE" sticker when they are activated.
- those two new substitution parameters are introduced to pass window handle to autohotkey scripts via command line parameter.
- initial Tree.xml (that is loaded if there is no user Tree.xml is found) now contains sample AutoHotkey script to type commands into active window in the Proxy32 Workspace. There is LAUNCH launcher to execute sample ahk script and there is VIEWER launcher to edit sample ahk script.
- AutoHotkey is well maintained and has open source, so it is a good choice to use for automation of windows of external processes in proxy32 workspace. It can find window by handle even if this window is located inside of (child of) proxy32 workspace window. For comparison, MortScript (another GUI scripting language that is insalled with Proxy32) can only work with top-level windows.