YIKES! this would be very big indeed IF I could get it to work.
JS is well above my pay grade.
I did copy your suggested JS
var subjectElem = document.getElementById(":h7")
subjectElem.value = “My TEST Subject”
and enter it into an Execute JavaScript in Safari to no avail.
Could you possible push me a little further toward the solution?
I ultimately would like to set the filed ID to a KM variable so that when google changes it’s field codes, I can change one ‘master’ variable and it well effect the 100 or so macros that I will create that use that filed ID.
Or even the whole JS string in a variable that can globally be adjusted.
Also, how did you get the element ID? So that I can get the other fields?
If I could only get the To, From, Subject and Body IDs in a Gmail Compose window, and set them from a variable, my whole work flow will change. More than it already has since KM came along!!!