I have a PDF with a button to open an attachment. I know that in my preferences I can set it always open in a separate window, but not all users know to do this. Is there a script to make this happen? I have a script to open links in a separate window, but not an attachment.
This can't be done with a script, but you can do it manually by going to
the link you created, editing the "Go to a page in another document" action
in it and then setting the "Open in" option to "New Window".
This can also be done with a stand-alone tool, but that is more
complicated, of course.