InstantHotStringsArray

Post your working scripts, libraries and tools for AHK v1.1 and older
burque505
Posts: 1736
Joined: 22 Jan 2017, 19:37

InstantHotStringsArray

17 Apr 2018, 14:43

Hi all, this is an update of InstantHotString to accommodate a) multiple hotstrings without loading another instance of the script and b) using the clipboard to paste huge text.
I am somewhat leery of using memory only to accomplish this, but, well, here it is.
Only jeeswg's help (https://autohotkey.com/boards/viewtopic.php?f=5&t=47472) got me this far. I was having real trouble with passing parameters to functions with hotstring().
MS Word caused problems for me, but I have included a workaround that you yourself may not need if your Word Options don't have "Options->Advanced->Smart Cut and Paste" checked. So far it has worked fine in Excel and Wordpad.
Feedback appreciated.

Alt-F1: Show hotstrings and replacements
Click once on Tray icon, or Alt-Win-H: Add a new hotstring and replacement
Right-click on Tray icon for more options (e.g. add text directly)
Spoiler

Return to “Scripts and Functions (v1)”

Who is online

Users browsing this forum: No registered users and 205 guests