Changing BBEdit Color “Themes”

Posted in: Development, Software

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% [?]

Posted October 19th, 2004 @ 9:36 AM

5 Replies

  1. 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

  2. Scott Sanders adds this Comment:

    Just use XSLT! Quickest way to do what you want.

    October 19th, 2004 at 4:49 pm

  3. 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

  4. 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

  5. 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

Add a Comment

Please note: Use of a non-personal web site or blog in the field below and/or comments that are off-topic, personal attacks, or support requests will likely be removed at my discretion.

Note: This post is over 4 years old. You may want to check later in this blog to see if there is new information relevant to your comment.

Portable Spam Prevention » « Tech Support Troubleshooting

About This Site

This is the personal web site of Alex King, a web developer in Denver, Colorado USA. More...


Crowd Favorite

Crowd Favorite is my software and web development business.

We build web applications, design and develop custom WordPress themes and plugins, and build custom sites using WordPress as a CMS.


I also have a tumblog that aggregates my online content from other services (Twitter, Flickr, del.icio.us. etc.).

America

Ads