Follow us on...
Follow us on Twitter Follow us on Facebook
Register
Page 2 of 2 FirstFirst 12
Results 9 to 15 of 15
  1. #9
    anarchie is offline NSCoder
    Join Date
    Oct 2002
    Posts
    198
    Thanks
    0
    Thanked 0 Times in 0 Posts
    The file you're looking for is ~/Library/Preferences/.GlobalPreferences.plist
    More specifically, the key within that preference file pertaining to the colors is NSColorSwatchData, and you can transplant that from one file to the other if you don't want to muck up stuff like your double-click threshold...

  2. #10
    Arden's Avatar
    Arden is offline Where mah "any" keys at?
    Join Date
    Dec 2002
    Location
    Spokane, WA
    Posts
    7,752
    Thanks
    0
    Thanked 1 Time in 1 Post
    Why not back up the whole file, and save all those preferences at the same time? But thanks for pointing this out.
    Systems:
    2.5 GHz MacBook Pro Core 2 Duo, 4 GB RAM, 320 GB hard drive, runs 10.6.8
    1.6 GHz iMac G5, 1.5 GB RAM, 120 GB hard drive, runs 10.4.11 (out of commission)
    iPhone 4, 16 GB, iOS 4.3.5

  3. #11
    aqsalter is offline Registered User
    Join Date
    Jan 2002
    Posts
    23
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Fabulous!

    I noticed that her desktop picture got reset at the same time.

    So that file must have gotten trashed and reset all the GlobalPreferences...

    @Arden:
    I do do backups, as I said in my original post. And now I can restore that file from my backup!!

    Anarchie, thanks for the information. Where did you find out about Global prefs... is it in Apple documentation?

    Since it's a . file no wonder I didn't see it.

    I really think this is valuable information.

  4. #12
    anarchie is offline NSCoder
    Join Date
    Oct 2002
    Posts
    198
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I found it by running fs_usage to watch filesystem activity, then messing around with a color picker to see what files get changed, and then examining each file for color-related stuff. The file didn't actually get touched until I created a new Terminal window, however...

  5. #13
    aqsalter is offline Registered User
    Join Date
    Jan 2002
    Posts
    23
    Thanks
    0
    Thanked 0 Times in 0 Posts
    This is really good work.

    Is this documented anywhere?
    anyone?

    @Arden
    No hard feelings huh? As I said I appreciate your helpful comments. But my original question was quite specific... I'm not really a newbie and I knew exactly what information I was after.

    Anarchie addressed my questions very succinctly in both his posts... if you know how to edit .plist files, it is, as anarchie pointed out, preferable to just copy the NSColorSwatchData section than the whole file... Since copying the whole file will reset many "global" settings back to old settings and all I said I wanted was the previous ColorSwatch data.

    ...Anyway thank you both.

  6. #14
    Arden's Avatar
    Arden is offline Where mah "any" keys at?
    Join Date
    Dec 2002
    Location
    Spokane, WA
    Posts
    7,752
    Thanks
    0
    Thanked 1 Time in 1 Post
    Well, it's like I said: if you know the file, then use back that up, but if you don't, use another form of backup. While it wouldn't have helped you recover your original colors, my method would have helped you recover them if this ever recurred.

    I'm glad I could at least attempt to help. What, out of curiosity, do you (and your wife) do?
    Systems:
    2.5 GHz MacBook Pro Core 2 Duo, 4 GB RAM, 320 GB hard drive, runs 10.6.8
    1.6 GHz iMac G5, 1.5 GB RAM, 120 GB hard drive, runs 10.4.11 (out of commission)
    iPhone 4, 16 GB, iOS 4.3.5

  7. #15
    Simbad is offline Registered User
    Join Date
    Aug 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    In your User Library folder, you will find a color folder. In there is your color palette plist.
    Simply replace that with your backed up version, from before the crash, and your palette will be restored.

    Peace.
    Simeon.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Cocoa IE and MSN Messenger...but not office or WMP?
    By wdw_ in forum Apple News, Rumors & Discussion
    Replies: 8
    Last Post: October 4th, 2002, 07:55 AM
  2. String manipulation in Cocoa
    By strikeman in forum Software Programming & Web Scripting
    Replies: 10
    Last Post: July 31st, 2002, 01:57 PM
  3. Cocoa Forum website
    By kainjow in forum Software Programming & Web Scripting
    Replies: 10
    Last Post: June 11th, 2002, 04:26 PM
  4. AAS + Cocoa?
    By whitesaint in forum Software Programming & Web Scripting
    Replies: 2
    Last Post: February 20th, 2002, 02:07 PM
  5. Cocoa vs. Carbon???
    By knighthawk in forum Software Programming & Web Scripting
    Replies: 4
    Last Post: July 23rd, 2001, 02:33 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •