Sign in to follow this  
Followers 0
sreeaurovindh

Get the contents of TextPad

2 posts in this topic

Hi,

I would like to retrieve the contents of the textpad which is present inside the window.I cannot restrict the users to save it every time and my requirements are such that i need to get all the contents of the textpad window for every 10 seconds.(This has to go in to a textfile for further processing).

When i tried using AutoItWindowInfo these are the contents that I got from "VisibleText" Tab of AutoItWindowInfo

Document2

Document1 *

xtpBarTop

Incremental Find

Find incrementally

Standard

Menu Bar

xtpBarBottom

xtpBarLeft

xtpBarRight

Splitter

Splitter

Splitter

Splitter

Splitter

Splitter

Document Selector

Selector

Search Results

Search Results

Can you please help me on how to choose a pariticular window (or tab) and then get the contents of it.I need to get the contents of tool output too.

Kindly help.

Thanks

Sree aurovindh V

Share this post


Link to post
Share on other sites



See this function - ControlGetText, and the example code for it. This should help you get started.


- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0