Re: list folder and list disks deprecated?
Re: list folder and list disks deprecated?
- Subject: Re: list folder and list disks deprecated?
- From: André Berg <email@hidden>
- Date: Tue, 28 Oct 2008 13:21:48 +0100
Hi Yvan and Philip,
Thank you very much to you both for your improvements to my
example code.
It just seems odd a command is replaced with a less efficient one with
more clumsy syntax.
Personally i'd like to use the depracated commands as long as I possibly
can. I was hoping someone heard something thru the grapevine as to
when and why these will definately not be available any longer...
André
--- Original Nachricht ---
Absender: Philip Aker
Datum: 28.10.2008 11:09 Uhr
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 :-(
|
_______________________________________________
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