AS Studio: saving preferences / properties

How do you save preferences in AppleScript Studio?
One of the nice things about AppleScripts was that they retain their properties from launch to launch, without the need for separate preference saving routines.
Is there any easy way to save all the properties in AS Studio? Or a routine someone has already written to save and load properties to and from a plist (I thought that is what plists are for, and no, i don’t know XML).
Here’s a trial routine. The my_val property is not retained between launches.
Pls help on this one.
try this routine:
– Application.applescript property my_val : “Original Value”
on launched theObject
set contents of text field “textbox” of window “Main” to my_val
display alert “The value is:” message my_val default button “Whoakay”
end launched
on will quit
set my_val to (contents of text field “textbox” of window “Main”)
display alert "Setting my_val to " message my_val end will quit

: How do you save preferences in AppleScript Studio?
: One of the nice things about AppleScripts was that they retain
: their properties from launch to launch, without the need for
: separate preference saving routines.
: Is there any easy way to save all the properties in AS Studio? Or
: a routine someone has already written to save and load
: properties to and from a plist (I thought that is what plists
: are for, and no, i don’t know XML).
I don’t have OS X, or AppleScript Studio, but I’m subscribed to
Apple’s Studio list. From what I’ve gathered, everyone needs
to get in the habit of writing preferences to a file and I believe
XML is the suggested format.
I’ve included a link to the mailing list page. From there, you can
gain access to the archives and possibly find a definitive
answer in case it doesn’t show up here. :slight_smile:
Is there any reason why you can’t write the prefs to a file in the
regular AppleScript manner?
Sorry I can’t offer more.
– Rob