Hi list...

[WinXP, Acrobat6, MX2004]
I'm having trouble opening a pdf to a specific page, and I used to be
able to do this.  Here's my code:

theApp = baShortFileName(baFindApp("pdf"))
-- "C:\PROGRA~1\Adobe\ACROBA~1.0\Reader\AcroRd32.exe" (opens Acrobat
from "Start|Run...")
thePath = baShortFileName(thePath)
-- "F:\UNIVER~1\articles\PERIOD~1\RECORD~1.PDF" (opens doc in Acrobat
from "Start|Run...")
theAppString = theApp && thePath && "/A page=8"
-- "C:\PROGRA~1\Adobe\ACROBA~1.0\Reader\AcroRd32.exe
F:\UNIVER~1\articles\PERIOD~1\RECORD~1.PDF /A page=8"
theResult = baRunProgram(theAppString, "Normal", FALSE)
-- Acrobat Reader Error: "There was an error opening this document.  The
path does not exist."

Huh?  theApp and theAppString, without openingParams, both work, so why
not here with the /A command line switch?

puzzled,
- Michael M.


[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