in Java-Script-Konsole :
I get the file I want
when called:
this.exportAsFDF(true, true, null, false,"werte.fdf");
but
With New Process
.StartInfo.WindowStyle = ProcessWindowStyle.Hidden
.StartInfo.FileName = PdfXChExe
.StartInfo.Arguments = " /runjs: Log =yes " &
Chr(34) & fdf_js & Chr(34) & " " &
Chr(34) & pdf_infile & Chr(34)
.Start()
.WaitForExit()
End With
fdf_js contain: this.exportAsFDF(true, true, null, false,"werte.fdf");
pdf_infile heißt : "E:\Dokumente\pbeakk.pdf"
message in LOG:
------ Document "E:\Dokumente\pbeakk.pdf": ------
Result[OK]:
>
<
===========================================================================================================
but "E:\Dokumente\werte.fdf"
is not present.
What's my mistake?
.fdf after 'this.exportAsFDF' failed
Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
- Vasyl-Tracker Dev Team
- Site Admin
- Posts: 2353
- Joined: Thu Jun 30, 2005 4:11 pm
- Location: Canada
Re: .fdf after 'this.exportAsFDF' failed
Hi PeMü.
I guess the problem was caused by whitespace between "/runjs:" and "Log" parts. Please avoid using extra spaces when it's unnecessary.
for example I tried this in system's CMD utility:
PDFXEdit.exe /runjs:Log=yes "e:\Dokumente\script.js" "e:\Dokumente\pbeakk.pdf"
Cheers.
I guess the problem was caused by whitespace between "/runjs:" and "Log" parts. Please avoid using extra spaces when it's unnecessary.
for example I tried this in system's CMD utility:
PDFXEdit.exe /runjs:Log=yes "e:\Dokumente\script.js" "e:\Dokumente\pbeakk.pdf"
Cheers.
Vasyl Yaremyn
Tracker Software Products
Project Developer
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Tracker Software Products
Project Developer
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Re: .fdf after 'this.exportAsFDF' failed
Thank you, it worked.
- Tracker Supp-Stefan
- Site Admin
- Posts: 17941
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
- Contact: