Hello
I am using PDFCreator 0.9.3 with Windows XP SP3. Now I want to use PDFCreator from a VBScript. Therefor I tool the Convert2PDF.vbs-Skript and modified it or my purposes. Everything works find except one thing: if der PDFCreator ist allready started, I get an error because it can only be started once.
So I modified the skript. Instead of
Set PDFCreator = WScript.CreateObject("PDFCreator.clsPDFCreator", "PDFCreator_")
PDFCreator.cStart
I used:
Set PDFCreator = WScript.GetObject("", ""PDFCreator.clsPDFCreator", "PDFCreator_")
if not PDFCreator.cProgramIsRunning then
PDFCreator.cSTart
end if
Works fine so far. My problem starts, when I am converting a Word document to pdf. If PDFCreator is already running at startup of the skript, I don't get an eReady-Event when the conversion is finished.
Any suggestions how to get notified when PDFCreator has finished the conversion?
Greetings
Erwin