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

open a file with a specific program

Status
Not open for further replies.

instructorTek

Instructor
Jun 5, 2006
61
Hi all. I have a director movie and when I click a button I would like to play
an .avi movie using a specific player which I'm distributing together with the movie.
I'm running into some problems, I can't get the moviePath command to work with lingo's open command so as to specify the absolute path and if I use BuddyAPI I'm not getting the baOpenFile command to open the .avi with a specific program. Please help.

open "OpenWordMajor.avi" with "CamPlay.exe"
--this would work if I get a way to add the path to the .avi

baOpenFile( the pathName & "OpenWordMajor.avi" , "maximised" )
--this could have worked if I get it to play the .avi with CamPlay.exe
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top