Change Properties from command line

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

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan

Post Reply
gyes2022
User
Posts: 3
Joined: Fri Dec 23, 2022 2:36 pm

Change Properties from command line

Post by gyes2022 »

Hello Team,

I hope you are doing well.

I am new to PDF-Tools. I seacrhed on documentation and on the forums but I did not find what I am looking for. Could you please help me with my use case below?

I would like to run pdftools from command line, executing the changeProps tool, change the Author/Keywords of an exsitent pdf and saved it. I am expecting something like

pdftools /changeProps test.pdf author=gyes

is that possible? if yes, could you please tell me what is the correct syntax?

Thanks and regards,
Gyes
User avatar
Paul - Tracker Supp
Site Admin
Posts: 6837
Joined: Wed Mar 25, 2009 10:37 pm
Location: Chemainus, Canada
Contact:

Re: Change Properties from command line

Post by Paul - Tracker Supp »

Hi Gyes,

here is the manual page for the PDF-Tools command line options: https://help.pdf-xchange.com/pdfxt ... ons_t.html

It allows you to call a specific tool, so create a custom Tool in the UI, test it, then call it from the command line is the paradigm.

I am keen to hear how that goes for you. Let us know how that works out?
Best regards

Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com
gyes2022
User
Posts: 3
Joined: Fri Dec 23, 2022 2:36 pm

Re: Change Properties from command line

Post by gyes2022 »

Hello Paul,

thank you so much for your quick reply.

I already took a deep look at the user manual and I did a lot of trials with the UI. But in the UI, it seems I can set the value of the property wiht a defined value or using the available options. The problem is I didn't find an option to say "use the value I am passing via the command line".

Am I missing anything? Sorry and thank you again for your help!

Regards,
Gyes
User avatar
Paul - Tracker Supp
Site Admin
Posts: 6837
Joined: Wed Mar 25, 2009 10:37 pm
Location: Chemainus, Canada
Contact:

Re: Change Properties from command line

Post by Paul - Tracker Supp »

Hi Gyes,

got it. That is not an option. I asked Dev the team of that is something we would consider adding, but the request was rejected.

This is not something that will be added I am afraid.

regards
Best regards

Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com
gyes2022
User
Posts: 3
Joined: Fri Dec 23, 2022 2:36 pm

Re: Change Properties from command line

Post by gyes2022 »

Ok, thank you anyway. At least i Know I need to investigate some alternatives :)

Thank you so much and of course, have a merry Xmas! :)
User avatar
Paul - Tracker Supp
Site Admin
Posts: 6837
Joined: Wed Mar 25, 2009 10:37 pm
Location: Chemainus, Canada
Contact:

Re: Change Properties from command line

Post by Paul - Tracker Supp »

Understood.

And a very Merry Christmas to you too!
Best regards

Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com
Post Reply