Javascript To Capture Email Attachment Status

The following code offered by ccstone has worked marvelously since 2017 to capture text in a variable that indicates whether a file attachment has finished uploading in a Chrome Gmail. It no longer seems to get "Attachment %Variable%Message_Filename% added." text where I use the variable Message_Filename for whichever file is being attached.

The text now found in the Chrome_VisibleText variable seems to hold my Gmail labels and other text from the main screen (e.g. the body of the message that the file is being attached to).

Does anyone know if something changed in Chrome (or Gmail) or what the javascript "document.documentElement.innerText" statement must be changed to in order to work again?

Hey Anthony,

I’ll take a look when I have time.

-Chris

Chris,

Let me know if you require additional information or if I can assist in any way.

Thank you

Hey Anthony,

Use the same script but search for "Draft saving…"

-Chris

Chris,

"Draft saved" is found in the Chrome_VisibleText and now my macro works again!

Many thanks