sdfg4545 Posted October 7, 2009 Share Posted October 7, 2009 I run a Windows app that acts like a browser. The main window within the app displays html code that is downloaded from some unknown site (probably a web service). The Autoit "_IE..." functions dont seem to work. For my project, I will need to wait for the web page to load, click a link or a button, fill in some text boxes. In the main window of the app, I can 'View Source' and the HTML code is displayed (an ASP page) so we know it is html. Any functions for working with browsers other then IE? Thanks Link to comment Share on other sites More sharing options...
boogieoompa Posted October 7, 2009 Share Posted October 7, 2009 Well I would just use it like any 3rd party app. Use Send("{tab}") and if that doesnt work mouseclick($buttonA[0],$buttonA[1])look for something in the window that indicates when the page loads and do a pixelsearch that checks it against some array. That is unless you can find some API calls for it. If you mention the specific browser there may be easier ways of doing this but with a standalone app the only thing you really hvae to go on is tab order and pixels, without reconstructing the entire webpage of course. Link to comment Share on other sites More sharing options...
sdfg4545 Posted October 7, 2009 Author Share Posted October 7, 2009 I can work with TABs, thats pretty simple, thanks for the reminder. Working with pixels sounds tougher, I hope there is an easier solution. I'll think about it some more. Link to comment Share on other sites More sharing options...
boogieoompa Posted October 7, 2009 Share Posted October 7, 2009 (edited) Yeah sadly enough tab and shift+tab has been my level of "integration" for a number of apps. Also dont forget about controlclick. Usually doesnt work too well with HTML but you never know. Edited October 7, 2009 by boogieoompa 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