Get the text (found in View System Windows) programmatically

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
User avatar
Grovkillen
Automation Wizard
Posts: 1132
Joined: Fri Aug 10, 2012 2:38 pm
Location: Bräcke, Sweden
Contact:

Get the text (found in View System Windows) programmatically

Post by Grovkillen » Fri Oct 28, 2016 1:00 pm

I have noticed that I find a lot of text when locating a specific window using the "View System Windows"-tool but I'm not sure how to scrape all these using a script command.

What I do:

1. Open "View System Windows"
2. Drag cross to (in my case Skype for Business) specific window
3a. Once located I right click and click "Accessible Object Trees"
3b. I get a long list with text (in my case I find all my contacts status)

I'd like to get this with a script command but I'm not able to... am I stupid/ignorant or am I missing something! :shock:
Let>ME=%Script%

Running: 15.0.27
version history

User avatar
JRL
Automation Wizard
Posts: 3531
Joined: Mon Jan 10, 2005 6:22 pm
Location: Iowa

Re: Get the text (found in View System Windows) programmatic

Post by JRL » Fri Oct 28, 2016 2:39 pm

I'd like to get this with a script command but I'm not able to... am I stupid/ignorant or am I missing something!
We're all ignorant and missing something but no one on this forum is stupid, especially not you.

I'm sorry I don't have time to make an example script right now. However, everything you need to know is in THIS SCRIPT.

User avatar
Grovkillen
Automation Wizard
Posts: 1132
Joined: Fri Aug 10, 2012 2:38 pm
Location: Bräcke, Sweden
Contact:

Re: Get the text (found in View System Windows) programmatic

Post by Grovkillen » Fri Oct 28, 2016 6:16 pm

Thanks JRL for reminding me to keep it clean. I didn't mean that I'm stupid but I do understand that it sounded a bit hard on my self. The week has come to an end and I guess I was being a bit frustrated.

Also, thanks for pointing me to your script. I will get to it on Monday! :)
Let>ME=%Script%

Running: 15.0.27
version history

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts