> Is there a way to pass parameters to projectors created with
> Director 8.5
>
> I'd like do something like:
>
> projector.exe -par1 -par2
Hi Andrea,
You can use an Xtra to do what you desire. One such Xtra is MasterApp,
from UpdateStage. Here is an excerpt from the MasterApp documentation
that you may find useful. It works on Windows & Mac.
===========
mappLaunch ( appPathString, commandLineArgsString )
appPathString: string containing full path to executable
commandLineArgsString: string containing optional command line
arguments or ""
Returns: integer task ID on Win32 and Mac, instance ID on Win 3.1 . If
there is an error, returns a negative number that is a Mac standard
system error code on Mac or string beginning with "Error:
CreateProcess() failed, code " on Win32 containing a Win system error
code.
Opens the application specified in appPathString. If
commandLineArgsString contains a document path, opens the document
with the application. If the application is already open, usually that
app will come to the front. An application must be programmed to
respond in this way, so it is possible to encounter an app that does
not automatically move to the front.
Example:
set err = mappLaunch("C:\WINDOWS.95\NOTEPAD.EXE","")
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.
Price: $299.00
Platforms: 32-bit Windows, Win 3.1, Mac
Director versions supported: Director 4,5,6,7,8
Author: Glenn Picher
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
===========
Note - you cannot pass multiple arguments as parameters as you request
in your posting. That said, you can pass a list of parameters that you
could then parse as desired.
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!]