AppleScript to Get text from an obscure object AXTextArea

Set the focus of the scrollArea to true.

Or set the focus of every UI element of the scrollArea to true

It says the automation type is Text View.
So what ever actions you can perform you want to perform on that.

Tell Text View

set AXFocused to true
set Focused to true
Perform Action Show Menu
(Notice this in the Actions available, try clicking on it in UIBrowser and see what happens.)
Set selected to true
Set aRange to Get it’s visible character range
Set it’s selected range to aRange
get it’s UIElements (see it has Shared Text UIElements)
End Tell

The ultimate test is one get get first UIElement of the scroll area. The get its “Entire Contents” and log that.

Also logs its class.

Kind of given up on this approach as I found another way. I was utilizing a feature of the software to generate a link in a tool that creates letters by assembling various placeholders into a text string. Now I’m just grabbing various data pieces from the windows themselves and assembling the link within the AppleScript. Seems to be working. I do appreciate the tips, however, even if ultimately I didn’t end up continuing down this specific rabbit hole.

Curiosity is driving me nuts.
I would like to try to figure it out anyways.

See if you can do what technomorph says.

And other misc attributes