Add to document a count of the number of files merged?

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

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

Post Reply
chrisjj
User
Posts: 403
Joined: Mon Aug 02, 2021 3:47 pm

Add to document a count of the number of files merged?

Post by chrisjj »

Is there anyway to do this?

I can find no macro for it, strangely.
User avatar
Daniel - PDF-XChange
Site Admin
Posts: 10904
Joined: Wed Jan 03, 2018 6:52 pm

Re: Add to document a count of the number of files merged?

Post by Daniel - PDF-XChange »

Hello, chrisjj

indeed it does not seem to exist, we do have a number of source pages option, but not one for number of source files. I have raised this with the Dev team, hopefully we can see this added in the future.

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
chrisjj
User
Posts: 403
Joined: Mon Aug 02, 2021 3:47 pm

Re: Add to document a count of the number of files merged?

Post by chrisjj »

I know the macro does not exist, thanks.

But is there any other way. E.g. some configurable counter? ToC knows the value, for example.
User avatar
Daniel - PDF-XChange
Site Admin
Posts: 10904
Joined: Wed Jan 03, 2018 6:52 pm

Re: Add to document a count of the number of files merged?

Post by Daniel - PDF-XChange »

Hello, chrisjj

Unfortunately not one that I am aware of. Could you elaborate on what you mean by "the ToC knows the value"?

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
chrisjj
User
Posts: 403
Joined: Mon Aug 02, 2021 3:47 pm

Re: Add to document a count of the number of files merged?

Post by chrisjj »

Thanks.

I was referencing the fact the command Build Table of Contents clearly knows the number of files merged.
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19794
Joined: Mon Jan 12, 2009 8:07 am
Contact:

Re: Add to document a count of the number of files merged?

Post by Stefan - PDF-XChange »

Hello chrisjj,

When you are merging the files - you can also know the number, and you can then e.g. add a watermark with that number if desired.
As Daniel said above - there is no automated way to do this even though yes the tool doing the merge would know the total number of files merged.

Kind regards,
Stefan
chrisjj
User
Posts: 403
Joined: Mon Aug 02, 2021 3:47 pm

Re: Add to document a count of the number of files merged?

Post by chrisjj »

> When you are merging the files

To be clear, I am not merging the files. The tool is.

> - you can also know the number,

How can I know the number when the tool is merging files?
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19794
Joined: Mon Jan 12, 2009 8:07 am
Contact:

Re: Add to document a count of the number of files merged?

Post by Stefan - PDF-XChange »

Hello chrisjj,

When you are initiating the merging process - you are adding the files to the tool, right?
At that step of the process you would have a selection of files you want to merge - and would know their number.

In any case - as already mentioned above - we do not have such a feature at this time.

If you are also including bookmarks for each filename - you can then also count that number of bookmarks created.

Kind regards,
Stefan
chrisjj
User
Posts: 403
Joined: Mon Aug 02, 2021 3:47 pm

Re: Add to document a count of the number of files merged?

Post by chrisjj »

> When you are initiating the merging process - you are adding the files to the tool, right?

I cannot imagine what gave you that idea.

No. When I initiate, I just Run the tool. No further action by me.

The tool itself adds whatever files in finds in a Optons named folder.

> If you are also including bookmarks for each filename - you can then also count that number of bookmarks created.

How can I do that before "add a watermark with that number if desired"?
User avatar
Daniel - PDF-XChange
Site Admin
Posts: 10904
Joined: Wed Jan 03, 2018 6:52 pm

Re: Add to document a count of the number of files merged?

Post by Daniel - PDF-XChange »

Hello, chrisjj

Before we begin, I should mention that it has already been said, this is something I passed along to the Dev team for consideration. I cannot promise a change, but in a future release it may be available. I am afraid when/if it is implemented, you will not gain access to this feature without updating the software.

Now, going back a little bit:
chrisjj wrote: Tue Aug 06, 2024 11:44 pm I was referencing the fact the command Build Table of Contents clearly knows the number of files merged
This is something which I still do not understand your comment of. No-where in the Create ToC command, action, or output, is there a clear indicator on the number of input files. I am confused as to why you believe this is something which that action knows, and I would like an explanation on how you came to the conclusion that information is available to it?

Finally:
chrisjj wrote: Wed Aug 07, 2024 11:45 am
Stefan wrote:If you are also including bookmarks for each filename - you can then also count that number of bookmarks created.
How can I do that before "add a watermark with that number if desired"?
As Stefan and I both mentioned, there is no automated way of doing so at this time. This was an "easier after the fact" manual method suggestion. He means that when the file is merged, you can open it up, and count the number of root bookmarks, assuming you configured your tool to create one root bookmark per file.

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
chrisjj
User
Posts: 403
Joined: Mon Aug 02, 2021 3:47 pm

Re: Add to document a count of the number of files merged?

Post by chrisjj »

Stefan, if you can tell me the process for your count that number of bookmarks created before adding a watermark with that number if desired, please do. Thanks.

To avoid further misunderstanding perhaps more support staff ping-pong could be avoided. Thanks.
User avatar
Daniel - PDF-XChange
Site Admin
Posts: 10904
Joined: Wed Jan 03, 2018 6:52 pm

Re: Add to document a count of the number of files merged?

Post by Daniel - PDF-XChange »

Hello, chrisjj

Stefan is done for the day, but there is no miscommunication on our end, I spoke with Stefan directly about this, and offered you his reply alongside my post. His suggestion was purely a manual approach.

There is at this time, no way to accomplish this automatically.

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
chrisjj
User
Posts: 403
Joined: Mon Aug 02, 2021 3:47 pm

Re: Add to document a count of the number of files merged?

Post by chrisjj »

> His suggestion was purely a manual approach.

Sure. No-one suggested otherwise.

But still I would appreciate hearing his actual process. Because I cannot fathom it.
User avatar
Daniel - PDF-XChange
Site Admin
Posts: 10904
Joined: Wed Jan 03, 2018 6:52 pm

Re: Add to document a count of the number of files merged?

Post by Daniel - PDF-XChange »

Hello, chrisjj

The process would be as simple as:
1. Convert the document as normal.
2. Open in PDF-Xchange Editor.
3. Open Bookmarks pane (Ctrl_B).
4. collapse all bookmark groups, then count the number "top level" bookmarks, as there will be one per input document.

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
Post Reply