> I would like to open a pdf file on a mouseUp button that will
> work on a PC and a Mac. Can you help?
Gregory,
This gets asked a lot....
If you ABSOLUTELY know path to the PDF on your CD or hard drive AND
the path to the Acrobat Reader on the target machine, you can simply
use the built-in Director functionality:
on mouseUp
open fullPathToPDF with fullPathToAcrobatReader
end
Unfortunately, you will often know only the CD path with any moderate
certainty. remember, the user may or may not have installed the
Acrobat reader, and they can install it anywhere. To find this
information you will need to look to the system for the answer.
Additionally, they may put your CD into a drive that may or may not be
one that you can guess the path to. Fun huh?
This problem is made simpler by using an Xtra to determine these
items. There are several Xtras available to help and MasterApp is one
such Xtra. The MasterApp Xtra contains a function specifically
designed for that purpose named
mappLocateExecutable()
It returns the path to the executable registered to handle the
document at the file path specified. Once you know this information
you can open the PDF ising other MasterApp functions or even embed the
PDF in your movie, as if it were a part of the movie.
Platforms: 32-bit Windows, Win 3.1, Mac
Director versions supported: Director 4,5,6,7,8, 8.5
Author: Glenn Picher
MasterApp gives you broad control over other applications from your
Director presentation. The most common application for MasterApp is
building connectivity between your Director piece and various Web
browsers and Web pages. However, MasterApp is much more powerful than
this basic use, including dozens of methods for launching, monitoring
and controlling external applications. MasterApp is a commercial Xtra
sold by UpdateStage. You find out more information, download an
evaluation version or purchase the Xtra here:
http://www.updatestage.com/xtras/xtrahome.html
I hope that this information is useful.
Cheers,
Al Hospers
Marketing Associate
UpdateStage
alhospers<at>updatestage<dot>com
http://www.updatestage.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!]