我正在尝试在 Automator 中编写一个 Applescript,它会在按住控件、选项和命令的同时按下左箭头按钮。我到目前为止的代码是:
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
但是,这是行不通的。关于如何修复此代码的任何建议?谢谢!