pezo89 Posted January 16, 2011 Share Posted January 16, 2011 (edited) 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 January 16, 2011 by pezo89 Link to comment Share on other sites More sharing options...
Varian Posted January 16, 2011 Share Posted January 16, 2011 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 tryOpt('WinDetectHiddenText', 1) Opt('WinSearchChildren', 1) $wTitle = 'Your Window Title' $Control = '[CLASS:Button; INSTANCE:198]' WinWait($wTitle, '') MsgBox(262208, 'Returned Text', ControlGetText($wTitle, '', $Control)) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now