[bug] If no actions are performed on an opened file, it is not saved

This Forum is for the use of End Users requiring help and assistance for Tracker Software's PDF-Tools.

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Stefan - PDF-XChange

User avatar
Jensen Head
User
Posts: 616
Joined: Mon Sep 13, 2021 8:12 am

[bug] If no actions are performed on an opened file, it is not saved

Post by Jensen Head »

I want to assign names from Titles to all input PDF files. To do this, I create a tool from two actions: Choose Input Files and Save Documents. In the second action, I specify the mask %[DocTitle] for Filename. Expected behavior: files are named (renamed) the same as their titles. Actual behavior: file names are not changed.

PDF-XChange Editor 10.6.0, build 396
Microsoft Windows 10.0.19045.5854

Upd. The expected result occurs when the %[DocInfo:Title] mask is selected. It is not at all obvious that this is exactly how it should be done.
User avatar
Daniel - PDF-XChange
Site Admin
Posts: 11221
Joined: Wed Jan 03, 2018 6:52 pm

Re: [bug] If no actions are performed on an opened file, it is not saved

Post by Daniel - PDF-XChange »

Hello, Jensen Head

This one is an unfortunate side effect of a misnamed feature when this macro first came out. We cannot change the handling of the DocTitle macro (it pulls the filename), because many users may have created tools/systems which use it and those work as they need.

The DocInfo:Title option was later added to offer the function you are looking for, but sadly, the old one is not going to be changed. Perhaps one day it will be removed from the list, to reduce this confusion (I will check with the Dev team about that), but until then, both will co-exist for some time.

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