• 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: Storing preferences...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Storing preferences...


  • Subject: Re: Storing preferences...
  • From: Malcolm Fitzgerald <email@hidden>
  • Date: Wed, 28 Aug 2002 13:04:08 +1000

Anyone have any pointers for the best way to store a user's preferences in an Applescript?


Properties may be sufficient for your needs.

I store a tab separated record with name/value pairs in the preferences folder. It is read into a record, typically called _pref, and I refer to the values like so:


-- obtain unique path to a users documents
set _path to {path to startup disk, _pref's document_folder}
set _path to _path as string
--
Malcolm Fitzgerald
Database Manager
The Australian Society of Authors

phone: 02 9318 0877 fax: 02 9318 0530
http://www.asauthors.org mailto:email@hidden
_______________________________________________
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: 
 >Storing preferences... (From: Jim Burton <email@hidden>)

  • Prev by Date: Storing preferences...
  • Next by Date: Re: Storing preferences...
  • Previous by thread: Storing preferences...
  • Next by thread: Re: Storing preferences...
  • Index(es):
    • Date
    • Thread