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 without me telling it to do anything after I invoke the fist thing.

I have a mac. And an automator service that changes from dvorak to qwerty before starcraft 2 launches... but is there a way to auto change back to dvorak when I exit starcraft 2?

share|improve this question
up vote 2 down vote accepted

The only way I know how to do this is to have an applescript "stay open" in the background and detect the application launch/quit.

I used a technique like this to answer this question about disabling growl while VLC is open. You could adapt it to your situation by detecting if Starcraft is open. When you see it is no longer running, switch the keyboard layout and then quit the applescript.

share|improve this answer

You must log in to answer this question.

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