Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
hi,
I'm using below function code to change my pdf report output file name which is created by using cutepdf writer
but while executing this script i have to input the file name in save as dialog box which i want to assign automatically using script, please advise.
========================================
Function printReportPDF(pdfOutputFile)
Set
"HKEY_CURRENT_USER\Software\Custom PDF Printer\OutputFile"
, pdfOutputFile, "REG_SZ"
"HKEY_CURRENT_USER\Software\Custom PDF Printer\BypassSaveAs"
, "1", "REG_SZ"
WSHShell = nothing
End