To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.dev.macOpen lugnet.cad.dev.mac in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / Macintosh / 520
519  |  521
Subject: 
Re: Central location for LDraw prefs
Newsgroups: 
lugnet.cad.dev.mac
Date: 
Sun, 7 Sep 2003 00:00:11 GMT
Viewed: 
4498 times
  
In lugnet.cad.dev.mac, James Reynolds wrote:
> > > How about org.ldraw.mac.folder or something?
> > > 
> > > Are there other settings that should be global for all LDraw applications?
> > 
> > The latest version of ldglite will come with a script to update
> > the ~/.MacOSX/environment.plist file with the LDRAWDIR setting.
> > See here for details.
> > 
> >   http://developer.apple.com/qa/qa2001/qa1067.html
> > 
> > If you want to test the script before the release, I'm sure Tom
> > could email you the current version.
> 
> Dang.  So already there has to be 2 locations: ~/.MacOSX/environment.plist, and
> Library/Preferences/*pref name*
> 
> That is ok.  What if we all agree that if our app changes the ldraw directory,
> it will change it in both places?  Same with the script.
> 
> Eventually, that is.

That's a reasonable goal.  We made some similar progress recently in
Windows with the ldraw.ini file.  So, where is the Library/Preferences/*
usage documented.  I don't know anything about it.  Could you point
me to a document like qa1067.html that spells out how the information
is stored/retreived from there?

By the way, how do you feel about /Library/ldraw/ as the default
location for the ldraw directory?  As of version 1.0.11 ldglite
looks there by default on OSX if it's not told otherwise.

Don



Message has 1 Reply:
  Re: Central location for LDraw prefs
 
(...) These two pages discuss everything you could want to know. (URL) preferences format: The most common preference file format is an xml file with the file extension ".plist" with this DTD: (URL) propose the code to be: <key>LDRAWDIR</key> (...) (23 years ago, 7-Sep-03, to lugnet.cad.dev.mac)

Message is in Reply To:
  Re: Central location for LDraw prefs
 
(...) Dang. So already there has to be 2 locations: ~/.MacOSX/environment.plist, and Library/Preferences/*pref name* That is ok. What if we all agree that if our app changes the ldraw directory, it will change it in both places? Same with the (...) (23 years ago, 6-Sep-03, to lugnet.cad.dev.mac)

18 Messages in This Thread:




Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR