Cannot display trigger character

Get help with using AutoHotkey and its commands and hotkeys
geoffh
Posts: 28
Joined: 25 Mar 2014, 10:01
Facebook: [email protected]

Cannot display trigger character

Post by geoffh » 11 Jan 2021, 07:36

Hi,

I have been using AutoHotKey for generating text using a "#" key suffix.

For instance #p will generate my Postcode; #t my telephone number; #e my email address etc.

However, I now wish to have a hotkey which will display a "#"
e.g. I'd like #g to generate #Look at this#

However, when I hit #g, I merely get Look at this

i.e. without the hash characters

Any help achieving this would be much appreciated.

I realise I could merely change the trigger character but the hash is particularly useful for my requirements.

Best Regards.

Geoff H.

BoBo
Posts: 4355
Joined: 13 May 2014, 17:15

Re: Cannot display trigger character

Post by BoBo » 11 Jan 2021, 07:39

{#}Look @ this{#} :?:

User avatar
Hellbent
Posts: 1191
Joined: 23 Sep 2017, 13:34

Re: Cannot display trigger character

Post by Hellbent » 11 Jan 2021, 07:46

Code: Select all

#g::SendRaw, #Look at this#


?

Post Reply

Return to “Ask For Help”