Hi Guys,
here is the relevant code:
Func XYZClick()
$invoicenumber = GUICtrlRead($Invoice_Number)
$prog = "c:\pdf\pdftk.exe" ; paths with spaces must be enclosed in " quotes "
$orgfile = "c:\report.pdf"
$stampfile = "c:\pdf\xyz.pdf"
$outputfile = FileSaveDialog('"XYZ File Saver"','"\\my server\Emailed Invoices"',".pdf","",$invoicenumber,"")
RunWait("cmd.exe /c" & $prog & " " & $orgfile & " stamp " & $stampfile & " output " & $outputfile, "", @SW_SHOW)
EndFunc ;==>XYZClick
I can't get the file save dialog to work, what am I doing wrong?
Thanks.
CS