Answered
I have an document script which works well on a Mac (though I wish it wouldn't ask to block everytime!).
var gPageCount = 0
this.importAnFDF("/my server/myfolder/myfile.fdf")
My question is how do I make this same file work on a pc as well as a mac? I understand the difference between a mac path and a pc path but am not sure how to incorporate the two in the same document script.
At the moment my colleagues on PC's have to manually find the file.
Thanks in advance
Here is an article from JavaScript Corner on working with file paths in PDFs-
http://www.acrobatusers.com/tutorials/2007/js_file_paths/
Hope this helps,
Dimitri
WindJack Solutions
www.windjack.com
Dimitri Munkirs
WindJack Solutions
pdfscripting.com