Can anyone inform me whether Cognos script editor is capable of automatically faxing Impromptu reports using a fax client in the same way Outlook emails them.
You can always use SendKeys to emulate keyboard entry to run any windows application from within a macro. If the fax client is an OLE-compatible server, then the macro language should also be able to do anything exposed in the fax client's API. Look at the docs on your fax client to see what you can do with it programatically.
Regards,
Dave Griffin
The Decision Support Group
Reporting Consulting with Cognos BI Tools
"Magic with Data" Want good answers? Read FAQ401-2487 first!
Hi Dave -
Thanks for your reply.
I've already tried this and the SendKeys don't kick in as the script still seems to be waiting for the objImpRep.Print command to finish, so although the fax client is initialsed the SendKeys won't take over, even with the AppActivate command.
It sounds like you are trying to fax directly from Impromptu using a fax printer driver. Have you tried saving the report in a fax-compatible format (perhaps Acrobat?) and sending it via SendKeys as a file, rather than trying to directly print to the fax print driver?
Regards,
Dave Griffin
The Decision Support Group
Reporting Consulting with Cognos BI Tools
"Magic with Data" Want good answers? Read FAQ401-2487 first!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.