title: Using Applescript to Execute a Complicated Keystroke
body: <p>I'm trying to write an Applescript in Automator that will press the left arrow button while holding down control, option, and command.  The code I have so far is:</p>
  
  <pre><code>on run {input, parameters}
  
      tell application "System Events"
          tell application "Sublime Text 2" to activate
          keystroke "left" using {control down, option down, command down}
      end tell
  
      return input
  end run
  </code></pre>
  
  <p>However, this is not working. Any suggestions as to how to fix this code?
  Thanks!</p>