Re: i want to delete all files and folders that are unlabeled
Re: i want to delete all files and folders that are unlabeled
- Subject: Re: i want to delete all files and folders that are unlabeled
- From: Michelle Steiner <email@hidden>
- Date: Mon, 6 Aug 2007 09:01:24 -0700
On Aug 6, 2007, at 8:39 AM, <email@hidden>
<email@hidden> wrote:
(*The first handler is the "on open" handler that runs when you drop
the top folder
on the Neutron Bomb script droplet. The critical thing to recall in
the
"on open" handler is that it doesn't return a reference to the item
you
drop on it, but it returns a LIST of references to the item or items
you d ropped on it. In this case, we will only be dropping a single
folder on it -- the one at the top of our folder hierarchy -- so
*)
A little-known trick is to use curly braces in the on-open line; it
will then pass only the first item dropped, instead of a list; for
example:
on open {TheFolder}
-- Michelle
--
America: A nation of people avoiding moderation like it's the plague.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden