• 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: Picking data from a record
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Picking data from a record


  • Subject: Re: Picking data from a record
  • From: Joseph Weaks <email@hidden>
  • Date: Fri, 24 Sep 2004 20:27:18 -0500

On Sep 24, 2004, at 12:05 PM, Joseph Weaks wrote:
It just takes creative use of the run script command to turn text into an object.

set testRecord to {h:"Height", w:"Width"}
set sampleData1 to {1, "h", 2}
set testThis to item 2 of sampleData1

Incidentally, I have no idea why this line works:

set finalResult to run script "set tempRecord to parent's testRecord
" & testThis & " of tempRecord"

but this line does not work:

set finalResult to run script testThis & " of parent's testRecord"

I'm sure it's overlooking something. Anyone feel free to explain it to me.

Joe Weaks
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Picking data from a record
      • From: Paul Berkowitz <email@hidden>
    • Re: Picking data from a record
      • From: Emmanuel <email@hidden>
References: 
 >Picking data from a record (From: John Fountain <email@hidden>)
 >Re: Picking data from a record (From: Joseph Weaks <email@hidden>)

  • Prev by Date: Re: GraphicConverter scripting help
  • Next by Date: Re: keystroke using ... { } ... in PowerMail
  • Previous by thread: Re: Picking data from a record
  • Next by thread: Re: Picking data from a record
  • Index(es):
    • Date
    • Thread