Chameleon > General Discussion

com.Boot.plist format

(1/1)

CyberGreg:
I wrote an Automator script to update the com.Boot.plist file and it uses the "defaults write" command and works great! However when it updates the file it looks like it converts it to a standard XML plist file. I would think this would be okay but Chameleon won't read the file on the next reboot and complains it has an error parsing. The file opens just fine using plist editor.

What other options do I have to automate the "Theme" key in this file?

Thanks

zhell:
"defaults" writes a binary file. You can either use "/usr/libexec/PlistBuddy" or convert the binary back to plain text using "plutil".

CyberGreg:
SWEET! Thanks

is PlistBuddy installed on Leopard by default, i.e. it's not from XCode or anything is it?

Navigation

[0] Message Index

Go to full version