Prevent Hotstring Expanding when Type Hotstring + Number + EndChar

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
GavinPen
Posts: 25
Joined: 24 Oct 2017, 16:49
Contact:

Prevent Hotstring Expanding when Type Hotstring + Number + EndChar

30 Jan 2019, 05:09

I'd like to prevent my hotstrings expanding when I type the hotstring, then a number, then an EndChar

eg one of my hotstrings is:
::gt::get
However, when I type 'gt1' then a space, the expansion is triggered, and gt1 is overwritten by 'get' (actually by 'gget').

Is there any way to avoid this?
GEV
Posts: 1002
Joined: 25 Feb 2014, 00:50

Re: Prevent Hotstring Expanding when Type Hotstring + Number + EndChar

30 Jan 2019, 05:21

GavinPen wrote:
30 Jan 2019, 05:09
::gt::get
when I type 'gt1' then a space, the expansion is triggered, and gt1 is overwritten by 'get' (actually by 'gget').
This is not the normal behavior (try it in a stand-alone script). Something else is wrong in your script.
GavinPen
Posts: 25
Joined: 24 Oct 2017, 16:49
Contact:

Re: Prevent Hotstring Expanding when Type Hotstring + Number + EndChar

30 Jan 2019, 05:37

Oh, you're right - it does work in a standalone script.
I'll have to do some digging ...

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: cjsmile999, Google [Bot] and 343 guests