• 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: Pref files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pref files


  • Subject: Re: Pref files
  • From: John Delacour <email@hidden>
  • Date: Fri, 18 Apr 2003 00:13:28 +0100
  • Mac-eudora-version: 6.0a15

At 3:44 pm -0700 17/4/03, David Graham wrote:

Is there a consensus out there as to the best approach to using an external preference file with script applets? Out of the many free script libraries floating around I expected somebody to have come up with something that provided generic read/write/parsing routines for pref files, but I didn't come across anything. Anything useful that you might willing to impart would be greatly appreciated.


This is all you need to write in a prefs file:


property prefs: {} as record


You might take a look at this page:

<http://www.bd8.com/scripting/applescript/prefs.html>
_______________________________________________
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.

  • Follow-Ups:
    • Re: Pref files
      • From: David Graham <email@hidden>
References: 
 >Pref files (From: David Graham <email@hidden>)

  • Prev by Date: Re: Get all the ranges of a Excel spreadsheet
  • Next by Date: Re: Getting the labels of a record
  • Previous by thread: Pref files
  • Next by thread: Re: Pref files
  • Index(es):
    • Date
    • Thread