• 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(?) strikes again
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Leopard(?) strikes again
      • From: Kurt Klamp <email@hidden>
References: 
 >Leopard(?) strikes again (From: Robert Poland <email@hidden>)
 >Re: Leopard(?) strikes again (From: Rob Stott <email@hidden>)
 >Re: Leopard(?) strikes again (From: Kurt Klamp <email@hidden>)

  • Prev by Date: Is this the correct list to ask for Leopard Scripting Bridge questions?
  • Next by Date: Re: Is this the correct list to ask for Leopard Scripting Bridge questions?
  • Previous by thread: Re: Leopard(?) strikes again
  • Next by thread: Re: Leopard(?) strikes again
  • Index(es):
    • Date
    • Thread