Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

lynkynpark86

macrumors 6502
Original poster
I am trying to make a simple script to change an application's info.plist file. The application is called Spacesuit, and I want to add "LSUIElement" with a string of "1". The only problem is i don't know how to use defaults write on a plist that is not in the preferences folder. Basicly what I'm asking is what would be the terminal command to edit the plist of an application on the desktop? Please help me with this.
 
I remember being in the same place. The key thing is "pathnames omit .plist". Otherwise you get path/to/thing/Foo.plist.plist.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.