Announcement

Collapse
No announcement yet.

Use cmd in AutoPlay Media Studio

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Use cmd in AutoPlay Media Studio

    Use cmd in AutoPlay Media Studio


    Hello friends!
    I want to execute a CMD command in Autoplay, do you know a plugin ??
    Since I did not have a plugin, I wrote the phrase I wanted to run in a CMD command in a TXT file and saved it with a .CMD extension and run it in Autoplay with the file run function, which was the result of what I wanted.
    But what is this topic for?
    That was half of what I wanted, but the rest is what I want:
    I want to write some of the things that are written inside the CMD as a log in an input in Autoplay. How should this be done ??
    In a nutshell like this photo:
    Click image for larger version

Name:	u8dd_why_i_want.png
Views:	216
Size:	135.4 KB
ID:	306436
    Please if you can complete the .apz (zip) file I uploaded in end...


    Thank you very much for helping me faster
    Thanks in advance...

  • #2
    Try this;
    CommandLine plug + example + Biohazard Example
    Command.zip
    Cheers

    Comment


    • #3
      Originally posted by colc View Post
      Try this;
      CommandLine plug + example + Biohazard Example
      [ATTACH]n306451[/ATTACH]
      Cheers
      Thank a lot of colc
      Very nice!
      But it does not execute my command, it is my command:
      npm install -g cordova
      What is the problem ??????????????????????


      Comment


      • #4
        I think you have left out path to file????

        Code:
        local sz_commandline = _SourceFolder.."\\AutoPlay\\Docs\\ConsoleTest.exe Hello World \"NonBreaked Hello World\""
        
        tblResult = CommandLine.Execute(sz_commandline, 0);

        Comment


        • #5
          Originally posted by colc View Post
          I think you have left out path to file????

          Code:
          local sz_commandline = _SourceFolder.."\\AutoPlay\\Docs\\ConsoleTest.exe Hello World \"NonBreaked Hello World\""
          
          tblResult = CommandLine.Execute(sz_commandline, 0);
          Yes it was!
          But it gives syntax errors
          Can you complete the source I sent first (Atch)?
          Really thank you!
          Goodluck!

          Comment


          • #6
            Yes you should post sample of apz with file you are trying to install

            Comment


            • #7
              I send in first an apz!

              Comment


              • #8
                There is no FILE attached in your first post - just a cmd
                If you want help attach file you are trying to instal

                Comment


                • #9
                  Yes, I got it wrong, I thought you meant the Autoplay file
                  My file is in the Docs Autoplay folder and I just uploaded the CMD file at the end
                  Thank you
                  Attached Files

                  Comment


                  • #10
                    Not the cmd file -
                    the cordova fileyou are trying to install with AMS
                    s
                    o I can test on my system

                    Comment


                    • #11
                      Originally posted by colc View Post
                      Not the cmd file -
                      the cordova fileyou are trying to install with AMS
                      s
                      o I can test on my system
                      Did you work with Corvada?

                      Comment


                      • #12
                        Originally posted by SinaDehghani View Post
                        Yes, I got it wrong, I thought you meant the Autoplay file
                        My file is in the Docs Autoplay folder and I just uploaded the CMD file at the end
                        Thank you
                        The CMD file is inside the zip file
                        The forum did not allow file upload with cmd extension
                        That's why I zipped ...

                        Comment


                        • #13
                          npm install -g cordova
                          This means NOTHING
                          Are you trying to run npm / cordova - WHAT???

                          whatever you are trying to install INCLUDE in docs folder

                          Comment


                          • #14
                            This command is an example
                            You say why don't I install Corvada as an MCI file ??
                            Because Corvada is installed this way and there is no other way, and except for Korvada, I want to give an export order, which is not done this way.

                            Comment


                            • #15
                              OK Looked up install cordova with google
                              try this
                              Code:
                              local cmd = _SystemFolder.."\\cmd.exe";
                              File.Run(cmd, "npm install -g cordova", "", SW_SHOWNORMAL, false);
                              Sorry for misunderstanding

                              Comment

                              Working...
                              X