What's Changed
Added Hotstring Counter Feature
By adding a hotstring-counter.txt file to the root directory, you can enable the Hotstring Counter feature. This feature will keep track of the number of times each hotstring is used.
- Create a plain text file named
hotstring-counter.txtin the root directory. - Each time a hotstring is used, the counter will be incremented for that specific hotstring.
- The results will be saved to the
hotstring-counter.txtfile when the app is closed. - The
hotstring-counter.txtfile will store the hotstring usage data in csv format. - Renaming the file from
.txtto.csvwill allow you to open it in your favorite spreadsheet editor.
Added Splash Screen Feature(xlsx only)
By adding a splashfile300x100.png image to the root folder, you can enable the Splash Screen feature. This feature will display a custom image while the script is loading hotstrings from the Excel file.
- Create a 300x100 pixels image (PNG format) with your desired design.
- Save the image as
splashfile300x100.pngin the root folder. - The
splashfile300x100.pngimage will be displayed as a splash screen while the script is loading hotstrings from the Excel file. - Once the hotstrings are loaded, the splash screen will disappear, and the app will be ready for use.
Added Input Replacement Feature
By adding <<input>> to the beginning of any extended text and <<template>> elsewhere in the extended text, the user will be prompted for input when the hotstring is executed. Upon pressing enter all instances of <<template>> will be replaced with the users input.
Table
Excel hotstring file format
Filename: hotstrings.xlsx
Sheetname: Templates
Table
| ID | Name | HotString | Extended Text |
|---|---|---|---|
| 0 | Introduction | <ate | AutoHotkey Text Expander |
| 1 | Apology | <sorry | I am sorry for the inconvenience. |
| 2 | Greeting | <hi | Hello World |
| 3 | Grocery Note | <list | This is the list of items I need from the store. * Apples * Oranges * Paper Towels That’s it, the end of the list. |
| 4 | Test NoPrefix | test | This is a hotstring without a prefix. |
| 5 | Template Replace Input | <input | <<input>>This message is for <<template>>. We are trying to reach <<template>> about their cars extended warranty. |
CSV hotstring file format
Filename: hotstrings.csv
Table
| HotString | Extended Text |
|---|---|
| <ate | AutoHotkey Text Expander |
| <sorry | I am sorry for the inconvenience. |
| <hi | Hello World |
| <list | This is the list of items I need from the store. * Apples * Oranges * Paper Towels That’s it, the end of the list. |
| test | This is a hotstring without a prefix. |
| <input | <<input>>This message is for <<template>>. We are trying to reach <<template>> about their cars extended warranty. |