scan the screen looking for text

smiler44

Registered User.
Local time
Today, 07:46
Joined
Jul 15, 2008
Messages
671
I have managed to open Internet Explorer and paste in the web site address that I want to go to. The web page has loaded.

I now need to scan the screen looking for certain text, I would also like to scan the screen at particular row and column and then so many charectors. for example

Code:
'6 is column from left, 3 is row down from top and 9 is number of 'charectors to retrive
 
dim Getstring as string 
Getstring(6, 3, 9)
textbox1.text = Getstring

smiler44
 
If all you're doing is looking for text, you need not do it in a browser window.

Load the URL into memory and then save it locally.
Then open the file in memory and scan it line by line.
 
Bilbo,
1. can you explain a bit more on how to do this?
2. I do need to do this in a browser as once I find the matching text I want to send a mouse click to that point, hopefully it will be a file name that I can open. It is also a way of making sure the web page has loaded.
I am trying to find a way to have my code go so many "rows" down from the top, so many "columns" from the left and then capture the next X number of charectors to the right and also have my curser go to a particular point on the screen and click.

Sounds easy, seems impossible

smiler44
 

Users who are viewing this thread

Back
Top Bottom