I’ve looked on the forum and sometimes it gets so deep I can’t see the simple answer I’m looking for.
Simply, have a full paragraph of simple, plain text, (stored and used over and over as a variable) and one word needs to be bold or italicized, is this possible with a variable or do I need to get it to a clipboard?
Variables are plain text strings. They cannot include formatting.
What are you wanting to do specifically? Paste the text in? The easiest is to use Insert Styled Text by Pasting which can include formatted text.
Alternatively, you can copy the styled text to a Named Clipboard and use that in place of your variable (including in the Insert Styled Text by Pasting action for example) using the NamedClipboard token.
The use is:
I’m using a variable to ‘fill’ the body of an email using the ‘send mail message’ action.
The variable is built up quite nicely using an initial ‘template’ and then ‘replacing’ 15-20 ‘variables’ within the body.
The ‘email’ is completely comprised, the one lacking part is getting that one word ‘bolded’.
That word is static in the ‘email template’ variable. meaning it’s always there.
I understand I could ‘locate’ to the top or bottom of the email and command-arrow, (or whatever mechanism I chose) to the word and then ‘bold’ it.
But was wondering if there was a more elegant way to do it.
What I’m getting is that I would have to create a 'named clipboard’
out of the variables and then ‘paste’ that clipboard in the body of the email.
it’s a bit of a drag getting out of the ‘programming’ of KM to have to paste, but if that’s what it is, that’s fine.
Appreciate the time and effort. ~