WinBatch® Technical Support Forum

All Things WinBatch => WinBatch => Topic started by: RAK on October 20, 2013, 04:11:52 PM

Title: fire.event
Post by: RAK on October 20, 2013, 04:11:52 PM
I have a web page search automated using OLE and the fire.event function - it works well. To speed things up in other procedures, I have bpassed browsers using the WWINT44i.DLL. Is there any way to trigger an 'onclick' event using the WWINT44I.DLL?
Title: Re: fire.event
Post by: Deana on October 21, 2013, 08:40:11 AM
The WinInet extender does not process JavaScript. The click event is raised when the user clicks on an element in a browser. The click event will occur after the mousedown and mouseup events. These actions don't really apply in the context of a WinInet script.

You will either need to figure out the JavaScript does and write code to emulate that (maybe see if the web page provider has given a non-javascript version of the link) or consider using COM automation of InternetExplorer.
Title: Re: fire.event
Post by: kdmoyers on October 21, 2013, 09:56:15 AM
There's also tools like PhantomJS ( http://phantomjs.org/ ) for automating web sites.