• 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: How to save some settings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to save some settings


  • Subject: Re: How to save some settings
  • From: Walter Ian Kaye <email@hidden>
  • Date: Wed, 5 May 2004 21:49:37 -0700

At 10:38p -0500 05/05/2004, Joseph Weaks didst inscribe upon an electronic papyrus:

On May 5, 2004, at 3:30 PM, Andre Vink wrote:
How can I save some content of a variables AND use this when I start the script later.

I've set a variable to 1, the user change the variable to 2.
The next time the script is started the variable is set by default to 1.
This is not what I want! I would use the content of the variable that was set by the user?
Is this posible?

If you define the variables as "properties" then the values will be stored within the script, AS LONG AS YOU DON"T RECOMPILE THE SCRIPT.

Right. If you need to supply updates to your users without trampling their settings, you'll need to store them in a separate preferences file. There are a variety of ways to do that, as you can imagine. :)


-boo
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.


References: 
 >How to save some settings (From: Andre Vink <email@hidden>)
 >Re: How to save some settings (From: Joseph Weaks <email@hidden>)

  • Prev by Date: Re: How to save some settings
  • Next by Date: Re: 'info for' braindead about .app packages
  • Previous by thread: Re: How to save some settings
  • Next by thread: 'info for' braindead about .app packages
  • Index(es):
    • Date
    • Thread