【问题标题】:Keystroke command to Show All Bookmarks in Safari not working在 Safari 中显示所有书签的击键命令不起作用
【发布时间】:2010-10-20 04:30:15
【问题描述】:

我正在尝试一个简单的按键命令来显示 Safari 5.0.2 中的所有书签,但它不起作用 -

tell application "Safari" to activate
tell application "System Events"
    keystroke "B" using {option down, command down}
end tell
end

谁能建议我哪里可能错了?

谢谢,

米拉杰

【问题讨论】:

    标签: applescript keystroke


    【解决方案1】:

    尝试一下'b':

    tell application "Safari" to activate
    tell application "System Events"
        keystroke "b" using {option down, command down}
    end tell
    

    大 B 转换为 Shift+B

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-02-29
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-04-12
      • 1970-01-01
      相关资源
      最近更新 更多