• 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: Paul Skinner <email@hidden>
  • Date: Thu, 6 Nov 2003 17:49:04 -0500

The Finder's Disks don't have an 'Index' property in Panther. I get 'Can't continue' errors trying to run...

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.

PS

On Nov 6, 2003, at 10:29 AM, Bill Briggs wrote:

Odd indexing error with mounted volumes in Panther. Can anyone else with Panther and more than one volume verify the behaviour?

Here's what happens. Running this...

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

--> {2,3,4}

however, running this

tell application "Finder"
get the name of disk 4
end tell

--> error

but

tell application "Finder"
get the name of disk 1
end tell

--> "OS X"

Looks to me like a bug. When booted into OS 9 the disk ids and names match up properly. The id is gone as a disk property in X.

- 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.
_______________________________________________
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: Bill Briggs <email@hidden>
References: 
 >Script Editor - Feature Request (From: David Hoerl <email@hidden>)
 >Volume index bug in Panther? (From: Bill Briggs <email@hidden>)

  • Prev by Date: Re: illustrator-scripting, again ...
  • Next by Date: Dialing Modem in X
  • Previous by thread: Re: Volume index bug in Panther?
  • Next by thread: Re: Volume index bug in Panther?
  • Index(es):
    • Date
    • Thread