相关疑难解决方法(0)

Applescript,POSIX文件名和Mountain Lion

当我使用Snow Leopard时,我在创建Applescripts时多次使用以下模式:

on run args
    set filePath to POSIX file (item 1 of args) as alias
        ...
end run
Run Code Online (Sandbox Code Playgroud)

升级到Mountain Lion后,上面的脚本似乎会产生警告:

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
Run Code Online (Sandbox Code Playgroud)

任何人都可以启发错误的含义吗?

applescript posix

3
推荐指数
1
解决办法
1461
查看次数

标签 统计

applescript ×1

posix ×1