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: 62
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: 11046
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: 62
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.