• 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: list folder and list disks deprecated?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: list folder and list disks deprecated?


  • Subject: Re: list folder and list disks deprecated?
  • From: Philip Aker <email@hidden>
  • Date: Tue, 28 Oct 2008 03:09:51 -0700

On 2008-10-28, at 00:32:52, André Berg wrote:

without having to use a rather costly boolean test specifier like

tell application "System Events" to get the name of every disk item of alias "Macintosh HD:" whose name does not contain "."

I think you might want to use this form:

tell application "System Events" to get name of every disk item of startup disk whose visible is true

But yes, sometimes System Events is both costly and ugly :-(


Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@

Democracy: Two wolves and a sheep voting on lunch.

 _______________________________________________
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

  • Follow-Ups:
    • Re: list folder and list disks deprecated?
      • From: André Berg <email@hidden>
References: 
 >list folder and list disks deprecated? (From: André Berg <email@hidden>)

  • Prev by Date: Re: list folder and list disks deprecated?
  • Next by Date: Re: list folder and list disks deprecated?
  • Previous by thread: Re: list folder and list disks deprecated?
  • Next by thread: Re: list folder and list disks deprecated?
  • Index(es):
    • Date
    • Thread