Named destinations rename function

Forum for the PDF-XChange Editor - Free and Licensed Versions

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Paul - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

skaplan
User
Posts: 1
Joined: Wed Jun 04, 2025 10:34 pm

Named destinations rename function

Post by skaplan »

I am new to this forum and don't know my way around yet, but I do have a question that someone here might be able to address. I would like to know if there is a way to bulk rename "named destinations." For example, I would like each named destinations to be that of the bookmark from which each is derived, but I would like to delete all spaces and limit the length to 31 characters. In this way the named destinations would be consistent with those created by a co-worker using different software. Whatever solution there is should not in any way change the bookmarks, which need to be left as is.
User avatar
Daniel - PDF-XChange
Site Admin
Posts: 11243
Joined: Wed Jan 03, 2018 6:52 pm

Re: Named destinations rename function

Post by Daniel - PDF-XChange »

Hello, skaplan

I split this out of the original topic you had posted in. In the future, you can use the "new topic" button at the top of any forum to create a discussion area, if you cannot find an existing topic relative to the question at hand.

To directly answer your question today, I am sorry to say that no, there are not direct Destination manipulation options like this. The closest that could be achieved through our UI actions would involve making changes to the bookmark in question, and then using the "convert to named destination" function, to generate a new set of destinations, based on the bookmark title and such.

It may be possible to do more with Javascript, but if memory serves, Js access to destination data is somewhat scarce... If you know how to work in Javascript, the Acrobat JS API reference manual may help with investigating that possibility: https://opensource.adobe.com/dc-acrobat ... croJS.html

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