【发布时间】:2013-09-18 18:27:23
【问题描述】:
有人能指出为什么这部分 Applescript 不起作用吗?谢谢!
on open droppedItems
tell application "Finder"
set inputFolder to (container of first item of droppedItems) as Unicode text
if (exists folder ("converted") of inputFolder) then
set outputFolder to (inputFolder & "/converted/") as text
else
make new folder at inputFolder with properties {name:"converted"}
set outputFolder to the result as text
end if
end tell
end
【问题讨论】:
-
脚本编辑器的日志中有消息吗?
-
我在日志中没有看到任何消息。
标签: applescript directory exists automator