Shortcut for Last Used Color?

User Help for Mozilla Thunderbird
Post Reply
MelodyJane
Posts: 2
Joined: April 17th, 2022, 9:32 am

Shortcut for Last Used Color?

Post by MelodyJane »

I see there used to be an AddOn for this, but it doesn't work anymore. Does anyone know of a way to set up a shortcut for "Last Used Color"? Thank you!
morat
Posts: 6432
Joined: February 3rd, 2009, 6:29 pm

Re: Shortcut for Last Used Color?

Post by morat »

Did you try the Previous Colors addon? I don't know if the Previous Colors addon has a shortcut feature.

LastColour (obsolete)
http://addons.thunderbird.net/thunderbird/addon/407116

Previous Colors
http://addons.thunderbird.net/thunderbird/addon/987865
Last edited by morat on April 19th, 2022, 7:40 am, edited 1 time in total.
morat
Posts: 6432
Joined: February 3rd, 2009, 6:29 pm

Re: Shortcut for Last Used Color?

Post by morat »

The code says shift + mouse click on the "Choose color for text" box automatically applies the last used color.

Reference
http://searchfox.org/comm-esr91/search? ... electColor

Try the following command with the tbkeys addon.

Code: Select all

window.EditorSelectColor('Text', {button: 0, shiftKey: true});
tbkeys
http://github.com/wshanks/tbkeys#tbkeys

Tips: http://forums.mozillazine.org/viewtopic ... #p14872763
MelodyJane
Posts: 2
Joined: April 17th, 2022, 9:32 am

Re: Shortcut for Last Used Color?

Post by MelodyJane »

morat wrote:The code says shift + mouse click on the "Choose color for text" box automatically applies the last used color.
Thank you, Morat! This works! :) Sorry it took me so long to get back to you. I really appreciate this info! :D
morat
Posts: 6432
Joined: February 3rd, 2009, 6:29 pm

Re: Shortcut for Last Used Color?

Post by morat »

You're welcome.
Post Reply