Sign in to follow this  
Followers 0
Guest inbali

Getting test within a window

4 posts in this topic

#1 ·  Posted (edited)

Getting text within a window

I have a window, divided to several parts,

I need to get the text from one of the edit box in the window

(Then, Compare it with my expected text and

Save the result in a file)

I could not find the way to get the text

Can anyone help

:(

Thanks

Edited by inbali

Share this post


Link to post
Share on other sites



Getting text within a window

I have a window, divided to several parts,

I need to get the text from one of the edit box in the window

(Then, Compare it with my expected text and

Save the result in a file)

I could not find the way to get the text

Can anyone help

:(

Thanks

<{POST_SNAPBACK}>

try post your code, then i could take a look at it

Share this post


Link to post
Share on other sites

Getting text within a window

I have a window, divided to several parts,

I need to get the text from one of the edit box in the window

(Then, Compare it with my expected text and

Save the result in a file)

I could not find the way to get the text

Can anyone help

:(

Thanks

<{POST_SNAPBACK}>

Use tab keys or mouse clicks to give focus to this window. Send a ctrl-a (for select all) and then a ctrl-c (for copy to clipboard). You can use the ClipGet() function to return the contents of the clipboard to a variable. Finally, you can use StringInStr() to search for the desired text.

-John

Share this post


Link to post
Share on other sites

Use tab keys or mouse clicks to give focus to this window.  Send a ctrl-a (for select all) and then a ctrl-c (for copy to clipboard).  You can use the ClipGet() function to return the contents of the clipboard to a variable.  Finally, you can use StringInStr() to search for the desired text.

-John

<{POST_SNAPBACK}>

I would use Winactivate("Window")

I don't understand, do you want to get some txt within a GUICtrlCreateEdit, and then compare it with some other text?

If you have problems, post your script and ill look at it :(

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