Oh, just something that may go unnoticed depending on how your mail is 
formatted.

Note the spaces padding the argument string:
theArgs = " /A page=5 "

Better (as you may have figured out already):

theArgs = "/A page=5"
open theApp && theArgs && theDoc



Bertil Flink
Creative Media




> -------------------------------- 8< -------------------------------------
> OK, I did some tests in the message window based on the info in this doc:
> http://partners.adobe.com/asn/acrobat/sdk/public/docs/PDFOpenParams.pdf
> 
> 
> (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
> 
> </Message window test>
> 
> This worked just fine and opened the pdf file on page 5.
> 
> -------------------------------- 8< -------------------------------------
> 
> 
> 
> Bertil Flink
> Creative Media
> 

[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