Re: Variable names on the fly?
Re: Variable names on the fly?
- Subject: Re: Variable names on the fly?
- From: Paul Berkowitz <email@hidden>
- Date: Mon, 15 Jan 2001 21:47:57 -0800
On 1/15/01 9:29 PM, "Richard 23" <email@hidden> wrote:
>
-- ----------------------------------------------
>
-- get property from script or record (by R23)
>
-- ----------------------------------------------
>
on GetProp(theObj, theProp)
>
tell (run script "me
>
on f(theObj)
>
return theObj's " & theProp & "
>
end f") to return f(theObj)
>
end GetProp
>
-- ---------------------------------------------------------
And that's very clever. I thought probably you could do it.
--
Paul Berkowitz