0
我有,當我將文件添加到使用文件夾工作正常的腳本:什麼是移動/刪除文件的AppleScript文件夾操作?
on adding folder items to this_folder after receiving added_items
什麼是當一個文件被移動或從該文件夾中刪除的相同呢?
謝謝!
我有,當我將文件添加到使用文件夾工作正常的腳本:什麼是移動/刪除文件的AppleScript文件夾操作?
on adding folder items to this_folder after receiving added_items
什麼是當一個文件被移動或從該文件夾中刪除的相同呢?
謝謝!
這應該工作:
===編輯來回答評論:
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
這幾乎是我需要的,唯一的事情是,這個返回丟棄的文件名。我需要原始文件的名稱。我將如何做到這一點? – cynicaljoy 2011-02-06 16:20:44