Re: filtering a list of items with Finder
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 18:17:14 +0900 Gakuji Ohtori wrote:
>
On 2002.10.27, at 04:52 PM, Andy Wylie wrote:
>
>
>>> desktop's items whose name is not in ((disks's name as list) &
>
>>> trash's
>
>>> name)
>
>>
>
>> It works in most cases, but there may be a file or folder on the
>
>> desktop that has the same name with one of the disks.
>
>>
>
> substitute id for name
>
>
Finder reports an error when I try to access the id property of an
>
item. I checked Finder's dictionary, but id was not in the property
>
list for Finder items. The id property seems to be discontinued.
>
just when I found a use for it :)
>
In this case, the index property can probably be substitued for the
>
name property.
desktop's items whose index is not in (disks's index & trash's index)
works under 8.6
>
>
>> In OS X 10.2, every item seems to have no value in the description
>
>> property.
>
>
>
> write your own?
>
>
For example,
>
>
tell application "Finder" to get description of item 1 in desktop
>
>
returns
>
>
missing value
>
>
and the returned value is the same for other items.
>
interesting, I wonder if they intend to use it again. I guess this info was
gleaned from the desktop DB in classic.
_____________________________ 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.