BudAPI has a function called CommandArgs

<quote help>
Description: baCommandArgs returns the arguments the application was started
with.
Usage: Result = baCommandArgs( )
Arguments: Void.
Returns: String.

Returns the command line arguments, or an empty string if there were none.

Examples: Director:
 set Args = baCommandArgs( )

</quote help>

so your "projector.exe -intro_disabled -video_active" would return Args
equal to "-intro_disabled -video_active" and you would then have to search
the string to determine the commands.

I've used it before and it works well.

hth

Richard

----- Original Message -----
From: "Aulis" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 05, 2001 2:04 AM
Subject: <lingo-l> Running Projector with parameters.


>
> Hello ppl!
>
> I wish to know, if it is possible to run compiled executable Projector
> for Windows with parameters, somehow like this:
>
> projector.exe -intro_disabled -video_active
>
>
> If yes, please help me to find any more information on this theme.
> Otherwise, I would like to hear your opinion, how to send any
> variables or so to the movie when it starts.
>
>
> Thank you in advance!
>
>
> Aulis.
>
>
>
> [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!]
>
>


[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!]

Reply via email to