0
我試圖打開使用Safari與下面的腳本本地HTML:AppleScript的打開本地的HTML文件的Safari
on run
set myPath to (path to me) as text
set myFolderPath to POSIX file (do shell script "dirname " & POSIX path of quoted form of myPath) & ":" as string
set _thispath to myFolderPath & "data:Default.html"
tell application "Safari"
activate
open (_thispath)
end tell
運行結束
但是,該文件正在試圖與apendix打開的文件:///(一個額外的斜線) 任何人有任何解決方案?
您的HTML是着火。 – TheZ 2012-07-11 17:18:28