Copiar vínculo al Portapapeles
Copiado
I have several hundred pdf files and need to remove all the links in all the files. Can this be done with scripting or a plug-in?
Thanks
Copiar vínculo al Portapapeles
Copiado
What kind of links are they? Link objects? Buttons? Ad-hoc links added by the application over plain-text URLs? Something else? Please clarify.
Copiar vínculo al Portapapeles
Copiado
They are URLs to websites "https://..." with a few "mailto:...". No Ad-hoc links over plain text.
Copiar vínculo al Portapapeles
Copiado
Please share a sample page with these links, as your answer is a bit too vague to allow us to help you with this issue.
Copiar vínculo al Portapapeles
Copiado
Copiar vínculo al Portapapeles
Copiado
Yes, it is. And this tool edits a very specific kind of links, which is why I'm asking for further details...
Copiar vínculo al Portapapeles
Copiado
Did you find an answer to your question about removing weblinks from multiple files?
I have the same question. Thank you.
Copiar vínculo al Portapapeles
Copiado
Again, it depends what kind of links these are...
Copiar vínculo al Portapapeles
Copiado
If the document does not contain any comments or form fields that you would like to keep, the easiest thing to do is to flatten it.
Use this script in an Action:
this.flattenPages();
Copiar vínculo al Portapapeles
Copiado
Yes, that's the problem. I can use Action Wizard to flatten and save multiple files. But I need a way to just remove all weblinks (hyperlinks to URLs, because you asked earlier what kind of links) in multiple PDFs, while retaining comments or highlights.
This is easy to do with individual files but takes multiple steps -- opening a file, selecting "Edit PDF," then selecting "Links," then selecting "Remove Weblinks," then assuring Adobe you do actually want to remove all weblinks, then saving it. I'd like to do a batch process that just removes all weblinks from multiple PDFs and then saves them.
Thank you!
Copiar vínculo al Portapapeles
Copiado
Please share a sample file with those "web-links", before you remove them using this command.
Copiar vínculo al Portapapeles
Copiado
Copiar vínculo al Portapapeles
Copiado
Use this code to remove all of these links from the file without any prompts or anything like that:
this.removeWeblinks();
You can use it in an Action and process multiple files. Just remember to add a Save command after executing this code.
Copiar vínculo al Portapapeles
Copiado
Thank you!! That worked perfectly.
¡Prepárate! En enero llega una experiencia mejorada de Adobe Community.
Más información