Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Faxing using ScriptEditor

Status
Not open for further replies.

jrrala

IS-IT--Management
Oct 4, 2002
4
0
0
GB
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.
 
jrrala,

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"
[pc2]
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.

 
jrrala,

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"
[pc2]
Want good answers? Read FAQ401-2487 first!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top