Watched Folder, copy added files to desktop
Watched Folder, copy added files to desktop
- Subject: Watched Folder, copy added files to desktop
- From: "John Futhey" <email@hidden>
- Date: Thu, 01 Feb 2001 12:04:18 -0800
On new items that are added to a file server folder, I am trying to copy
these added files to my desktop immediately. Having not done this for very
long, I am sure there is something elementary I am missing. Thanks for any
tips.
on adding folder items to this_folder after receiving added_items
if copy_checks_indicator is true then
-- CHECK THE FILES TO MAKE SURE THEY"RE COMPLETELY AVAILABLE
set the added_items to my check_added_items(the added_items)
if the added_items is {} then return "no valid items"
end if
end adding folder items to
tell application "Finder"
duplicate the check_added_items to desktop