Re: Index list from the Finder
Re: Index list from the Finder
- Subject: Re: Index list from the Finder
- From: Michelle Steiner <email@hidden>
- Date: Wed, 25 Jul 2007 19:24:43 -0700
On Jul 25, 2007, at 6:46 PM, Daniel Brieck Jr. wrote:
set indexList to get the index of every disk -- Getting a
problem here on INDEX and don't know why
For some reason, you have to get the indexes individually. There are
two "disks" that exist ("network" and "servers") that do not have
indexes; they have to be excluded. The only characteristic that I
found that distinguishes them from physical disks and dmg disks is
that they have a size of zero. So, the following script works:
tell application "Finder" to the index of every disk whose size is
greater than 0
-- Michelle
--
Peter pull at St. Taffy's tonight! (Or is it the other way around?)
_______________________________________________
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