我使用以下命令将文件添加到文件夹时,脚本运行正常:
on adding folder items to this_folder after receiving added_items
从该文件夹中移动或删除文件时的等效项是什么?
谢谢!
答案 0 :(得分:2)
这应该有效:
===编辑回答评论:
on removing folder items from this_folder after losing lost_items
repeat with i from 1 to number of items in lost_items
set nameOfLostFile to name of (info for item i of lost_items)
end repeat
end removing folder items from