This document provides instructions for adding a new tool to the TextPad menu bar that will run an AutoHotkey script when selected. The steps are to open Preferences, add a new Program tool, configure it to run cmd.exe with parameters to execute the AutoHotkey script, set the initial folder, and check options to run minimized and capture output. When completed, the new tool will be available in TextPad's Tools menu to launch the AutoHotkey script associated with the current file.
This document provides instructions for adding a new tool to the TextPad menu bar that will run an AutoHotkey script when selected. The steps are to open Preferences, add a new Program tool, configure it to run cmd.exe with parameters to execute the AutoHotkey script, set the initial folder, and check options to run minimized and capture output. When completed, the new tool will be available in TextPad's Tools menu to launch the AutoHotkey script associated with the current file.
This document provides instructions for adding a new tool to the TextPad menu bar that will run an AutoHotkey script when selected. The steps are to open Preferences, add a new Program tool, configure it to run cmd.exe with parameters to execute the AutoHotkey script, set the initial folder, and check options to run minimized and capture output. When completed, the new tool will be available in TextPad's Tools menu to launch the AutoHotkey script associated with the current file.
From the menu bar, select Configure > Preferences.
Expand the Tools entry. Press the Add button and select "Program". Copy and paste (adjust to your path): C:\Windows\System32\cmd.exe -- then press OK. Triple-click the newly added item (cmd.exe) in the ListBox and rename it to your choice (e.g. Launch Script). Press Apply. Select the new item in the tree at the left and enter the following information: Command (should already be filled in): cmd.exe (or the full path to it) Parameters (adjust to your path, if necessary): /c ""C:\Program Files\AutoHotkey\AutoHotkey.exe" /ErrorStdOut "$File"" Initial folder: $FileDir Check the following boxes: 1) Run minimized; 2) Capture output. Press OK. The newly added item should now exist in the Tools menu. Related