【发布时间】:2015-03-02 13:17:13
【问题描述】:
好吧,也许我很愚蠢,但为什么会这样? 这是我的代码
set openedFile to (choose file with prompt "Select a file to read:" of type {"PNG"})
tell application "Finder"
set parentFolder to POSIX path of (parent of openedFile as text)
set icFolder to make new folder at parentFolder with properties {name:"resized imgs"}
end tell
当我尝试运行它并选择一个文件时,我得到了这个:
error "Finder 出错:AppleEvent 处理程序失败。"数量 -10000 怎么了?
【问题讨论】:
标签: applescript