MozillaZine

Keyconfig extension: Thunderbird

From MozillaZine Knowledge Base

(Difference between revisions)
Revision as of 16:02, 25 September 2005
Mozcerize (Talk | contribs)
(category)
<-- Previous diff
Revision as of 22:37, 22 October 2005
Asqueella (Talk | contribs)
(add Extensions category)
Next diff -->
Line 131: Line 131:
[[Category: Keyboard and mouse (Thunderbird)]] [[Category: Keyboard and mouse (Thunderbird)]]
 +[[Category: Extensions (Thunderbird)]]

Revision as of 22:37, 22 October 2005

These are a series of preferences you can add to your prefs.js file in your profile folder (but NOT the user.js file; see the Keyconfig extension page for why) to add more functions that you can map to keyboard shortcuts using the Keyconfig extension.

Contents

Thunderbird Functions

Display Attachments Inline (Toggle)
Menu: View -> Display Attachments Inline
user_pref("keyconfig.main.xxx_key__Display Attachments Inline (Toggle)", "!][][][ToggleInlineAttachment(event.target);");
Rewrap
Menu in Compose Window: Edit -> Rewrap
user_pref("keyconfig.main.xxx_key__Rewrap", "!][][][goDoCommand('cmd_rewrap');");
Run Filters on Folder
Menu: Tools -> Run Filters on Folder
user_pref("keyconfig.main.xxx_key__Run Filters on Folder", "!][][][goDoCommand('cmd_applyFilters');");
Run Junk Mail Controls On Folder
Menu: Tools -> Run Junk Mail Controls On Folder
user_pref("keyconfig.main.xxx_key__Run Junk Mail Controls On Folder", "!][][][goDoCommand('cmd_runJunkControls');");
Delete Mail Marked as Junk in Folder
Menu: Tools -> Delete Mail Marked as Junk in Folder
user_pref("keyconfig.main.xxx_key__Delete Mail Marked as Junk in Folder", "!][][][deleteJunkInFolder();");
Send Unsent Messages
Menu: File -> Send Unsent Messages
user_pref("keyconfig.main.xxx_key__Send Unsent Messages", "!][][][goDoCommand('cmd_sendUnsentMsgs');");
Mark Message Answered
user_pref("keyconfig.main.xxx_key__Mark -> Message Answered", "!][][][var hdr=GetDBView().hdrForFirstSelectedMessage; GetDBView().db.MarkHdrReplied(hdr,true,null);");
Mark Message Unanswered
user_pref("keyconfig.main.xxx_key__Mark -> Message Unanswered", "!][][][var hdr=GetDBView().hdrForFirstSelectedMessage; GetDBView().db.MarkHdrReplied(hdr,false,null);");
Focus Folder Pane
user_pref("keyconfig.main.xxx_key__Focus Folder Pane", "!][][][SetFocusFolderPane();");
Focus Thread Pane
user_pref("keyconfig.main.xxx_key__Focus Thread Pane", "!][][][SetFocusThreadPane();");
Focus Message Pane
user_pref("keyconfig.main.xxx_key__Focus Message Pane", "!][][][SetFocusMessagePane();");
View Message Body As Original HTML / Plain Text (Toggle)
user_pref("keyconfig.main.xxx_key__View Original HTML / Plain Text (Toggle)", "!][][][if(pref.getBoolPref('mailnews.display.prefer_plaintext')) MsgBodyAllowHTML(); else MsgBodyAsPlaintext();");
View -> Message Body As -> Original HTML / Simple HTML / Plain Text
user_pref("keyconfig.main.xxx_key__View Message Body As Original HTML", "!][][][MsgBodyAllowHTML();");
user_pref("keyconfig.main.xxx_key__View Message Body As Simple HTML", "!][][][MsgBodySanitized();");
user_pref("keyconfig.main.xxx_key__View Message Body As Plain Text", "!][][][MsgBodyAsPlaintext();");
View Plain Text Messages with Fixed/Variable Width Font (Toggle)
Menu: Tools -> Options -> Display -> Fixed width font / Variable width font
user_pref("keyconfig.main.xxx_key__Display Fixed/Variable Width (Toggle)", "!][][][var a = 'mail.fixed_width_messages'; pref.setBoolPref(a,!pref.getBoolPref(a)); MsgReload();");
View Plain Text Messages with Fixed Width Font
Menu: Tools -> Options -> Display -> Fixed width font
user_pref("keyconfig.main.xxx_key__Display Fixed width", "!][][][pref.setBoolPref('mail.fixed_width_messages',true); MsgReload();");
View Plain Text Messages with Variable Width Font
Menu: Tools -> Options -> Display -> Variable width font
user_pref("keyconfig.main.xxx_key__Display Variable width", "!][][][pref.setBoolPref('mail.fixed_width_messages',false); MsgReload();");

Extensions

MoreButtonsPlus

Toggle between All and Normal headers
Menu: View -> Headers -> All / Normal
user_pref("keyconfig.main.xxx_key__Toggle Headers Button", "!][][][ToggleHeadersButton();");

Mnenhy

View Brief Headers (Toggle)
Menu: View -> Headers -> Brief
user_pref("keyconfig.main.xxx_key__Mnenhy - View Brief Headers (Toggle)", "!][][][goMnenhy.headers.ToggleHeaderViewBrief();");
View No Headers
Menu: View -> Headers -> None
user_pref("keyconfig.main.xxx_key__Mnenhy - View No Headers", "!][][]["goMnenhy.headers.SetView(goMnenhy.headers.gkiViewNoHeaders);");
View Normal Headers
Menu: View -> Headers -> Normal
user_pref("keyconfig.main.xxx_key__Mnenhy - View Normal Headers", "!][][][goMnenhy.headers.SetView(goMnenhy.headers.gkiViewNormalHeaders);");
View All Headers
Menu: View -> Headers -> All
user_pref("keyconfig.main.xxx_key__Mnenhy - View All Headers", "!][][][goMnenhy.headers.SetView(goMnenhy.headers.gkiViewAllHeaders);");