Jump to content

Recommended Posts

Posted

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

Posted

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.

Posted

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.

Posted (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 by boogieoompa

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
×
×
  • Create New...