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.

Is there a way in AutoHotKey to activate a window by name? This is the action order I'm hoping for:

  1. You press a key combination
  2. A text queue appears and you type out a name
  3. As soon as a unique closest match is determined, the window is activated
share|improve this question
    
Can you advise is this for Linux, osx, windows? –  50-3 Sep 6 '13 at 0:14
    
@50-3 - autohotkey works only in windows. –  jaychris Sep 6 '13 at 1:53

1 Answer 1

Keeping it very simple.

^+t::
  InputBox wname
  WinActivate %wname%
  return
share|improve this answer
    
Please explain what your code does, and provide a little more information on how this solves the OP's problem. Your code may in fact be correct, but the value of your answer will be much higher if you tell us more about it. –  allquixotic Sep 6 '13 at 3:39
    
It's not that hard to guess. I've never seen any autohotkey code before but I can guess what it all means. –  Chipperyman Sep 6 '13 at 4:28
    
@somequixotic: I agree with chipperyman573. It is self explanatory. InputBox is to input the name, WinActivate is to activate that window. –  jaychris Sep 7 '13 at 19:52

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.