Add field content to a script

RevList RevList at CreaTECHSol.com
Sun Jul 6 14:21:15 EDT 2008


I have a field called ItemPath on a card that displays the path to a
particular card or control in another stack

For example in one instance, the field is displaying.
button id 1016 of card id 1002 of stack "/Users/slynch/Desktop/Sample
Stack.rev"

Now I want to be able to display the script of that item in another field.

Essentially, I want to do is create the following script and use the
literal information in my ItemPath field as part of my script

Put the script of button id 1016 of card id 1002 of stack
"/Users/slynch/Desktop/Sample Stack.rev" into fld "Script"

How can I do that?

Stewart

--------------------------------------------------------------------------------------------------------------------
Notice of Confidentiality:
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review re-transmission dissemination or other use of or
taking of any action in reliance upon this information by persons or
entities other than the intended recipient is prohibited.  If you received
this in error please contact the sender immediately by return electronic
transmission and then immediately delete this transmission including all
attachments without copying distributing or disclosing same.
--------------------------------------------------------------------------------------------------------------------




More information about the use-livecode mailing list