• Products
    • Isadora
    • Get It
    • ADD-ONS
    • IzzyCast
    • Get It
  • Forum
  • Help
  • Werkstatt
  • Newsletter
  • Impressum
  • Dsgvo
  • Press
  • Isadora
  • Get It
  • ADD-ONS
  • IzzyCast
  • Get It
  • Press
  • Dsgvo
  • Impressum

Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags

    Start a command line window from Isadora

    How To... ?
    3
    5
    1903
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • gunther
      gunther last edited by

      I wonder if it is possible to start a command line window from Isadora (Windows version) to run a batch file with parameters. This would be something like Quartz Composer does on Apple OS, as I understand it. I imagine an actor that has inputs for: "file to execute", "parameters" (= number of parameters), param1, param2, ....

      Background: In one of our next projects I have to make printers act weird, that means theree printers should print out (form feed is sufficient) paper at certain times. From a command line window I can access all network printers with a command like

      'print /d:"\network\printer-1" test.txt'
      This command line prints out the file test.txt, ended with form feed, on the network printer 'printer-1'. I imagine an actor with inputs 'print', '/d:"\network\printer-1" and 'test.txt'.

      Maybe there are other possibilities to access a printer from within Isadora. Any ideas to print a file as part of a scene? Maybe there is a possiblity via TCPIP?

      Thanks,
      Gunther

      Izzy 3 USB | Win10 64bit | various hardware: I5, I7

      1 Reply Last reply Reply Quote 0
      • DusX
        DusX Tech Staff last edited by

        I was doing just this, via a work around today.
        Using Python and the pywin32api and Isadora's TCP IP actors, I am do nearly the same, I am just focusing on gui controls (window size location etc..)
        So yes, your file print can be done in this exact manner.

        Troikatronix Technical Support

        • New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
        • My Add-ons: https://troikatronix.com/add-ons/?u=dusx
        • Profession Services: https://support.troikatronix.com/support/solutions/articles/13000109444-professional-services

        Running: Win 11 64bit, i7, M.2 PCIe SSD's, 32gb DDR4, nVidia GTX 4070 | located in Ontario Canada.

        1 Reply Last reply Reply Quote 0
        • Fred
          Fred last edited by

          You can run apple scripts from osculator. This is an easy way to get it going.

          http://www.fredrodrigues.net/
          https://github.com/fred-dev
          OSX 13.6.4 (22G513) MBP 2019 16" 2.3 GHz 8-Core i9, Radeon Pro 5500M 8 GB, 32g RAM
          Windows 10 7700K, GTX 1080ti, 32g RAM, 2tb raided SSD

          1 Reply Last reply Reply Quote 0
          • gunther
            gunther last edited by

            Thank you for your hints. Python made me curious, and after resolving trobles with installing pywin32 (I found Active Python - http://www.activestate.com/activepython/downloads - which works fine ), I started learning Python.
            I got the solution by now, many thanks @DusX.
            gunther

            Izzy 3 USB | Win10 64bit | various hardware: I5, I7

            1 Reply Last reply Reply Quote 0
            • DusX
              DusX Tech Staff last edited by

              I am working on a bundled solution for this. Hopefully something substantial to show in the near future.

              Are there specific actions you would like to have shared with Isadora via an API?

              Let me know as I have my first few, but I am looking to extend the feature set now that the framework is solid.

              Troikatronix Technical Support

              • New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
              • My Add-ons: https://troikatronix.com/add-ons/?u=dusx
              • Profession Services: https://support.troikatronix.com/support/solutions/articles/13000109444-professional-services

              Running: Win 11 64bit, i7, M.2 PCIe SSD's, 32gb DDR4, nVidia GTX 4070 | located in Ontario Canada.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post