lingo-l Return value for open command...WAS: Open a specific page within a pdf

2004-06-17 Thread Mendelsohn, Michael
Thanks, Bertil, for the excellent responses yesterday. Just one further question: When using the open command, is there a way to error check to see if it successfully opened? In other words: result = baOpenFile(...) put result -- 0 But... result = open xyz -- errors - Michael M. [To

Re: lingo-l Return value for open command...WAS: Open a specific page within a pdf

2004-06-17 Thread Bertil Flink
Yes, let Buddy take care of opening the app as well: appString = theApp theArgs theDoc OK = baRunProgram(appString , Normal, false) Put OK -- 33 Look up RunProgram in Buddy for more info. Here is the list of error codes from Buddy's help: clip If the return is less than 32, then an error

RE: lingo-l Return value for open command...WAS: Open a specific page within a pdf

2004-06-17 Thread Mendelsohn, Michael
Brilliant, Bertil. Very much appreciated! - 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

Re: lingo-l Return value for open command...WAS: Open a specific page within a pdf

2004-06-17 Thread Bertil Flink
Thanks. By the way, these arguments (/A page=n) only work in Acrobat/Reader 6.x. I've tried them with Acro 4 5, and it opened the document, but ignored the page number. I think there was a benign error message too, in one of the older versions. Bertil Flink Creative Media - Original

RE: lingo-l Return value for open command...WAS: Open a specific page within a pdf

2004-06-17 Thread Mendelsohn, Michael
Yes, I knew that. Fortunately, I work for a company where *the whole world* has Acrobat 6, XP, IE6...etc. Bliss. On previous versions, as long as it fails without crashing, that's good enough for my purposes. Regards, Michael M. By the way, these arguments (/A page=n) only work in