• 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: Volume index bug in Panther?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Volume index bug in Panther?


  • Subject: Re: Volume index bug in Panther?
  • From: Bill Briggs <email@hidden>
  • Date: Thu, 6 Nov 2003 21:32:45 -0400

At 5:49 PM -0500 06/11/03, Paul Skinner wrote:
The Finder's Disks don't have an 'Index' property in Panther. I get 'Can't continue' errors trying to run...

Oh, but they do! You have to look up the property inheritance chain. Disk inherits the "container" properties, which inherit "item" properties, and item has an index. So disk has an index too.

if you run

tell application "Finder"
get the properties of every disk
end tell

which does run and work, or did just now, then you get a list of records containing the properties of each disk. You'll note that the index is one of those properties.

The thing that I don't get is that I ran the query for "index of every disk" last night and it returned a list of index numbers. Wrong ones, but a list nonetheless. Now I get the same error that you and Deivy get. The guy who verified to me off-list today ran the same query on his Mac and it worked for him too. If he's reading this maybe he can see if it still runs without error on his Panther.


tell application "Finder"
get the index of every disk
end tell

but ...

tell application "Finder"
tell disk 1
name
-->"titan"
index
-->2
end tell
end tell

Does seem a bit off.

Indeed.

- web
_______________________________________________
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: Volume index bug in Panther?
      • From: "John W. Baxter" <email@hidden>
    • Re: Volume index bug in Panther?
      • From: Paul Skinner <email@hidden>
References: 
 >Script Editor - Feature Request (From: David Hoerl <email@hidden>)
 >Volume index bug in Panther? (From: Bill Briggs <email@hidden>)
 >Re: Volume index bug in Panther? (From: Paul Skinner <email@hidden>)

  • Prev by Date: Re: Volume index bug in Panther?
  • Next by Date: Bug (?) with 'open for access' in Panther
  • Previous by thread: Re: Volume index bug in Panther?
  • Next by thread: Re: Volume index bug in Panther?
  • Index(es):
    • Date
    • Thread