How do I open/run VBS file

Hello

How do I open or run external *.vbs file of the Director by pushing the button o in concert
I'm trying all things like especially: -.
-Open the "XXX.vbs" with "cscript.exe".
-baOpenFile (XXXXXXXXXXXXXXXXXXXXXXXXXXX)
-Open moviespath (XXXXXXXXXXXXXXXXXXXX)
no work of things could any body can help

If you can double click on a file and expect it not to open, then baOpenFile
is the best option (assuming that you have installed BuddyAPI).

The syntax is like this:

baOpenFile (the moviePath & "XXX.vbs", "normal", FALSE)

Discover the BuddyAPI docs for details on who or what the
different parameters mean.

If you need to specify which program to open the file, then the
Open... with... order if the best. The biggest problem with this is that you
need to include the names of way together like this:

Open the moviePath & "XXX.vbs" with "c:\myProgram\cscript.exe"

Change the addresses of all that is correct for your project. If you
do not know the path to one or both of the programs, then you are the kind of
no luck.

Tags: Director

Similar Questions

Maybe you are looking for