按键命令在Safari中显示所有书签不起作用

时间:2010-10-20 04:30:15

标签: applescript keystroke

我正在尝试使用简单的击键命令在Safari 5.0.2中显示所有书签,但它无效 -

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

有人可以建议我在哪里错吗?

谢谢,

Miraaj

1 个答案:

答案 0 :(得分:3)

尝试一点'b':

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

大B转换为 Shift + B