Re: Persistence of Properties
Re: Persistence of Properties
- Subject: Re: Persistence of Properties
- From: JollyRoger <email@hidden>
- Date: Wed, 17 Oct 2001 06:08:43 -0500
On 10/16/2001 6:31 AM, "Jason W. Bruce" <email@hidden> wrote:
>
Your script below isn't working because you are using the Finder to make a
>
new file as opposed to Script Editor. Remember, also, that store script is
>
a scripting addition, and therefore requires a strict path name as its
>
parameter -- alias "Hard drive:desktop folder:foo" -- as opposed to file
>
"foo" of desktop -- which is Finder syntax.
>
>
The load script technique is also useful when you need to avoid recompiling
>
scripts which use raw syntax -- as with, for example, custom fields in the
>
Palm Desktop. You can define a separate script file which contains handlers
>
defined using raw syntax. You can then load these scripts into your main
>
script and use their handlers without worrying about losing the raw syntax
>
upon a recompile in your main script.
All of this is true; however, the method I mentioned is much faster and less
problematic for storing property data in a preferences file. The caveat is
that you must have Akua Sweets (a scripting addition no scripter should be
without anyway, if you ask me. ;)
JR