• 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: Persistence of Properties
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: Persistance of Properties (From: "Jason W. Bruce" <email@hidden>)

  • Prev by Date: Re: Max size of a script?
  • Next by Date: Re: Dissatisfied with Display Dialog command
  • Previous by thread: Re: Persistance of Properties
  • Next by thread: ANNOUNCE: Script Debugger 3.0.1 Update
  • Index(es):
    • Date
    • Thread