Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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