Re: What type is the finder selection?
Re: What type is the finder selection?
- Subject: Re: What type is the finder selection?
- From: Andy Wylie <email@hidden>
- Date: Tue, 13 Aug 2002 22:29:35 +1200
on Mon, 12 Aug 2002 21:31:40 -0600 Doug McNutt wrote:
>
At 14:01 -0700 8/12/02, Christopher Nebel and Michelle Steiner got me into
looking at class. I appreciate the help. It works so long as one doesn't try
to pick the items out of the list generated with a drag and drop operation
onto an applet.
Sooner or later you're going to discover folders is folders and disks and
trash...
tell app "Finder"
count desktop's folder
end
so you might want to try...
tell app "Finder"
name of desktop's items whose description contains "is a folder"
name of desktop's items whose description contains "hard disk is"
end
_____________________________ Andy
_______________________________________________
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.