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.

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

Any suggestions?

share|improve this question
    
See also superuser.com/questions/157229/… –  user31752 Sep 16 '10 at 2:12
add comment

2 Answers

up vote 4 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.

share|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. –  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
add comment

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.

share|improve this answer
add comment

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.