Space (s) at end of replacement text

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
AlbrechtMehl
Posts: 7
Joined: 28 Nov 2015, 04:41

Space (s) at end of replacement text

10 Dec 2015, 05:58

Normally the cursor stands after a triggered replacement directly behind the replacement text:

replacementtextC

Sometimes I want one space, sometimes several spaces, between the end of the replacement text and the position of the cursor:

replacementtext_C or even replacementtext_______C

where _ signifies space.

As I could not find this in the help I would be glad to get a tip.
By the way: where in the help are things like these explained?

Many thanks in advance

Albrecht
slur
Posts: 10
Joined: 13 Jun 2014, 07:05

Re: Space (s) at end of replacement text

10 Dec 2015, 08:32

Assuming what you mean is hotstring auto replace

Code: Select all

::btw1::
SendInput, % "by the way    "
return

::btw2::
SendInput, by the way%A_Space%%A_Space%%A_Space%%A_Space%
return

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], oktavimark and 373 guests