folder action
folder action
- Subject: folder action
- From: David DuBois <email@hidden>
- Date: Fri, 3 Oct 2003 14:28:39 -0500 (GMT-05:00)
I am trying to write a folder actioin to look at the name of an incoming folder and then sort that folder into various subfolders based on the first two characters of the incoming folder name. What I have (and doesn't work) is:
on adding folder items to this_folder after receiving added_items
tell application "Finder"
repeat with this_item in added_items
set Foldername to added_items as text
if Foldername starts with "AZ" then
--move folder to new location
end if
end repeat
end tell
end adding folder items to
Can anyone spot what I've done wrong?
Thanks,
David DuBois
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.