0

How to mask ":" in a first row in AutoHotKey Hotstring? I want to type "colors:" and get "red, violet, blue".

::colors':::
Send, 
(
red, violet, blue
)
return
1

: is an ending character by default. You only have to define

::colors':: ; or/and  
::colors::
Send, 
(
red, violet, blue
)
return

and press : after typing colors' or colors.

  • That answers my question only partly. I realized that when I type "colors:", I get the desired result somehow. But I also get two unnecessary shortcuts I lean to avoid: "colors" and "colors'". – Kosarar Jan 1 at 17:27
  • Then use another character instead of :, e.g. / or <. – user3419297 Jan 2 at 13:11
  • Yes, it works. Well, close enough, I guess. :D – Kosarar Jan 3 at 13:45

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.