Closed RealRaven2000 closed 2 months ago
Here is a preview / tryout version:
The formatting parameters (capitalize
, uppercase
, lowercase
, camelcase
) can also be combined with the toclipboard
parameter:
%matchTextFromBody("Customer.*\n\-+\n(.*)\n",1,capitalize,toclipboard)%
To install, download archive and drop into Thunderbird Add-ons Manager (don't extract contents).
I decided to also add support applying these text transformation to the address variables, as in the following example:
%recipient(firstname,uppercase,lastname,capitalize)%
%from(name,lowercase)%
The switch will format all previous components in the line (but not overwrite earlier transformations of a different switch), so e.g. in the example "1,uppercase,2,3,lowercase" 1 will be in uppercase, 2 and 3 will be in lowercase.
To install, download archive and drop into Thunderbird Add-ons Manager (don't extract contents).
Implemented in 4.5 released on 14/05/2024
Text matching functions such as
matchTextFromBody()
will be even more useful if they allow conversion of case - these can be supplied with an additional parameter such as: