Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Opening Files - Word / PDF etc

Status
Not open for further replies.

moleproductions

Programmer
Oct 23, 2003
43
GB
Thanks to this group, just been able to use the BuddyAPI xtra to open files such as PDF, Microsooft Word, Excel etc. You don't need to know where the viewer has the application installed (unlike the built-in Director command "open") it just works out the default viewer for the file and opens it.

You also have control over how it opens it, and you can feedback errors (file not found, app not found, etc.).

Try it out:
Pop it in the "Xtras" dir of Director installation and use:
baOpenFile(FileName, State)
E.g. result=baOpenFile("intro.doc", "maximised")

Don't forget to include the xtra file when building your projector or put it in a dir called "xtras" on your CD if that's your delivery.

Free if you only want to use it in 2 places within a movie or couple of hundred US Dollars if you want to make more use of it.

Worth trying - got me out of some bother with a project!
Tim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top