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

I want to remap "<" key in Autohotkey. But "<" symbol is a modifier symbol. Therefore Autohotkey doesn't remap it like a normal key:

CapsLock & <::Send {`&}

How to escape a modifier symbol in order to remap that key?

share|improve this question

By default in AutoHotkey it is the grave accent/backtick character `

You can set it to be any other character in your script, if you prefer. Full details here: http://www.autohotkey.com/docs/commands/_EscapeChar.htm

Edit:

Actually, I think you have something else going on here. < is not a modifier -- at least not in this context. I just tried this and it worked fine for me:

CAPSLOCK & <::Msgbox,it works!
share|improve this answer
    
Thanks for help. This is very weird. – Mert Nuhoglu Jul 10 '10 at 9:44
    
:*:\pw::xZy8p::13m ;where the colons in the password are escaped – zzapper Feb 7 '14 at 14:27

I guess, using different keyboard layouts might cause compatibility problems. so i suggest using SC56 (instead of <).

CapsLock & SC56::
share|improve this answer

You must log in to answer this question.

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