Forum for the PDF-XChange Editor - Free and Licensed Versions
Moderators: TrackerSupp-Daniel , Tracker Support , Paul - Tracker Supp , Vasyl-Tracker Dev Team , Chris - Tracker Supp , Sean - Tracker , Ivan - Tracker Software , Tracker Supp-Stefan
askelly
User
Posts: 37 Joined: Wed Mar 15, 2017 4:01 pm
Post
by askelly » Wed May 03, 2017 11:49 pm
PDF-XChange Editor seems to be ignoring the bCopy parameter of the javascript saveAs() function. When bCopy is set to true, a copy of the current file should be created but the currently opened file should remain active in the editor. When bCopy is set to false, a copy of the current file should be created and then become the currently opened file in the editor (after saving and closing the original file). PDF-XChange Editor 6.0.321 is always behaving as if bCopy is false.
Code: Select all
this.saveAs({cPath: "/server/share/filename.pdf", bCopy: true});
yogi108
User
Posts: 74 Joined: Thu Mar 09, 2017 9:13 am
Location: Austria, Theiß
Contact:
Post
by yogi108 » Thu May 04, 2017 4:21 am
Hi,
I can confirm that the following just tested with extracted pages - document not named -
does not work as desired:
Code: Select all
this.saveAs({
cPath: "/g/myDoc.pdf",
bPromptToOverwrite: true,
bCopy: true
});
The not saved document will be saved under cPath and gets the new name also ....
kind regards,
"You cannot know the meaning of your life until you are connected to the power that created you.”
Shri Mataji Nirmala Devi , founder of Sahaja Yoga
Tracker Supp-Stefan
Site Admin
Posts: 17948 Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:
Post
by Tracker Supp-Stefan » Thu May 04, 2017 9:52 am
Hi askelly, yogi108,
I am checking with our devs now and asking them to take a look at the discussed problem.
We will post back here as soon as we have further news!
Regards,
Stefan
Ivan - Tracker Software
Site Admin
Posts: 3550 Joined: Thu Jul 08, 2004 10:36 pm
Location: Vancouver Island - Canada
Contact:
Post
by Ivan - Tracker Software » Thu May 04, 2017 8:09 pm
The issue is fixed in build 322 which should be available in few days.
Tracker Software (Project Director)
When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
yogi108
User
Posts: 74 Joined: Thu Mar 09, 2017 9:13 am
Location: Austria, Theiß
Contact:
Post
by yogi108 » Fri May 05, 2017 4:14 am
Cool!
Thanks a lot
kind regards,
"You cannot know the meaning of your life until you are connected to the power that created you.”
Shri Mataji Nirmala Devi , founder of Sahaja Yoga
Will - Tracker Supp
Site Admin
Posts: 6815 Joined: Mon Oct 15, 2012 9:21 pm
Location: London, UK
Contact:
Post
by Will - Tracker Supp » Fri May 05, 2017 7:07 am
If posting files to this forum, you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded.
Thank you.
Best regards
Will Travaglini
Tracker Support (Europe)
Tracker Software Products Ltd.
http://www.tracker-software.com