2012-03-02 132 views

回答

1

謝謝Sylter!下面的最終腳本將打開任何通過的Safari瀏覽器

on run argv 
tell application "Safari" 
     make new document with properties {URL: item 1 of argv} 
end tell 
end run 
+0

優秀。感謝分享! – Sylter 2012-03-03 12:56:53

+0

如果您不需要創建一個新窗口,請嘗試「告訴應用程序」Safari「打開位置」http:// ...「 – Palimondo 2017-09-03 22:00:12