I’ve promptly upgraded Ubuntu 9.10 to 10.04, and the first problem I’ve stumbled upon is that Mozilla Thunderbird has been upgraded from 2.x to 3.x, and my beloved Keyconfig And Functions For Keyconfig has been “disabled” because they are not compatible for this version of Thunderbird.
So here starts the “techie” part:
Make Keyconfig work with Thunderbird 3
- Exit Thunderbird
- Move to your extensions directory inside your thunderbird profile directory on disk (In linux, normaly on ~/mozilla-thunderbird/*.default/extensions). In Windows I guess is something like “Documents And Settings/user_name/Program Data/Thunderbird/Profiles/*.slt/extensions”
- Now edit the file ”keyconfig@dorando/install.rdf”
- Search for any “maxVersion” tag, and bump the number until 3.3.3, for example
- Do the same for the file “email@example.com/install.rdf”
- Now you can start Thunderbird, and it shouldn’t complain about obsolete or disabled addons.
Make a keybind to move current message to a specified folder.
Now create a new keybinding (Y use CTRL+SHIFT+I), with this code, to know the URI of any folder you select:
prompt(“”,gFolderDisplay.displayedFolder.Value); //(UPDATED: Old code, which didn’t work correctly)
prompt(“”,gFolderDisplay.displayedFolder.URI); //(UPDATED: New code which does work. Look at the comments below for more info.)
And use it to discover the URI of the folder you intend to move messages to.
Mine has the following URI:
Now create a new keybinding (I use “CTRL+SHIFT+N”, for “Not Importante”), and copy paste the following code (changind the URI as needed):
And that’s it!
UPDATE: Thanks to Beni!: Since Thunderbird 31, GetMsgFolderFromUri is no longer available. You have to use MailUtils.getFolderForURI, see https://bugzilla.mozilla.org/show_bug.cgi?id=1043819 . So the command would then be MsgMoveMessage(MailUtils.getFolderForURI(“…”));