Re: Linked variables
Re: Linked variables
- Subject: Re: Linked variables
- From: JJ <email@hidden>
- Date: Wed, 20 Feb 2002 18:58:35 +0100
>
set ls to "N/A"
>
set SizesDialog to {value:ls}
>
set ls to 23
>
SizesDialog
>
result ---> {value:"N/A"}
>
>
Because in the real script SizesDialog is a very big thing (Dialog Director
>
box definition) which includes several ls-es it is not practical to repeat
>
defining it every time ls is changing. Is there any way to have SizesDialog
>
update itself?
>
>
Thanks,
>
Romy
You must update the value you wish preserve (the record "SizesDialog"):
set SizesDialog to {value:20}
set value of SizesDialog to 40
-- or -> set value of SizesDialog to some_variable
SizesDialog
--> {value:40}
JJ
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.