phew Posted November 12, 2007 Share Posted November 12, 2007 hi, i wondered if there is any way to find a certain area in an hidden IE-window created with _IECreate()? for example i open www.google.com with _IECreate() in hidden mode and click the link "Groups" by finding it with a PixelSearch(). it would be kinda disturbing when there would always open up the ie window and my mouse jump onto the target-pixel and do click a left-mouse-click, so i tried to find a way making the whole procedure hidden, but at least i couldn't find any working one! some ideas needed! greeeeeets, thanks Link to comment Share on other sites More sharing options...
BigDod Posted November 12, 2007 Share Posted November 12, 2007 Until a window is displayed on the screen it has no pixels to search for. Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother Link to comment Share on other sites More sharing options...
jvanegmond Posted November 12, 2007 Share Posted November 12, 2007 (edited) Until a window is displayed on the screen it has no pixels to search for.Technically, the pixels are there. They're just hidden.hi,i wondered if there is any way to find a certain area in an hidden IE-window created with _IECreate()?for example i open www.google.com with _IECreate() in hidden mode and click the link "Groups" by finding it with a PixelSearch(). it would be kinda disturbing when there would always open up the ie window and my mouse jump onto the target-pixel and do click a left-mouse-click, so i tried to find a way making the whole procedure hidden, but at least i couldn't find any working one!some ideas needed!greeeeeets,thanks Click the group link by using _IELinkClickByText. Edited November 12, 2007 by Manadar github.com/jvanegmond Link to comment Share on other sites More sharing options...
phew Posted November 12, 2007 Author Share Posted November 12, 2007 thanks for the suggestion with _IEClickLinkByText() but i need a pixelsearch because the link's text is variegating all the time greets Link to comment Share on other sites More sharing options...
jvanegmond Posted November 12, 2007 Share Posted November 12, 2007 thanks for the suggestion with _IEClickLinkByText() but i need a pixelsearch because the link's text is variegating all the timegreetsNo pixelsearch for you mister! The only reason you should ever use PixelSearch in Internet Explorer, is when you are automating Java. There are other alternatives. Maybe, the alt text stays the same all the time or maybe the position in the page is the same so that the index is also the same _IELinkClickByIndex. Or maybe the text is partially the same, or maybe even the url is somewhat the same. Once you know what the link has in common each time you can automate it. github.com/jvanegmond 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