civilcalc Posted June 20, 2007 Share Posted June 20, 2007 ok, I have a window with text, not all the data i want is retrivable using wingettext() as it always seems to miss the bottom 20% of the text (i'm assuming this is down to how the apllication works) as i really need to retrive the last few lines (ie within the 20%) i am unable to do this using wingettext(), however the text i need is always visable in the hidden text area, but I ONLY want the hidden text, is it possible to retrive only the hidden text? thanks for all help in advance Link to comment Share on other sites More sharing options...
civilcalc Posted June 20, 2007 Author Share Posted June 20, 2007 anyone? Link to comment Share on other sites More sharing options...
ResNullius Posted June 20, 2007 Share Posted June 20, 2007 anyone?Whoa... a lot of us aren't on the forum 24/7. Have patience Grasshopper. Have you checked out the WinDetectHiddenText option in the help file? Link to comment Share on other sites More sharing options...
civilcalc Posted June 20, 2007 Author Share Posted June 20, 2007 yes, this only allows me to see the text, not see it exclusive. As the text is then embedded somewhere in the main bulk of text at various different locations, it is almost impossible to seperate it accurately. Link to comment Share on other sites More sharing options...
DW1 Posted June 20, 2007 Share Posted June 20, 2007 OCR AutoIt3 Online Help Link to comment Share on other sites More sharing options...
ResNullius Posted June 20, 2007 Share Posted June 20, 2007 I ONLY want the hidden text, is it possible to retrive only the hidden text?How about you load a variable with the visible text using OPT("WinDetectHiddenText",0) then switching to OPT("WinDetectHiddenText",1) and loading a variable with all the text, then doing a compare/parse of the results to show only the hidden text?. I think it's going to involve some array work because there's a possiblilty your hidden text could come in the middle of your All text results, but I'm sure it's doable... I might have a go if I have some time later today. Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted June 20, 2007 Moderators Share Posted June 20, 2007 (edited) How about you load a variable with the visible text using OPT("WinDetectHiddenText",0) then switching to OPT("WinDetectHiddenText",1) and loading a variable with all the text, then doing a compare/parse of the results to show only the hidden text?. I think it's going to involve some array work because there's a possiblilty your hidden text could come in the middle of your All text results, but I'm sure it's doable... I might have a go if I have some time later today.In appreciation to your eagerness to help, take it from someone that has become quite bitter to help those that do nothing to help themselves. If you want to learn as you help, take this lesson, don't help until they care enough about their problem, to post all the necessary information to help them with it first.The OP never even provided the name of the application in which he's needing help with, and decided to leave the question so broad, that the only thing that is left for us to do is chase our tales. Edited June 20, 2007 by SmOke_N Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
ResNullius Posted June 20, 2007 Share Posted June 20, 2007 In appreciation to your eagerness to help, take it from someone that has become quite bitter to help those that do nothing to help themselves. If you want to learn as you help, take this lesson, don't help until they care enough about their problem, to post all the necessary information to help them with it first.The OP never even provided the name of the application in which he's needing help with, and decided to leave the question so broad, that the only thing that is left for us to do is chase our tales.OK SmOke_N, point taken. I know you've been posting/helping out here longer/more than most so I shall benefit from your experience. I just found the problem as proposed somewhat challenging and so will probably work out some way of doing it if only to satisfy myself (not that I'll necessarily post it here unless/until the OP shows signs of trying on their own and providing more details) 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