Hi, there are a few different ways:
1. You can use BuddyApi Xtra from http://www.mods.com.au/
For example:
on getPathToAcrobat
-- returns EMPTY string if cannot find the application
-- to open PDF files
if the platform contains "macintosh" then
PathToAcrobat = baFindApp("CARO")
else
PathToAcrobat = baFindApp("pdf")
end if
return PathToAcrobat
end
2. You can also use MasterApp from www.updatestage.com
For example
on getPathToAcrobat pPathToPDFfile
-- returns string starting with "Error:" if cannot find the
-- application to open the specified file
-- you need to specify a pdf file
PathToAcrobat = mAppLocateExecutable(pPathToPDFfile)
return PathToAcrobat
end
3. You can find Acrobat using lingo alone (or with a bit of help from the
free File Xtra), but it is very slow and not reliable - especially if you
stepping through directories looking for acrobat by its file name (for
example, on a Mac, Acrobat might be "Acrobat� Reader 4.0", or it might
simply be "Acrobat Reader")
Luke
on 4/10/00 4:33 PM, pua jeand at [EMAIL PROTECTED] wrote:
> Dear all list,
> how do i detect user computer got the acrobat reader 4.0, when start the
> projector..
> thank
>
> jeand
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
> Share information about yourself, create your own public profile at
> http://profiles.msn.com.
>
>
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/LUJ/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!]
--
Luke Wigley
Multimedia Director/Producer
Mecca Medialight Pty Ltd
Mecca Medialight: Medialight Sound Studio:
111 Moor Street 1 Bakehouse Lane
Fitzroy, Vic. 3065 North Fitzroy, Vic. 3068
Tel +613 9416 2033 Tel +613 9416 2033
Fax +613 9416 2055 Fax +613 9416 2055
www.medialight.com.au
__________________________________________________________________________
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/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!]