當我使用雪豹,我創建我的AppleScript時,多次使用以下模式:AppleScript的,POSIX文件名和山獅
on run args
set filePath to POSIX file (item 1 of args) as alias
...
end run
升級到山獅後,上面的腳本似乎產生一個警告,但:
2012-08-10 15:12:12.305 osascript[54131:303]
CFURLGetFSRef was passed this URL which has no scheme
(the URL may not work with other CFURL routines): path/to/input/file.ext
任何人都可以啓發的錯誤的含義?
雪豹會抱怨前綴嗎?由於我切換到ML,因此無法再測試它。 – 2012-08-10 13:28:46
另外,這似乎並不適合我,但我可能在錯誤的方式前綴。你能舉個例子嗎? – 2012-08-10 13:42:44
我希望我的編輯幫助。 – chmeee 2012-08-10 14:49:14