View Full Version : mac and pc executables opening PDF

10-29-2010, 09:25 AM
I've searched and read many answers to my question but nothing seems to working.

I have to create a CD with both mac and PC executables. Within these I have to open a number of PDFs. I've tried:

getURL("pdfs/worldwide.pdf", "_blank");

but it doesn't work. If I upload the PDF to a server and try this

getURL("mydomainame/pdfs/worldwide.pdf", "_blank");

It works. Why can't the executable launch the PDF locally?

Does anyone have an alternative solution?

Many thanks in advance.

Paul Ferrie
10-29-2010, 10:04 AM
Have you checked out any of these?

10-29-2010, 02:12 PM
getURL("/test.pdf", "_blank") works for me on Windows (I have a test.pdf file in the root of my C: drive). If you can't get that to work you can use fscommand EXEC with a BAT file (Windows) or an AppleScript (Mac) to launch your PDF. You'll need one BAT/SCPT file per PDF that you want to open because you can't pass parameters via fscommand.