• 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
Property impermanence. - Was Re: Bug or Feature?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >RE: Bug or Feature? (From: Joe Kelly <email@hidden>)

  • Prev by Date: Re: Window basics...
  • Next by Date: Re: URL access scripting-SOLVED!
  • Previous by thread: RE: Bug or Feature?
  • Next by thread: bug or feature?
  • Index(es):
    • Date
    • Thread