Script to create hyperlink based on text to link to a local document
I want a script that would create a hyperlink based on local file names, search the document for each file name, and link it to "[file name].pdf". For example, as a footnote in the pdf, it would say "document1" and "docment2"."document1.pdf" and "document2.pdf" exist in the same folder. I want the script to search for the name of each document in turn, and in the link address just add ".pdf" to the end to hyperlink it.
Is this possible, and if so where could I find more info on how to do this?
Thanks very much!
