2013-12-13 34 views

回答

1

Firefox的Applescript支持似乎並不存在。

使用系統事件和擊鍵嘗試此解決方法。

tell application "Firefox" 
    activate 
    set the clipboard to "http://www.yubnub.org" 
    tell application "System Events" 
     keystroke "l" using {command down} 
     keystroke "v" using {command down} 
     key code 36 -- return key 
    end tell 
end tell 
+0

謝謝。它的工作,這正是我想要做的。 – Elias

相關問題