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

Any suggestions?

link|improve this question

See also superuser.com/questions/157229/… – mankoff Sep 16 '10 at 2:12
feedback

2 Answers

up vote 3 down vote accepted

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

link|improve this answer
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. – DerNalia 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. – DerNalia 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 =) – DerNalia Aug 10 '10 at 2:09
feedback

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.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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