Re: Picking data from a record
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