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 have a problem have a keystorke set in autohotkey, but teh problem is that one program running on background consumes that keystroke and autohotkey action doenn't trigger at all. I need autohotkey to consume that keystorke first and don't let it get away so other application doesn't notice it ever happened.


send {up}

This works just fine without background program running (Taskbar Eliminator)

share|improve this question
Can you add (using the edit link) the snippet you're using? – yhw42 May 31 '11 at 14:58
2 - what makes you think that application wouldn't do the same thing? You can't both be unstoppable forces. FWIW, in this case, the last application to register that hotkey should take control of it, so either remap the hotkey in one of the applications or figure out how to get your autohotkey script to load last. – Phoshi May 31 '11 at 15:11
Just running autohotkey last should do it I think (assuming it registers the hotkey on startup of the program). – soandos May 31 '11 at 15:22
up vote 1 down vote accepted

Try putting a '$' in front of your hotkey. Like this:

send {up}

Otherwise to make your script be the last to register the hotkey, you can make it restart after a few seconds like this:

Sleep, 5000 ; 5 secs
share|improve this answer

You must log in to answer this question.

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