5

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

Any suggestions?

Chealion
  • 25,777
  • See also http://superuser.com/questions/157229/application-specific-default-keyboard-layout-in-mac-os-x/185422#185422 –  Sep 16 '10 at 02:12

2 Answers2

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.

ghoppe
  • 6,508
  • 23
  • 21
4

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

Chealion
  • 25,777