• 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
Re: What type is the finder selection?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: What type is the finder selection?
      • From: Doug McNutt <email@hidden>
  • Prev by Date: Desktop printer files are really folders
  • Next by Date: Re: Count files
  • Previous by thread: RE: Virtual Printer spooler
  • Next by thread: Re: What type is the finder selection?
  • Index(es):
    • Date
    • Thread