Copy link to clipboard
Copied
I usually just send a link to a google doc or an html file that auto opens it, however some sites require a .pdf file to be submitted and redoing it every time something changes is super annoying
so is there any way to embed a continuously updated google doc or have the PDF automatically open a link when it's loaded with JS or something?
Copy link to clipboard
Copied
Yes, but it will only work when the PDF is opened in Adobe Acrobat or Reader.
Add this code to a document script.
app.launchURL("The URL.com", true);
https://www.pdfscripting.com/public/Document-Level-Scripts.cfm
Copy link to clipboard
Copied
Yes, but it will only work when the PDF is opened in Adobe Acrobat or Reader.
Add this code to a document script.
app.launchURL("The URL.com", true);
https://www.pdfscripting.com/public/Document-Level-Scripts.cfm
Copy link to clipboard
Copied
i tried that but it doesnt work, this is what the code looks like
Copy link to clipboard
Copied
Do not put the code inside a function. Delete the text "function launch()". Then try it.
Copy link to clipboard
Copied
Thanks that worked, i also had to add https:// bc it defaults to file://
Find more inspiration, events, and resources on the new Adobe Community
Explore Now