• 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: Emmanuel <email@hidden>
  • Date: Thu, 11 Jan 2001 19:13:38 +0100

At 11:50 +0100 11/01/01, John MacDonald wrote:
>--------
>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 {}.

You mean, when you open the file and read the source. But do read the
script out of the file, and see, it works:

----------------------
set x to load script ((path to desktop) as text) & "script file"
y of x
-- {1, 2, 3}
----------------------

HTH
Emmanuel


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

  • Prev by Date: Re: FileMaker Scripts Won't Compile
  • Next by Date: Re: Highlights of AppleScript 1.5.5 in Mac OS 9.1
  • Previous by thread: Re: Storing script objects
  • Next by thread: re: Storing script objects
  • Index(es):
    • Date
    • Thread