Re: Leopard(?) strikes again
Re: Leopard(?) strikes again
- Subject: Re: Leopard(?) strikes again
- From: Christopher Nebel <email@hidden>
- Date: Mon, 14 Jan 2008 09:41:12 -0800
On Jan 14, 2008, at 9:16 AM, Kurt Klamp wrote:
Am 14.01.2008 um 14:12 schrieb Rob Stott:
Sadly I'm no wizard, despite a former employer's attempts to make
me dress as one (it's a long story). However...
set x to display dialog "What do you wish to change from?" default
answer ""
display dialog (text returned of x)
or you use
display dialog (x as list)
If you want to have the 'values' of the properties of a record the
'as list' coercion will work.
Bear in mind that while coercing a list to a record is useful as a
quick-and-dirty way to display all the values, you should *never* use
it to get a particular value from the record. The order of the values
is not guaranteed in any way.
--Chris Nebel
AppleScript Engineering
_______________________________________________
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