Re: Property impermanence
Re: Property impermanence
- Subject: Re: Property impermanence
- From: Harold Bert Martin <email@hidden>
- Date: Tue, 18 Dec 2001 08:53:24 -0700
How do I create such a pref file?
--
Thanks,
H. Martin
email@hidden
>
From: email@hidden
>
Reply-To: email@hidden
>
Date: Thu, 13 Dec 2001 14:25:28 -0800 (PST)
>
To: email@hidden
>
Subject: applescript-users digest, Vol 2 #1400 - 16 msgs
>
>
Property impermanence. - Was Re: Bug or Feature?
And if you're planning on using AS Studio then you'd better get used to
writing prefs out to disk.
From the documentation for AppleScript Studio... Regarding
properties in AS Studio applications.
>
Script properties are not saved back into the application. Their values
>
therefore do not persist between launches. If you want persistent
>
storage of values, write them to a preferences file.
--
Paul Skinner
On Thursday, December 13, 2001, at 12:25 PM, Joe Kelly wrote:
>
Properties get stored in the script file itself. Since I've had problems
>
with properties remembering themselves, I just save my persistent data
>
in a
>
preference file of my own creation.
>
>
joe
>
>
> -----Original Message-----
>
> From: Gnarlodious [mailto:email@hidden]
>
> Entity Joe Kelly spoke thus:
>
>
>
>> I've noticed that some of my scripts don't remember their
>
>> properties --
>
>> usually cutting and pasting the script's text into a new
>
>> document and saving
>
>> over the old one does the trick, but not always. I've
>
>> resorted to saving my
>
>> script preferences in a preference file.
>
>
>
> Are you saying that the variable PropertyName and value is stored in
>
> "Apple:System Folder:Preferences:AppleScript Preferences" ???
>
>
>
> Rachel http://www.gnarlodious.com