• 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: Deivy Petrescu <email@hidden>
  • Date: Fri, 7 Nov 2003 18:05:21 -0500

On Nov 7, 2003, at 5:02 PM, John W. Baxter wrote:


From this:
set ans to {}
tell application "Finder"
set x to (get the properties of every disk)
repeat with ix in x
set end of ans to {name of ix, index of ix}
end repeat
end tell
ans

I get this:
--> {{"Blake", 2}, {"Vashon", 3}, {"Network", missing value}}

When I then mount a handy disk image which was lying on the desktop, I get
--> {{"Blake", 2}, {"Vashon", 3}, {"Network", missing value}, {"Calendar X
v10.2 (Preview 2A80)", 4}}


From which I get the impression that disk index 1 has probably existed and
gone away as part of the startup or login process. (More likely login.) On
my machine the volumes Blake and Vashon are partitions on the startup
spindle.


From this:
set ans to {}
tell application "Finder"
set x to (get the properties of every disk)
repeat with ix in x
set end of ans to {name of ix, index of ix}
end repeat
set k to get name of disk 1
end tell
ans & k

-->{{"SantosFC", 2}, {"Network", missing value}, "SantosFC"}

I infer that indeed it is a bug.

By the way, did I say Santos FC is my Football team?
It is currently in second place in the Brazilian championship, but hope is the is the last thing to vanish.
I thought you all would be curious, just that... :)

Regards

Deivy Petrescu
http://www.dicas.com/
_______________________________________________
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.

References: 
 >Re: Volume index bug in Panther? (From: "John W. Baxter" <email@hidden>)

  • Prev by Date: Re: Panther: AppleScript 1.9.2 Release Notes
  • Next by Date: applescript-users digest, Vol 3 #2139 - 17 msgs ( -Reply)
  • Previous by thread: Re: Volume index bug in Panther?
  • Next by thread: Re: Volume index bug in Panther?
  • Index(es):
    • Date
    • Thread