Destination Folder

Forum for the PDF-XChange Editor - Free and Licensed Versions

Moderators: Daniel - PDF-XChange, PDF-XChange Support, Vasyl - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Paul - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

Post Reply
oporanen
User
Posts: 3
Joined: Tue Jan 14, 2025 1:04 pm

Destination Folder

Post by oporanen »

Hello,
I'm working on an application where the PDF-XChange editor is launched using system command
(command line option). When the editor starts, the user extracts pages
(main menu Organize, submenu Extract Pages) from the document and saves the new document
to the same directory with a new name.
The default directory is C:\Users\<username>\Documents,
but the correct save directory should be the source directory of the original document.
if the user clicks the Browse button, the previouoly used folder will be opened, which is not any better.
Is there any command line option to set this default directory as source folder for the new edited document
when starting the PDF-XChange editor?

Regards,
Ossi
User avatar
Daniel - PDF-XChange
Site Admin
Posts: 10910
Joined: Wed Jan 03, 2018 6:52 pm

Re: Destination Folder

Post by Daniel - PDF-XChange »

Hello, oporanen

The End user Editor is not designed to be used or controlled in a fully automated way via CMD, your users accessing the software should be performing most of those actions manually.
If you need to process files in an automated way, we offer the PDF-Tools batch processing application to accomplish those tasks.
Alternatively, if you are looking to add our functionality to a programming project of yours, you will want to contact our Sales team via Sales@PDF-XChange.com to look into an SDK license allowing that kind of access control.

Now, assuming that your users are accessing these files manually through the end user Editor, the default save location can be changed from the preferences (Ctrl_K) under the document category:
image.png
Once this is set, save As operations should default to the existing documents folder. Note that if you are using a "new document" or any "create/combine" PDF actions, the "current" document does not have a source folder until it is saved the first time. In those cases, manual navigation will be necessary.

Kind regards,
Dan McIntyre - Support Technician
PDF-XChange Co. LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
oporanen
User
Posts: 3
Joined: Tue Jan 14, 2025 1:04 pm

Re: Destination Folder

Post by oporanen »

Thank You for your reply,

This Ctrl-K functionality actually changes the Save As function in such a way that
the Browse button opens the directory which the user has set, in this case
the source directory of the document.
But it does not change this Organize - Extract Pages functionality,
and the user still have to set the target directory using Copy - Paste method or
browsing the right directory.
I think this kind of functionality (Ctrl-K) could be useful for the Extract Pages as well and
it would make the functions of the software more consistent.

Regards,
Ossi
User avatar
Daniel - PDF-XChange
Site Admin
Posts: 10910
Joined: Wed Jan 03, 2018 6:52 pm

Re: Destination Folder

Post by Daniel - PDF-XChange »

Hello, oporanen

I see, my apologies that the suggestion above did not help for your needs.

Last time that I checked on it, extract pages was left separate and using its own dedicated "last used" folder logic with good reason, and so there were no planned changes for it. I can raise the topic once again, but I cannot promise when/if we will see a change here.

After speaking with the dev team, I found an answer. It wasn't changed because it already has the option to do so through macros:
image.png
Kind regards,
Dan McIntyre - Support Technician
PDF-XChange Co. LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
oporanen
User
Posts: 3
Joined: Tue Jan 14, 2025 1:04 pm

Re: Destination Folder

Post by oporanen »

Hello,

Thank you for this answer.
The macro setting %[FolderName] for the Filename really works even if the Destination Folder seems to point elsewhere.
Because we need more automated process for our work, I exported settings to a file, where the settings are read when launching PDF-XChange editor in our software.
So, I think the problem is now solved.

Thank you so much!

Regards,
Ossi
User avatar
Dimitar - PDF-XChange
Site Admin
Posts: 2195
Joined: Mon Jan 15, 2018 9:01 am

Destination Folder

Post by Dimitar - PDF-XChange »

:)
thomasligthart
User
Posts: 2
Joined: Wed Apr 28, 2021 9:16 am

Re: Destination Folder

Post by thomasligthart »

Dear PDFXchange, Dimitar,

is there also a solution or work-around for combining PDF's via the explorer shell menu?

we also struggle with having to manually navigate to the source folder,
image.png
User avatar
Dimitar - PDF-XChange
Site Admin
Posts: 2195
Joined: Mon Jan 15, 2018 9:01 am

Re: Destination Folder

Post by Dimitar - PDF-XChange »

Hello, thomasligthart,

Do you mean to combine files from several folders, or that this menu is missing for you?
Post Reply