Add a command to add hotstrings (analogy to hotkey command) Topic is solved

Propose new features and changes
-_+
Posts: 70
Joined: 06 Dec 2014, 12:43

Add a command to add hotstrings (analogy to hotkey command)

Post by -_+ » 16 Apr 2015, 14:29

Would be handy to have a Hotstring command that would work as Hotkey command, but for hotstrings.
User avatar
TheDewd
Posts: 1084
Joined: 19 Dec 2013, 11:16
Location: USA

Re: Add a command to add hotstrings (analogy to hotkey command)

Post by TheDewd » 27 May 2015, 09:01

Do you mean you want to type a hotstring and have it perform an action?

Code: Select all

:*:btw::
	GoSub, Action1
Return

:*:hello::
	GoSub, Action2
Return

Action1:
	MsgBox, by the way
Return

Action2:
	Run, mspaint.exe
Return
Image Bulldozer - Sokoban inspired game from 1994 recreated in AutoHotkey.
guest3456
Posts: 2418
Joined: 09 Oct 2013, 10:31

Re: Add a command to add hotstrings (analogy to hotkey command)

Post by guest3456 » 27 May 2015, 10:21

i think he means he wants the ability to turn on/off hotstrings at certain times in his script. may want to look at some of the dynamic hotsring user defined functions for that

-_+
Posts: 70
Joined: 06 Dec 2014, 12:43

Re: Add a command to add hotstrings (analogy to hotkey command)

Post by -_+ » 02 Jun 2015, 12:30

TheDewd, no, guest3456 was right about what I meant: there is Hotkey, %yourhotkey%, toggle and no similar Hotstring, %yourhotstring%, toggle.
lexikos
Posts: 6170
Joined: 30 Sep 2013, 04:07
GitHub: Lexikos

Re: Add a command to add hotstrings (analogy to hotkey command)  Topic is solved

Post by lexikos » 01 Apr 2018, 01:36

This was added in v1.1.28.00, though as a function, not a command.
Post Reply

Return to “Wish List”