Quicktext: modify recipients

Similar to the CleanSubject script, I would like to modify the recipients in the “To:” and “CC:” headers. I can see that CleanSubject modifies the “msgSubject” element, but where can I find the list of other useful elements that I could modify via a script?

For “To:” use “addressCol2#1”

Eg.: this.mWindow.document.getElementById(‘addressCol2#1’).value=“test@test.com

Turns out that TB 78 has changed the UI for composing a message, and uses “pills” in the recipient address area. This means that the previous answer needs to be updated.

But my original purpose was to simply be able to add recipients using QuickText. Turns out that this is already a solved problem: