我是applecript和automator的新手。我已经在苹果探索了不同的主题但却无法找到有用的东西。 好吧我的问题是我有一个文件夹,即“工作”,我已经应用了文件夹操作。在“工作”创建新文件夹,即“abc”时,我想在“abc”中创建三个新文件夹。看看我的代码
on adding folder items to this_folder after receiving added_items
tell application Finder
repeat with this_item in added_items
make new folder at this_item with properties {name:"Main"}
make new folder at this_item with properties {name:"Lower"}
make new folder at this_item with properties {name:"Upper"}
end repeat
end tell
end adding folder items to
答案 0 :(得分:1)
...几乎
Finder
必须是双引号
tell application "Finder"