Page 1 of 1

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

Posted: 16 Apr 2015, 14:29
by -_+
Would be handy to have a Hotstring command that would work as Hotkey command, but for hotstrings.

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

Posted: 27 May 2015, 09:01
by TheDewd
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

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

Posted: 27 May 2015, 10:21
by guest3456
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

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

Posted: 02 Jun 2015, 12:30
by -_+
TheDewd, no, guest3456 was right about what I meant: there is Hotkey, %yourhotkey%, toggle and no similar Hotstring, %yourhotstring%, toggle.

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

Posted: 01 Apr 2018, 01:36
by lexikos
This was added in v1.1.28.00, though as a function, not a command.