At 19:31 2/26/2001, John Erazo wrote:
>Hi everyone.
>
>I need to run an old DOS app from a projector which is run with a command
>line parameter/s.
>I heared that there is this undocumented command in Lingo - the commandLine,
>but I don't know the proper syntax.  Also, is it possible to store/echo the
>result
>of the commandLine to a variable?

The commandLine returns the paramaters passed to the projector when 
executing it.

on startMovie
   alert (the commandLine)
end

If you want your projector to run a dos command, there's no need for 'the 
commandLine'. Just add the parameters to the open command.

open "program.exe" &&"param1 param2"



--
Mark A. Boyd
Keep-On-Learnin' :)


[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