Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Invisible or Hidden Fields 1

Status
Not open for further replies.

Dameat

Technical User
Oct 16, 2006
6
CA
While using MSWord VBA to scrape a screen I looked at the results and found that my scrapings contained more info that the monitor did.

This is a summary screen where only the options that are applicable show up on the monitor, but Extra is able to scrape the other text from screen as well.

Is there a way for Extra to differentiate between "hidden" fields and the rest of the screen?
 
What are getting vs what your expecting?

[thumbsup2] Wow, I'm having amnesia and deja vu at the same time.
I think I've forgotten this before.


 


You ought to be able to know where, "the rest of the screen" is, I would think.

Skip,

[glasses] [red][/red]
[tongue]
 
I'll use myscreen.getstring(1,1,80)

The monitor displays: (correctly)
"Customer #5000 Last Purchase Date: Nov. 5, 2005"

The output to word however is: (incorrect)
"Customer #5000 Suspended Last Purchase Date: Nov. 5, 2005"

The problem is that EVERYTIME I read that section of the screen with the getstring command it returns "Suspended" with any customer. It happens similarily with all the fields on that screen.

In my program I need to be able to tell if the customer is actually suspended.
 
Sounds like they're using colors/graphics to "hide" the data. I'm not really sure how you would skip hidden information. I'd guess your screen.area object could possibly provide you with this information.
 
Thank you Skie. Your suggestion seems to be exactly what I need to use.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top