Jump to content
Sign in to follow this  

reading information from a program, but no distinct Id tags

Recommended Posts

Hi guys, iv been working on a code that im using in a workrelated way

so far the program i am reading from has a few tags like "[CLASS:Edit; INSTANCE:57]" ect,

however as this program is not that great it seems, some of the "inputfields" that shows info are registered as

[CLASS:Button; INSTANCE:198] however inside there it is like 4 boxes showing information.

ie: Class button!

however some of the information i'm trying to exstract is shown in hidden text and visible text, so i where just wondering is there a way to extract this information?

Edited by pezo89

Share this post

Link to post
Share on other sites

Have you tried enabling hidden text? With some programs, I also have to enable searching child windows, but it is more for window recognition, not controls. just try

Opt('WinDetectHiddenText', 1)
Opt('WinSearchChildren', 1)
$wTitle = 'Your Window Title'
$Control = '[CLASS:Button; INSTANCE:198]'
WinWait($wTitle, '')
MsgBox(262208, 'Returned Text', ControlGetText($wTitle, '', $Control))

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...