Skip to content

Oc

My feedback

1 result found

  1. 4 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    An error occurred while saving the comment
    Oc commented  · 

    If you want to use the normal process (select the text and add the bookmark directly), I used the code below to remove the accents after they were all created. (in my case, I only noticed the error of 40 ready files and all had this problem, which did not occur when using the updated acrobat reader, but occurred in some readers and some browsers

    for (i=0; i<app.activeDocument.hyperlinkTextDestinations.length; i++){


    app.activeDocument.hyperlinkTextDestinations[i].name=app.activeDocument.hyperlinkTextDestinations[i].name.replace ("ç","c")
    app.activeDocument.hyperlinkTextDestinations[i].name=app.activeDocument.hyperlinkTextDestinations[i].name.replace ("ó","o")
    app.activeDocument.hyperlinkTextDestinations[i].name=app.activeDocument.hyperlinkTextDestinations[i].name.replace ("á","a")
    app.activeDocument.hyperlinkTextDestinations[i].name=app.activeDocument.hyperlinkTextDestinations[i].name.replace ("í","i")
    app.activeDocument.hyperlinkTextDestinations[i].name=app.activeDocument.hyperlinkTextDestinations[i].name.replace ("õ","o")
    app.activeDocument.hyperlinkTextDestinations[i].name=app.activeDocument.hyperlinkTextDestinations[i].name.replace ("ã","a")

    }

Feedback and Knowledge Base