Hi Andrea,
This is easy on Windows using Buddy API's baCommandArgs() function
(returns the command line as a string). There's also an undocumented
movie property -- "the commandLine" -- that should return the same
value.
The Macintosh OS doesn't use command lines, so passing arguments to a
projector on startup is more difficult.
Right now I'm looking for a solution to that problem myself; I'd be
interested in hearing how other people have done it (using and Xtra?
Applescript?).
HTH,
Tim
> -----Original Message-----
> From: Andrea Boratto [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 28, 2001 10:47 PM
> To: Lingo-L
> Subject: <lingo-l> ?Passing command line parameters to projectors?
>
>
> Is there a way to pass parameters to projectors created with
> Director 8.5
>
> I'd like do something like:
>
> projector.exe -par1 -par2
>
> or something like that.
>
> Thanks
>
> Andrea
>
> [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!]