Bookmarks will not imported

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

Nimrod_189
User
Posts: 65
Joined: Wed Sep 23, 2009 8:39 am

Bookmarks will not imported

Post by Nimrod_189 »

Hi Folks,

Since May 13, 2025, bookmarks have no longer been imported with the PDF tool (Import Bookmarks from Text File). Before that, everything worked perfectly, and suddenly it stopped. I import the bookmarks will merging with my VBNet program, and nothing has changed. The Toolcaller is the same in PDFTool and in my VBNet-Program. :shock: :cry:

Code: Select all

    Public Function JoinPDFBookmark(sourceFiles As List(Of String), sTargetFile As String) As Boolean
10:     Dim p As New Process
20:     Dim sSource As String = ""
        'Dim sTargetPath As String = System.IO.Path.GetDirectoryName(sourceFiles(0))
        'https://help.tracker-software.com/pdfxt9/index.html?command-line-options_t.html
        'Dateien werden in einer Textdatei gespeichert und diese wird dann verarbeitet
        Dim tmpFile As String = System.IO.Path.Combine(TmpPathTarget, "Dateiliste.pdtfl")
        If System.IO.File.Exists(tmpFile) Then File.Delete(tmpFile)

        Dim FileList As StreamWriter = My.Computer.FileSystem.OpenTextFileWriter(tmpFile, True)


200:    For Each s As String In sourceFiles
210:        FileList.WriteLine(s)
220:    Next
230:    FileList.Close()

        If File.Exists(sTargetFile) Then System.IO.File.Delete(sTargetFile)

240:    Try
250:        p.StartInfo.FileName = "C:\Program Files\Tracker Software\PDF Tools\PDFXTools.exe"
260:        p.StartInfo.Arguments = "/RunTool {B404A7F2-BA30-46B9-865E493B71EC558D}"   'JoinPDFBookmark
270:        p.Start()
280:        p.WaitForExit()
290:        p.Close()
300:        Dim _Source() As String = System.IO.Directory.GetFiles(TmpPathTarget)

            For i = 0 To _Source.Count - 1
310:            If System.IO.Path.GetExtension(_Source(i)) = ".pdf" Then
                    System.IO.File.Move(_Source(i), sTargetFile)
                End If
            Next

320:        Return True
330:    Catch
340:        Return False
350:    End Try

    End Function

Have you changed anything in the program?

Nimrod
2025-06-07 06_46_13-Einstellungen.png
You do not have the required permissions to view the files attached to this post.
User avatar
Daniel - PDF-XChange
Site Admin
Posts: 11094
Joined: Wed Jan 03, 2018 6:52 pm

Re: Bookmarks will not imported

Post by Daniel - PDF-XChange »

Hello, Nimrod_189

My apologies, the screenshot you sent seems to be from the Split/merge PDF's tool, not a tool using the "import bookmarks from text file" action...
Testing locally, Tools seems to be working fine with the import from a text file, Can you confirm if the same issue occurs when you use the correct tool via our application UI, instead of calling it through your VB script?

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
Nimrod_189
User
Posts: 65
Joined: Wed Sep 23, 2009 8:39 am

Re: Bookmarks will not imported

Post by Nimrod_189 »

Yes, it is a Merge campaign and then the bookmarks from the "file listen.pdtfl should be read automatically. This has also worked absolutely perfectly in the past. Since the last update, the bookmarks have not been taken into account.

Thank you.
Nimrod_189
User
Posts: 65
Joined: Wed Sep 23, 2009 8:39 am

Re: Bookmarks will not imported

Post by Nimrod_189 »

Sorry, here the rest of my Tool-Properties:
2025-06-10 00_07_45-PDF-Tools.png
First of all i will create a "Dateiliste.pdtfl" with all files to merge.
From these files i want to add the bookmark for each file in the new target file.

In the past it works very fine.
You do not have the required permissions to view the files attached to this post.
User avatar
Daniel - PDF-XChange
Site Admin
Posts: 11094
Joined: Wed Jan 03, 2018 6:52 pm

Re: Bookmarks will not imported

Post by Daniel - PDF-XChange »

Hello, Nimrod_189

I am sorry, but you still have me slightly confused... in your first post you said:
Nimrod_189 wrote: Sat Jun 07, 2025 4:57 am Since May 13, 2025, bookmarks have no longer been imported with the PDF tool (Import Bookmarks from Text File).
But the "split/merge" action, does not make use of "import bookmarks from text file" in any capacity I am aware of, so I was under the impression you had simply sent the wrong screenshot..
If the issue does not relate to the "bookmarks from text file" functionality at all, I will test with only the split/merge function, using the "copy all" bookmarks option.

So far, In testing build 396 with split/merge, I was unable to reproduce the issue you report either. After merging I opened the input files, as well as the merged output, to double check, all bookmarks from the originals were properly in place for the new file:
PDFXEdit_T0BVsM9TCy.gif
Just to be sure... you mentioned the date, but not the actual build number.. Can you open PDF-Tools, and confirm in its "help > about" window, that you are indeed running build 396? If not, please do update to see if that helps.

Kind regards,
You do not have the required permissions to view the files attached to this post.
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
Nimrod_189
User
Posts: 65
Joined: Wed Sep 23, 2009 8:39 am

Re: Bookmarks will not imported

Post by Nimrod_189 »

I want to merge files and insert the file names as bookmarks in the target document.

As I said, everything worked fine with the tool I was using. I'll try it this weekend with a separate tool called "Import Bookmark by Text File."

My build is 396.

I'll get back to you when everything works.
User avatar
Daniel - PDF-XChange
Site Admin
Posts: 11094
Joined: Wed Jan 03, 2018 6:52 pm

Re: Bookmarks will not imported

Post by Daniel - PDF-XChange »

Hello, Nimrod_189

Thank you for clarifying. What you speak of now is "root bookmarks". That option is directly below the "bookmarks" option, and according to your screenshot is set to "Do note add".

This option needs to be set to the second option "root bookmark with filename" in order to get the result you are looking for:
image.png
My apologies, for how long this took to locate. Prior to now was it unclear that inserting new bookmarks relating to the filename was the option you were looking for.

Kind regards,
You do not have the required permissions to view the files attached to this post.
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
Nimrod_189
User
Posts: 65
Joined: Wed Sep 23, 2009 8:39 am

Re: Bookmarks will not imported

Post by Nimrod_189 »

Hello Daniel,

you made my day. :D

That was exactly the solution and now everything works again as it should. :idea: 8)
I love the Xchange viewer.

Thank you for your patience.

Nimrod
User avatar
Daniel - PDF-XChange
Site Admin
Posts: 11094
Joined: Wed Jan 03, 2018 6:52 pm

Bookmarks will not imported

Post by Daniel - PDF-XChange »

:)
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