Execute "Summarize Comments" before the pdf is closed

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

Post Reply
igorlima
User
Posts: 174
Joined: Sat Aug 22, 2020 12:16 pm

Execute "Summarize Comments" before the pdf is closed

Post by igorlima »

Hello!

Is it possible to create a javascript on Document Properties > Categories > Actions > Before Document Close to execute the Summarize Comments tool automatic?


image.png
image.png (1.81 KiB) Viewed 653 times

image(1).png
image(2).png


I searched but I didn't find anything. I have no knowledge on scripts or coding. :(

If anyone could help I would be thankful! :)
Igor
PDF-XChange Editor fan :)
User avatar
TrackerSupp-Daniel
Site Admin
Posts: 8436
Joined: Wed Jan 03, 2018 6:52 pm

Re: Execute "Summarize Comments" before the pdf is closed

Post by TrackerSupp-Daniel »

Hello, igorlima

I do not believe this is possible, but I have sent a message to one of our developers asking them to verify. If I find out it is possible, I will be sure to let you know what they have to say.

Kind regards,
Dan McIntyre - Support Technician
Tracker Software Products (Canada) LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
igorlima
User
Posts: 174
Joined: Sat Aug 22, 2020 12:16 pm

Re: Execute "Summarize Comments" before the pdf is closed

Post by igorlima »

Hello, Daniel!

Thank you, very much :)
Igor
PDF-XChange Editor fan :)
User avatar
rakunavi
User
Posts: 870
Joined: Sat Sep 11, 2021 5:04 am

Re: Execute "Summarize Comments" before the pdf is closed

Post by rakunavi »

Hi igorlima,

This should work.

Code: Select all

app.execMenuItem("cmd.comments.summarize");
Best regards,
rakunavi
TOP desires for PDFXCE
forum.pdf-xchange.com/viewtopic.php?t=39665 LassoTool
forum.pdf-xchange.com/viewtopic.php?t=38554 CmtGarbled
forum.pdf-xchange.com/viewtopic.php?t=37353 FulScrMultiMon
forum.pdf-xchange.com/viewtopic.php?t=41002 DisableTouchSelect
User avatar
TrackerSupp-Daniel
Site Admin
Posts: 8436
Joined: Wed Jan 03, 2018 6:52 pm

Re: Execute "Summarize Comments" before the pdf is closed

Post by TrackerSupp-Daniel »

Hello, rakunavi

Thank you very much! I hope this helps Igorlima with their task!

Kind regards,
Dan McIntyre - Support Technician
Tracker Software Products (Canada) LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
User avatar
rakunavi
User
Posts: 870
Joined: Sat Sep 11, 2021 5:04 am

Re: Execute "Summarize Comments" before the pdf is closed

Post by rakunavi »

Hi igorlima,

As a side note, most commands can be executed with app.execMenuItem if you use the customize toolbar feature and look up the ID in the properties dialog of the command you want.

CommandID.png

Best regards,
rakunavi
TOP desires for PDFXCE
forum.pdf-xchange.com/viewtopic.php?t=39665 LassoTool
forum.pdf-xchange.com/viewtopic.php?t=38554 CmtGarbled
forum.pdf-xchange.com/viewtopic.php?t=37353 FulScrMultiMon
forum.pdf-xchange.com/viewtopic.php?t=41002 DisableTouchSelect
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17810
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Execute "Summarize Comments" before the pdf is closed

Post by Tracker Supp-Stefan »

:)
igorlima
User
Posts: 174
Joined: Sat Aug 22, 2020 12:16 pm

Re: Execute "Summarize Comments" before the pdf is closed

Post by igorlima »

Hello, rakunavi!

Thank you very much!

I tried doing what you told me, but I didn't see the summarize comment file being created :(

image.png

image(1).png

Now i'm using "folder monitor" of PDF xchange tools and it seems to be working most of the time! :)

image(2).png

But thank you again!
Igor
PDF-XChange Editor fan :)
User avatar
rakunavi
User
Posts: 870
Joined: Sat Sep 11, 2021 5:04 am

Re: Execute "Summarize Comments" before the pdf is closed

Post by rakunavi »

Hi igorlima,

I'm glad you got to do what you wanted to do.
The above script only automates so far as to open the "Summarize Comments" dialog box before document close, so when it comes to automatic file generation without any user intervention, that's where PDF-Tools will come in. As an Editor PLUS user, I envy you for being able to use PDF-Tools.

Best regards,
rakunavi
TOP desires for PDFXCE
forum.pdf-xchange.com/viewtopic.php?t=39665 LassoTool
forum.pdf-xchange.com/viewtopic.php?t=38554 CmtGarbled
forum.pdf-xchange.com/viewtopic.php?t=37353 FulScrMultiMon
forum.pdf-xchange.com/viewtopic.php?t=41002 DisableTouchSelect
User avatar
Paul - Tracker Supp
Site Admin
Posts: 6829
Joined: Wed Mar 25, 2009 10:37 pm
Location: Chemainus, Canada
Contact:

Re: Execute "Summarize Comments" before the pdf is closed

Post by Paul - Tracker Supp »

That is really slick Rakunavi, I had not known that!
Best regards

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