Postbox reply header text

You can easily change ‘Harry wrote:’ to ‘On 25/09/09 15:34 Harry Bailey replied with:’ by following these simple steps.

Close Postbox. That’s right, shut it down before you carry on.

Backup and then open your prefs.js profile file which can be found here:

Mac OS X: ~/Library/Application Support/Postbox
Vista: Users\username\AppData\Roaming\Postbox
WinXP: Documents and Settings\username\Application Data\Postbox

You backed it up? No? Do it now and then carry on.

Now search for the string ‘mailnews.reply_header_type’. Found it? Edit it to the following. Not found it? Add the following…

// Change the reply header
// 0 - No Reply-Text
// 1 - "[Author] wrote:"
// 2 - "On [date] [author] wrote:"
// 3 - User-defined reply header. Use the prefs below in conjunction with this:
user_pref("mailnews.reply_header_type", 3);

// If you set 3 for the pref above then you may set the following prefs.
user_pref("mailnews.reply_header_authorwrote", "%s replied with");
user_pref("mailnews.reply_header_ondate", "On %s");
user_pref("mailnews.reply_header_separator", " ");
user_pref("mailnews.reply_header_colon", ":"); 
// The end result will be [authorwrote][separator][ondate][colon]

Now you can go crazy with funny reply header text whenever you feel the need.

[carousel keywords=”mac tips” tag=”fetchit-21″]

Playing Your Spotify Top list

When you first open Spotify you are offered two tabs ‘What’s new’ and ‘Top lists’. If you select ‘Top lists’ you are then shown two columns which contain a list of the top rated artists, albums and tracks for everywhere, your country or just you.

So you can select to see what tracks, albums or artist you listen to most, or see what are the most popular with others.

As far as the tracks list goes, you can also play it. Choose ‘Tracks’ from the drop down menu on the left, and choose ‘everywhere’ from the drop down menu on the right. You now have a list of Spotify’s top tracks for the whole world. There is no simple ‘play’ button, but these steps aren’t too taxing…

Continue reading

Writing a PHP Coda Plugin

Sound like a right pain in the arse? It’s surprisingly simple actually….

The steps to creating a simple locally run php Coda plugin:

You must have php installed and running locally.
Start the plugin file with theses lines:

#!/usr/bin/php -q

(no space between < and ?php) Where /use/bin/php is the path to you local php install Continue reading

Panic’s Coda Bookmarks In Code Navigator

It is mentioned on the Panic site, but it took me ages to find it.

You can add bookmarks or tags to a file that will appear on Coda’s code navigator. Most of the time it’s as simple as an !

CSS:
/* !bookmark */

HTML:
<!-- !bookmark -->

Javascript:
/* !bookmark */ or // !bookmark

PHP:
/* !bookmark */ or // !bookmark

You can of course replace the word bookmark with anything you like.

For a full list:
http://www.panic.com/coda/developer/quicktip/5.php