In BBEdit, I do my text editing in normal lighting conditions with a dark background and light colored text. In some situations (outside for example) a light background with dark text is a better combination. I’ve been trying to come up with a way to easily switch between my custom colors and the default set.
The settings for the colors are in a .plist file (an XML file) and I’ve found that I can manually edit this file to do what I want, but I’d like to automate it. Does anyone know of a scriptable XML editor (Mac OS X only please, command line is fine) that I could use to check the current values then change them?
I posted this to the BBEdit Talk list this weekend, but no reply yet so I thought I’d expand the exposure a little. C’mon Lazyweb!
UPDATE: The .plist file has more than just the color info, so I don’t want to just swap files. I suppose I could do a big find/replace on the entire section that controls the colors…
Popularity: 2% [?]

jstownsley adds this Comment:
you may think this is weird but I actually switch my powerbook to “white on black” when I am outside. (see universal access in the system preferences)
October 19th, 2004 at 12:02 pm
Scott Sanders adds this Comment:
Just use XSLT! Quickest way to do what you want.
October 19th, 2004 at 4:49 pm
Michele adds this Comment:
It’s real easy: find a unix lover nearby and make him write some sed magic for you.
October 22nd, 2004 at 2:12 am
alexking.org: Blog > Around the web adds this Pingback:
[…] rooSwitch - Shuffle Your Settings Around - this is great, and is a solution I needed a while ago. […]
September 17th, 2006 at 10:54 am
Danilo Stern-Sapad adds this Comment:
John Gruber made an command-line utility called BBColors for doing this:
http://daringfirebal[...]ts/bbcolors/
He also has some custom pre-made color schemes/themes for download.
November 2nd, 2006 at 6:13 am