>On 11 May 2000, at 10:43, LiangTyan Fui wrote:
>
>> > A question for all of you MC-Mac gurus.
>> > 
>> > What code would I use to launch Adobe Acrobat (or Reader) and open a
>> > specific PDF file (e.g., mypdfdoc.pdf) on the Mac? For the moment let's
>> > assume that Acrobat (or Reader) is installed on the user's system.
>> 
>> My personal favourite:
>> launch "thedoc.pdf" with "theapp"
>> (look into the help stack for more info)
>> 
>
>Okay, I'll completely expose my ignorance about the Mac now...
>
>How do I identify "theApp" used in this example? In Windows I give it a 
>filename. I could look in registry to find out if and where the app is located. 
>Or I could give the file name unqualified (no path), then Windows will search 
>the dir's in its PATH environment variable to try and find it. 

You must use full path for the above to work. Otherwise AppleEvents but I don't know 
much about that.

>
>I have no idea about how the Mac handles such things. I know Launch works 
>with a filename, but how do I know where the app is located? Or can I use a 
>descriptive name like "Finder", if so what would it be? Or an unqualified 
>filename? 
>
>Also, I understand that Acrobat comes installed on MacOS 8 and later...? 
>Can anyone verify this?
>
>I'm sure that there are people on this list that have done this before on the 
>Mac (at least I would be Very Surprised if I'm the first). Thanks for any input 
>or experience you may have to share, this list is a great resource!
>
>> Regards,
>> LiangTyan Fui
>> 
>
>> > Leston Drake
>> > LetterPress Software, Inc.
>> > http://www.lpsoftware.com
>> > 
>> > Archives: http://www.mail-archive.com/metacard%40lists.best.com/
>> > Info: http://www.xworlds.com/metacard/mailinglist.htm
>> > Please send bug reports to <[EMAIL PROTECTED]>, not this list.
>> > 
>> 
>> 
>> 
>> Archives: http://www.mail-archive.com/metacard%40lists.best.com/
>> Info: http://www.xworlds.com/metacard/mailinglist.htm
>> Please send bug reports to <[EMAIL PROTECTED]>, not this list.
>> 
>> 
>
>
>
>Leston Drake
>LetterPress Software, Inc.
>http://www.lpsoftware.com
>
>Archives: http://www.mail-archive.com/metacard%40lists.best.com/
>Info: http://www.xworlds.com/metacard/mailinglist.htm
>Please send bug reports to <[EMAIL PROTECTED]>, not this list.
>
> 

Regards, Andu

Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to