Best way to delete a .plist item?
I have found similar topics on this...but maybe someone can clear it up for me? ๐
I want to delete an item within a .plist, specifically to remove an item from the Dock by scripting. (See com.apple.dock.plist) If I use System Events I can take one of the "Dictionary" types with a number under persistent-apps and delete the value so basically it works...it's just I leave the empty line with the number there. Using "defaults delete" I can't seem to access this item...maybe it's too deeply nested or I just don't have the syntax right? And I'm not sure about Cocoa? I'm using Applescript Studio...
I can search using System Events and find all the needed info I'm looking for...I just can't find a simple way to say delete the entry! ๐
Thanks in advance,
Reg ๐
Powerbook G4 12" 1.5GHz 1.25Gb RAM, Mac OS X (10.4.8)