Re: Storing script objects
Re: Storing script objects
- Subject: Re: Storing script objects
- From: Paul Berkowitz <email@hidden>
- Date: Thu, 11 Jan 2001 08:08:03 -0800
On 1/11/01 2:50 AM, "John MacDonald" <email@hidden> wrote:
>
When I change properties of the script they don't get written. For example:
>
--------
>
script x
>
property y : {}
>
end script
>
>
set x's y to {1, 2, 3}
>
store script x in ((path to desktop) as text) & "script file" with replacing
>
------
>
>
When I read the file, property y is set to the original {}.
store script x in alias (((path to desktop) as text) & "script file") with
replacing
It's stored in the actual file (alias), not it its path name.
--
Paul Berkowitz