5

I want to use Automator to change to Qwerty before it opens StarCraft2.

Any suggestions?

4

Have you tried using the default keyboard command to change your input method between Qwerty and Dvorak? By default it's Command-Space.

  • Naw, I want to use Automator to do it, cause I want to switch to qwerty and open StarCraft all in one shortcut key... I would vote down this answer if I had my stackOverflow reputation. – NullVoxPopuli Aug 8 '10 at 21:50
  • 2
    @DerNalia wow that's pretty harsh, especially since it's trivial to use Automator to automatically hit the command-space shortcut. – ghoppe Aug 9 '10 at 17:49
  • fair enough. didn't know I could do that. thanks for the idea. – NullVoxPopuli Aug 9 '10 at 22:18
  • I think a downvote for an answer which merely misunderstands your intentions would be uncalled for... – Shinrai Aug 9 '10 at 22:25
  • yeah, I upvoted =) – NullVoxPopuli Aug 10 '10 at 2:09
5

Applescript to hit the default shortcut to switch keyboard layouts. (See the Keyboard Shortcuts tab of your Keyboard preference pane to ensure it's enabled and modify shortcut as necessary.)

tell application "System Events"
   keystroke " " using {command down}
end tell

Add the run AppleScript to your automator, and then the Launch Application.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.