Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

All of these autohotkey entries work fine:

:r0*:uuu::[url=][/url]{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}

:r0*:hhh::[h][/h]{LEFT}{LEFT}{LEFT}{LEFT}

:r0*:iii::[i][/i]{LEFT}{LEFT}{LEFT}{LEFT}

:r0*:bbb::[b][/b]{LEFT}{LEFT}{LEFT}{LEFT}

But this one does not work, apparently because of a conflict with the "::" that I am trying to output:

:r0*:shh::qdev::show();{LEFT}{LEFT}

since this works with only one colon:

:r0*:shh::qdev:show();{LEFT}{LEFT}

But how can I e.g. escape the colons so that I can have a double colon in the output?

share|improve this question
up vote 3 down vote accepted

You can use a backtick to escape the double colon:

:r0*:shh::qdev`::show();{LEFT}{LEFT}

You can change the escape character:

#EscapeChar \  ; Change it to be backslash instead of the default of accent (`).
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .