3

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?

1 Answers1

2

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.

ghoppe
  • 6,558
  • 25
  • 21