• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
folder action
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: Change the Position of an disk icon on the desktop
  • Next by Date: quark
  • Previous by thread: Re: Setting leading in Quark 5
  • Next by thread: Re: folder action
  • Index(es):
    • Date
    • Thread