• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Storing script objects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Storing script objects (From: John MacDonald <email@hidden>)

  • Prev by Date: load script w/ 9.1
  • Next by Date: OS 9.1 & RA Status
  • Previous by thread: Storing script objects
  • Next by thread: Re: Storing script objects
  • Index(es):
    • Date
    • Thread