-
Notifications
You must be signed in to change notification settings - Fork 54
Script: SetSubject
John Bieling edited this page Jan 31, 2020
·
4 revisions
Set subject dynamically, for example based on the current subject or any other Quicktext variable.
let subject = this.mVariables[0];
if (this.mWindow.document.getElementById('msgSubject')) {
this.mWindow.document.getElementById('msgSubject').value = subject;
}
Adding "RE: " to the current subject:
[[SCRIPT=SetSubject|RE: [[SUBJECT]]]]