Property impermanence. - Was Re: Bug or Feature?
Property impermanence. - Was Re: Bug or Feature?
- Subject: Property impermanence. - Was Re: Bug or Feature?
- From: Paul Skinner <email@hidden>
- Date: Thu, 13 Dec 2001 14:58:12 -0500
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