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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using buddy API

Status
Not open for further replies.

proust

Technical User
Jul 27, 2001
13
GB
Hi there!
I have a director presentation, which will be supplied to on CD-rom. What needs to happen is this:
The user puts the CD-rom into their CD drive.
Then a copy of the said presentation is automatically made to their their hard drive.

I've download Buddy API, but haven't had much success as yet. I've begun by making a small auto start in director file with the following script as a global script:

on startMovie
set OK = baCopyFile("d:\foundations_with_audio.exe", "c:\foundations_with_audio.exe", "IfNotExist")
end


but all this does is on auto launch is bring up a director player error.

Hope I've made myself clear


Thanks

Proust
 
dont think you need the set ok =. Also have you placed the Buddy Api xtra in the movie xtras for that movie?
 
Also, don't always assume that your CD-ROM drive with be the D: drive. On mine it's the E: drive. Use
Code:
the moviePath
to get the path to the current projector file and then use a relative path to get to the file you need.

Not sure about your error though!
Tim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top