• 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: Sat, 25 Sep 2004 17:27:30 -0500


On Sep 25, 2004, at 7:53 AM, Paul Berkowitz wrote:

On 9/24/04 6:27 PM, "Joseph Weaks" <email@hidden> wrote:
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"

 It works just fine here. To be certain. use parentheses:

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

But it works here (OS 10.3.5) even without them.

No, it doesn't work OMM, with or without the ()'s. I'm running 10.3.5 as well. Emmanuel subtly explained it... adding "get" into the script text makes it work:


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

Are you sure you got it to work without the get, Paul? I do a fair amount of script object mess to get at dynamically named variables.

Joe


_______________________________________________ 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>
References: 
 >Re: Picking data from a record (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Really, really simple solution to Terminal window issue...
  • Next by Date: Re: Picking data from a record
  • Previous by thread: Re: Picking data from a record
  • Next by thread: Re: Picking data from a record
  • Index(es):
    • Date
    • Thread