Hi
I am developing functinality to convert .jpg to pdf using webbrowser to open the file and save as pdf.
The problem is make script creating the web browser windows wait until the browser is finished opening the file save the pdf.
the webbrowser automatically saves the on naviagationcompleted event the PrintAsPDF method, but this event is not handled when running from a script function
Is there a solution to wait until a window has completed event handling when called from a script function?
When i run the debugger and breaks the browser finish ok - not when i run without debugger and using a very long sleep. The browser events does not complete.
Gunnar Gisleberg
Locus Solutions AS
Norway