Jump to content

Search Text in CaptureScreen


Recommended Posts

I am doing Data entry in Tims green Screen using AutoIT. The entry is done in Two Screens. Once Data is retered in Screen 1 and Enter Key is Pressed, the Second Screen appears provided the data entered are valid. Similarly onece data are entered in Screen2 and enter key is pressed cursor is back on Screen1 provided data entered on Screen2 are Valid. Both the screen have same headings and Footings. So I need to Identify the two screens by some other constant text on the screens. The system is not Microsoft windows based. So only information available to WinnGetText are windows header and footer. The information are identical. However CaptureScreen gives me BMP/JPG screen shot whic has all information I need. Is there a way to search for a text in the contents of these

Screens? I will appreciate any one giving me a clue.

Link to comment
Share on other sites

I am doing Data entry in Tims green Screen using AutoIT. The entry is done in Two Screens. Once Data is retered in Screen 1 and Enter Key is Pressed, the Second Screen appears provided the data entered are valid. Similarly onece data are entered in Screen2 and enter key is pressed cursor is back on Screen1 provided data entered on Screen2 are Valid. Both the screen have same headings and Footings. So I need to Identify the two screens by some other constant text on the screens. The system is not Microsoft windows based. So only information available to WinnGetText are windows header and footer. The information are identical. However CaptureScreen gives me BMP/JPG screen shot whic has all information I need. Is there a way to search for a text in the contents of these

Screens? I will appreciate any one giving me a clue.

Check this link:

http://www.autoitscript.com/forum/index.ph...st&p=382577

Edited by Andreik

When the words fail... music speaks.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...