1 Reply Latest reply on Sep 20, 2006 2:20 AM by Newsgroup_User

    Open and passing parameters into Projector

    ooi
      How can i from Visual Basic application call Projector and passing the parameter into the Projector for Lingo Scripts execution. For better understanding, here is my scenario:
      - The role of this projector is as a launcher to luanch 30 of my Director movie files.
      In Lingo,
      Global myPath
      On startmovie
      go movie myPath
      end

      - Now, my main application is in Visual Basic. To open this projector and play is no problem. But i wanted to open this projector and passing the parameter into the Projector global variable which is myPath.

      Any solution for that?

      Thanks
        • 1. Re: Open and passing parameters into Projector
          Level 7
          > How can i from Visual Basic application call Projector and passing the
          > parameter into the Projector for Lingo Scripts execution.

          You can launch the projector with additional arguments in the command
          line, and use 'the commandLine' to retrieve these arguments.

          ie:
          launch the projector from visual basic

          projector.exe "some extra info"

          and in your director movie you use

          on startmovie
          alert (the commandLine)
          end startmovie