Questions about .PLISTs

Discussion in 'Mac Basics and Help' started by Eniregnat, Aug 24, 2005.

  1. Eniregnat macrumors 68000

    Eniregnat

    Joined:
    Jan 22, 2003
    Location:
    In your head.
    #1
    I want to find a stand-alone PLIST viewer or editor. Specifically, I want(ed) to be able to go through the SAFRI History and find particular websites. (Safari crashed when I had 15 or so pages open as tabs.) I have already done the work and used M$ Word to view the file and get the sites, but there has to be a way to go through PLISTs with out dealing with all of the coding gobbely gook.

    From what I have gleaned PLISTs are Pearl generated or compliant database files, but that’s all I know.

    I’ve searched the forums, but didn’t find anything particularly germane to the quest for a PLIST viewer.
     
  2. Nermal Moderator

    Nermal

    Staff Member

    Joined:
    Dec 7, 2002
    Location:
    New Zealand
    #2
    Apple has an app called Property List Editor. It might not be sophisticated enough for you, but it can view and edit plists.
     
  3. Eniregnat thread starter macrumors 68000

    Eniregnat

    Joined:
    Jan 22, 2003
    Location:
    In your head.
    #3
    Thank you.

    Links for others
    Information Property List Files

    I don't have that on my computer. While I am an ADC member, I haven't purchaced Xcode Tools. There is a refrence for what the codes mean, so technicly I could either script (in AS or DreamCard) something that strips out the codes. Why are there not enfough hours in the day.

    Thank you.

    By the way, I love how you (and others) are paying hommage to BV.
     
  4. tag macrumors 6502a

    tag

    Joined:
    Apr 29, 2005
    Location:
    PA, US
    #4
    While I haven't personally tried this, I did come across this hint at macosxhints which uses a vim script for editing normal/binary .plist files. It can decode and then re-encode the .plist files for editing/modifying, plus you get all the power of vim at your disposal so maybe this will work for you.
     
  5. Nermal Moderator

    Nermal

    Staff Member

    Joined:
    Dec 7, 2002
    Location:
    New Zealand
    #5
    Don't need to purchase anything, they're a free download :)

    There should also be a copy included on your Tiger DVD (or on a fourth CD if you're using Panther).
     
  6. caveman_uk Guest

    caveman_uk

    Joined:
    Feb 17, 2003
    Location:
    Hitchin, Herts, UK
    #6
    Property List files are just XML text files. They're not specific to perl. The user settings for cocoa apps (for example) are stored in plist format. You can open them in any text viewer. I've had some apps balk at plists that have been saved by something other than Property List Editor or the app that created the plist so I'd make a back-up copy of anything you intend on editing in case you screw up.
     
  7. robbieduncan Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #7
    On Tiger this is no longer true :mad: Apple decided to make them binary instead. There is a provided command line tool to convert between binary and plain XML though (and applications don't see any difference).
     
  8. caveman_uk Guest

    caveman_uk

    Joined:
    Feb 17, 2003
    Location:
    Hitchin, Herts, UK
    #8
    My understanding is that you can chose how you want them stored though to be honest I haven't checked.

    I tend to use the methods in NSDictionary to open/save plists rather than the NSPropertyListSerialization methods so I've never actually had to choose. I'll check it out and have a look to see if it's still saving stuff out in XML
     
  9. robbieduncan Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #9
    Not sure what happens to NSDictionary saves plists, but NSUserDefaults saves in binary not XML on Tiger.
     
  10. Applespider macrumors G4

    Applespider

    Joined:
    Jan 20, 2004
    Location:
    looking through rose-tinted spectacles...
    #10
    Have a look at this free app Pref Setter which works under Tiger and allows you to view any preference lists and edit them.

    Once you launch it, it brings up a list of all the pref files on your Mac with a Spotlight search for finding the one you're after. There's also a spotlight bar within the plist so you can find the exact bit you're looking for. V useful!
     
  11. Eniregnat thread starter macrumors 68000

    Eniregnat

    Joined:
    Jan 22, 2003
    Location:
    In your head.
    #11
    Thank you.
    Stripped out what I needed by hand, and in the near future will try the solutions noted. I will post what works for me, as it might benefit others later on.
     

Share This Page