• 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: filtering a list of items with Finder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: filtering a list of items with Finder


  • Subject: Re: filtering a list of items with Finder
  • From: Andy Wylie <email@hidden>
  • Date: Mon, 28 Oct 2002 10:33:20 +1300

on Sun, 27 Oct 2002 17:08:08 +0000 has wrote:

>OS9.2.2/AS1.6 and OS10.1.5/AS1.8.2 also screw up. Use:
>
> get items of desktop whose kind is (get kind of startup disk)
> get items of desktop whose kind is not (get kind of startup disk)
>
>It appears that 'kind of startup disk' needs fully evaluated to work here -
>since AS/Finder isn't doing this itself (though why not is beyond me),

Finder's folder class and it's references have always been a headache,
surely you're not surprised.

> an explicit 'get' is required.

or 'whose kind is not "disk"' or as string. I suspect Gaji wants files and
folders and I don't think you'll have any success filtering out trash with
kind.

_____________________________ 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.

  • Prev by Date: Re: illustrator-10-scripting: removing things
  • Next by Date: Re: filtering a list of items with Finder
  • Previous by thread: Re: filtering a list of items with Finder
  • Next by thread: Re: filtering a list of items with Finder
  • Index(es):
    • Date
    • Thread