• 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: Leopard equivalent for getting disk format info
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Leopard equivalent for getting disk format info


  • Subject: Re: Leopard equivalent for getting disk format info
  • From: Axel Luttgens <email@hidden>
  • Date: Sun, 06 Jan 2008 15:32:23 +0100

On 6/01/08 15:01, Boonee wrote:

<Begin script snippet>
tell application "Finder" to set x to the name of every disk whose format is UDF format
<End script snippet>


The above used to return a list of mounted UDF discs under Tiger, but does not return the same info under Leopard.


Strictly speaking, the above should fetch the _names_ of mounted UDF volumes.
This of course assumes there is at least one mounted UDF volume, otherwise "every disk whose..." will return an empty list, and trying to get "name of every disk whose..." then errors.


Now, I don't have UDF disks at hand, so I can't check here with such disks.
But what exactly do you mean with "does not return the same info"?
Does the returned info really differ under Tiger and under Leopard?
Or do you just get an error message (which one?) under Leopard?


What is the proper method for retrieving this info under Leopard?


Perhaps could you try with the twin commands from System Events?
Since Panther, all that disk/folder/file stuff anyway tends to be moved from the Finder to System Events.


HTH,
Axel
_______________________________________________
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
References: 
 >Leopard equivalent for getting disk format info (From: Boonee <email@hidden>)

  • Prev by Date: Re: choose folder on Leopard
  • Next by Date: Re: choose folder on Leopard
  • Previous by thread: Leopard equivalent for getting disk format info
  • Next by thread: Re: Leopard equivalent for getting disk format info
  • Index(es):
    • Date
    • Thread