MozillaZine

Text Color - for an e-mail, and when composing an email

User Help for Mozilla Thunderbird
sludge7071-g
 
Posts: 58
Joined: May 9th, 2016, 10:18 am

Post Posted February 11th, 2019, 3:37 pm

Using the latest, TB 60.5.0

Tools / Options / Composition / HTML / Text color - black . . . This is the default for e-mails . . . this is good

Write / I go to compose the e-mail / double-click some text / Choose color for text
. . . Sometimes, I like to emphasize some things in red or blue text
. . . As it currently is, I can't do that in less than 3 clicks
. . . Would it be possible to make this stay on the "Last picked color"? Then I could do it in 1 click.
. . . If I wanted the Default color, then there's a drop-down menu for that, and to pick a different color than red or blue
. . . Maybe these settings could be under:
Tools / Options / Composition / HTML / Text color

tanstaafl
Moderator

User avatar
 
Posts: 45241
Joined: July 30th, 2003, 5:06 pm

Post Posted February 12th, 2019, 1:50 am

The developers don't browse the support forums. The other problem is that the built-in editor is ancient and they want to replace it with something more modern. So they have little incentive to add more features to the existing editor.

There is a external editor add-on that you could use to compose messages with whatever editor you want. The main restriction is that the editor can't run as a background process. That's usually not a issue. You would need to customize the toolbar to add the button to launch the external editor. If you don't press that button you'd compose a message normally using the built-in editor.

https://globs.org/articles.php?lng=en&pg=2
https://github.com/exteditor/exteditor/releases (new releases that support version 60.*)

sludge7071-g
 
Posts: 58
Joined: May 9th, 2016, 10:18 am

Post Posted February 12th, 2019, 11:50 am

It's not too bad as it is. You just start to see this kind of thing, after you use it. Thx!

sludge7071-g
 
Posts: 58
Joined: May 9th, 2016, 10:18 am

Post Posted February 12th, 2019, 2:25 pm

I thought of how to use NirCmd for this:

Get All New Messages - in a Single Click - any version of TB . . . viewtopic.php?f=39&t=3047022

Then I thought, why not use NirCmd for a "single click" for text colors?

. . . In the menus, do you see how some of the letters are underlined? That means you can use Alt + "the letter" to "press" it. Sometimes, you don't need Alt.

And sure enough, it was pretty easy. Below is the code for the BAT files for:

red text.bat . . . and . . . blue text.bat . . . respectively

You have to give it a few micro-seconds, sometimes, otherwise, it goes too fast, and doesn't do what you want.

This is what "nircmd.exe wait 300" is for . . . One second = 1000, ten seconds = 10000

It would now be a lot easier to use colors that are not in that color pallet - you just need to put the color code in your BAT file.

Please see the above post, for "how to" put a button to these BAT files on your Taskbar (see this section: "How do I make a button for it?").

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

@ECHO OFF

nircmd.exe win activate ititle "Write"
nircmd.exe win max ititle "Write"

nircmd.exe sendkeypress alt+o
nircmd.exe sendkey c press
nircmd.exe wait 300

nircmd.exe sendkeypress alt+d
nircmd.exe clipboard set #ff0000
nircmd.exe sendkeypress ctrl+v

nircmd.exe sendkey enter press
nircmd.exe sendkey right press

EXIT

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

@ECHO OFF

nircmd.exe win activate ititle "Write"
nircmd.exe win max ititle "Write"

nircmd.exe sendkeypress alt+o
nircmd.exe sendkey c press
nircmd.exe wait 300

nircmd.exe sendkeypress alt+d
nircmd.exe clipboard set #3333ff
nircmd.exe sendkeypress ctrl+v

nircmd.exe sendkey enter press
nircmd.exe sendkey right press

EXIT

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

DanRaisch
Moderator

User avatar
 
Posts: 121326
Joined: September 23rd, 2004, 8:57 pm
Location: Somewhere on the right coast

Post Posted February 12th, 2019, 6:17 pm

AN awful lot of effort for a couple of extra key strokes when needed.

sludge7071-g
 
Posts: 58
Joined: May 9th, 2016, 10:18 am

Post Posted February 12th, 2019, 7:06 pm

LOL! Not at all. I figured this out quickly.

The stuff I did before, a while back, took some time to figure out! . . . my notes / summary / "how to" in the other post can save some people a lot of hours.

sludge7071-g
 
Posts: 58
Joined: May 9th, 2016, 10:18 am

Post Posted February 12th, 2019, 9:00 pm

Off-topic, but . . . this took more effort to figure out, but was worth it:

bookmarks-to-CSV.pdf . . . This is a pdf that I have made, and uploaded to my Google Docs . . . This first page provides all you need to know, to get your Firefox Bookmarks into a .CSV file using SQLite3. This won't do anything to your Bookmarks, it just extracts a copy of them . . . Then, the next few pages provide the details of what's going on . . . Having the .CSV, you can then use Excel macros to clean up garbage characters in the .CSV, and append them to other Bookmarks in an xlsm . . . Within the xlsm, further edit them, categorize (I do this on 18 fields), and sort (concatenate(concatenate)) (22K Bookmarks) . . . Then, you can do Boolean searches on them! . . . https://drive.google.com/open?id=1xYWPQ ... UVKYJNFokR

morat
 
Posts: 3163
Joined: February 3rd, 2009, 6:29 pm

Post Posted February 12th, 2019, 10:01 pm

Here is the command to change the color in the "Choose color for text" box with the Keyconfig extension.

Code: Select all
doStatefulCommand("cmd_fontColor", "#ff0000");

Keyconfig
http://addons.thunderbird.net/thunderbird/addon/602486

More info: viewtopic.php?f=39&t=3039190

sludge7071-g
 
Posts: 58
Joined: May 9th, 2016, 10:18 am

Post Posted February 13th, 2019, 6:11 am

More to learn there . . . IMO, the BAT file seems more straight forward in this case, and can be easily modified when TB changes, as you're just changing the Sendkeys.

Here are more colors:

Named Colours - Table of color names supported in HTML and CSS . . . red #ff0000 . . . blue #0000ff . . . https://www.yourhtmlsource.com/styleshe ... lours.html

Non-dithering Colours - 216 web-safe color palette chart, browser colors . . . https://www.yourhtmlsource.com/accessib ... lours.html

Return to Thunderbird Support


Who is online

Users browsing this forum: Bing [Bot] and 2 guests