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 / 518
    Re: Central location for LDraw prefs —James Reynolds
   (...) 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 (...) (21 years ago, 6-Sep-03, to lugnet.cad.dev.mac)
   
        Re: Central location for LDraw prefs —Don Heyse
   (...) 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 (...) (21 years ago, 7-Sep-03, to lugnet.cad.dev.mac)
   
        Re: Central location for LDraw prefs —James Reynolds
   (...) 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> (...) (21 years ago, 7-Sep-03, to lugnet.cad.dev.mac)
   
        Re: Central location for LDraw prefs —Travis Cobbs
   (...) Unless I'm misunderstanding, I think you would be much better off if you drop ".ldrawdir" from the plist filename above. That way the file can contain other settings in the future in addition to the LDRAWDIR setting you have now. Or put (...) (21 years ago, 7-Sep-03, to lugnet.cad.dev.mac)
   
        Re: Central location for LDraw prefs —James Reynolds
   (...) No, Apple doesn't encourage that. And you are right, it shouldn't be named org.ldraw.ldrawdir.plist. Most preferences for a single application are stored in a single file. Some applications use entire folders (especially web browsers--so they (...) (21 years ago, 7-Sep-03, to lugnet.cad.dev.mac)
   
        Re: Central location for LDraw prefs —Don Heyse
     I vote for org.ldraw.plist because it's short and simple. However I could probably be convinced to go for org.ldraw.ldrawconfig.plist because it's like com.apple.internetconfig.plist, or maybe org.ldraw.apps.plist, but not the one with mac in it. To (...) (21 years ago, 7-Sep-03, to lugnet.cad.dev.mac)
    
         Re: Central location for LDraw prefs —Tom Bozzo
     (...) I like the idea of a single repository of ldraw-related settings. I'd also be satisfied with the short version of the plist name (with org.ldraw.apps second). The key and string for LDRAWDIR do match the draft environment.plist contents from (...) (21 years ago, 7-Sep-03, to lugnet.cad.dev.mac)
    
         Re: Central location for LDraw prefs —Don Heyse
     (...) Ok, but remember James used the word "eventually" a few messages back. I wouldn't skip the environment.plist file in favor of the org.ldraw.plist file just yet. Do both files, or just the environment.plist file if both is too much work. (...) (21 years ago, 8-Sep-03, to lugnet.cad.dev.mac)
    
         Re: Central location for LDraw prefs —Tom Bozzo
     (...) Doing both isn't a problem. Actually, the question I had was how soon ldglite would check both locations. Tom (21 years ago, 9-Sep-03, to lugnet.cad.dev.mac)
    
         Re: Central location for LDraw prefs —Don Heyse
     (...) I didn't think so, but I wanted to be sure because... (...) This'll take a while because I have to write (or find) some code to do it. The envinronment.plist contents are automagically tranformed into environment variables by the nice folks at (...) (21 years ago, 9-Sep-03, to lugnet.cad.dev.mac)
    
         Re: Central location for LDraw prefs —Tom Bozzo
     (...) Don, We're almost there. I'm on the road most of this week, so I'm getting in a little work on the bundle as conditions permit. I have a crudely hacked double-clickable mklist.app that I'll send to Chris to test out when I get back home (...) (21 years ago, 10-Sep-03, to lugnet.cad.dev.mac)
   
        Re: Central location for LDraw prefs —Christopher Masi
   (...) When you say "pref pane" do you mean a "PreferencePane" that goes into "System Preferences...", or do you mean just a way to set the preferences from a dialog box opened by selecting "Preferences..." from the application's "Application" menu? (...) (21 years ago, 7-Sep-03, to lugnet.cad.dev.mac)
   
        Re: Central location for LDraw prefs —James Reynolds
   (...) Sorry! No, I meant a preference window. James (21 years ago, 7-Sep-03, to lugnet.cad.dev.mac)
 

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