Hi,
in my German InDesign CS6 the "#" in the navto hyperlinks is converted into "%23", resulting in hyperlinks that don't work.
Does anyone have the same problem?
Does Adobe know the problem?
Hoping for a solution
Almute
@Almute – Bug confirmed by me.
You might think that you could correct that if you edit the URL in the Hyperlinks panel (in #3 of your screen grabs). If you reopen the hyperlink the URL in the panel will switch to %23. If you choose "cancel" instead of "ok" then the "#" is shown again.
But the point is, that editing the text input field in your screen grab #3 does only edit the name property of the hyperlink, not its destination URL!
With a script like the following JavaScript you'll get a stable situation, where both, the name AND the destination URL stays stable. Caution: here I only address the FIRST hyperlink in your hyperlinks collection of your document with the index number zero [0]:
//Your open document:
var d = app.documents[0];
//The FIRST hyperlink in the document's hyperlink collection:
var hl = d.hyperlinks[0];
hl.destination.name = "navto://7-01_Objektive#0";
hl.destination.destinationURL = "navto://7-01_Objektive#0";
Uwe
//EDIT: Since the advanced editing features of the forums are not available when posting, I have to provide code formatting in a second round edditing my message… (sigh!)
Message was edited by: Laubender
Thanks for your tips.
@Johannes: I don't want to work with buttons because my hyperlinks are in the text.
@Uwe: Thanks for your script.
Result: Since some more features in CS6 don't work like expected I now go back to CS5 with my actual project.
This means to abandone the second layout I created for the iPhone :-( and wait, until the hyperlink, the import of alternative layouts and PDF with zoom on iPhone work (see my other discussions I started yesterday).
Almute
North America
Europe, Middle East and Africa
Asia Pacific