That's exactly it, Bertil.  Thanks again.  The only thing I think that's
a bit odd about the command line switch is that the switch and its
params comes follows the executable, not the document.  It just seems
odd to me that the computer reads in the path to the exe and go to page
5, presumably before the path to the document is read in.  But, as long
as it works, I'll leave well enough alone.

- MM

(baFindApp("pdf") gves the path to Acrobat, if installed)

<Message window test>

theApp = baShortFileName(baFindApp("pdf"))

theDoc = baShortFileName("pathtopdfdocument\mydoc.pdf")

theArgs = " /A page=5 "

open theApp & theArgs & theDoc


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[email protected]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to