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 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

1 Answer 1

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

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.