• 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

    [ANSWERED] How to start an external program from Javascript actor ?

    How To... ?
    javascript ext. program
    5
    8
    2512
    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.
    • jfg
      jfg last edited by DusX

      The titel says already all. I have tried following

      var SyR = Application('Syphon Recorder');

      SyR.activate();

       but I got this message:

      Javascript Error Line 1: ReferenceError: Application is not defined

      what is missing? the same code works in automator

      thanks

      Jean-François

      • Izzy 3.2.6
      - MacBook Pro M1 Max 16" 64GB RAM, Mac OS 15.3.2 Sequoia
      - Mac Pro 5.1 middle 2012 (3,33 GHz 6-Core Intel Xeon, 32GB RAM, Radeon RX 580 8 GB ),
      Mac OS 10.14.6 (Mojave)
      - Mac mini Pro M4, Mac OS 15.3.2 Sequoia

      • A range of deployable older Macs
        Located in Bremen, Germany
      DusX mark 2 Replies Last reply Reply Quote 0
      • DusX
        DusX Tech Staff @jfg last edited by

        @jfg said:

        activate();

         Javascript is run via the V8 engine, and doesn't have access to any Web/Dom elements.
        That said, I don't think activate() is a Javascript function that allows what you expect. 
        I did a search and can't find any reference to it.
        Either-way, this feature is not supported in the V8 engine.

        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.

        jfg 1 Reply Last reply Reply Quote 0
        • jfg
          jfg @DusX last edited by

          @dusx

          Thank you. any other solution?

          Jean-François

          • Izzy 3.2.6
          - MacBook Pro M1 Max 16" 64GB RAM, Mac OS 15.3.2 Sequoia
          - Mac Pro 5.1 middle 2012 (3,33 GHz 6-Core Intel Xeon, 32GB RAM, Radeon RX 580 8 GB ),
          Mac OS 10.14.6 (Mojave)
          - Mac mini Pro M4, Mac OS 15.3.2 Sequoia

          • A range of deployable older Macs
            Located in Bremen, Germany
          gapworks 1 Reply Last reply Reply Quote 0
          • gapworks
            gapworks @jfg last edited by

            @jfg Apple script is what i use

            Running MBP2017 / Ventura Osx 13.6.7 / 16 GB 2133 MHz LPDDR3 / Intel HD Graphics 630 1536 MB / Latest Isadora Version / www.gapworks.at / located in Vienna Austria

            jfg 1 Reply Last reply Reply Quote 0
            • jfg
              jfg @gapworks last edited by

              @gapworks

              but how do you use applescript in Isadora without an external application?

              • Izzy 3.2.6
              - MacBook Pro M1 Max 16" 64GB RAM, Mac OS 15.3.2 Sequoia
              - Mac Pro 5.1 middle 2012 (3,33 GHz 6-Core Intel Xeon, 32GB RAM, Radeon RX 580 8 GB ),
              Mac OS 10.14.6 (Mojave)
              - Mac mini Pro M4, Mac OS 15.3.2 Sequoia

              • A range of deployable older Macs
                Located in Bremen, Germany
              J 1 Reply Last reply Reply Quote 0
              • J
                jandraka @jfg last edited by

                @jfg

                Hi,

                I have made an FFGL plugin with Vuo that allows launching apps from Isadora. It is created as an FFGL plugin because it is the only way to export it from Vuo. No need to connect to projector or image dimensions. Another way to launch applescript is through OSCulator (you send an osc message from Isadora and route it to applescript with OSCulator). Another option would be Bome MIDI Translator.

                Best

                Javi

                AppLauncher.bundle.zip

                MBP M2 Max 32 GB. MacOS 13.7.3 Isadora 3.2.6 - 4.0.7

                jfg 1 Reply Last reply Reply Quote 1
                • jfg
                  jfg @jandraka last edited by

                  @jandraka said:

                  Thank you very much

                   

                  • Izzy 3.2.6
                  - MacBook Pro M1 Max 16" 64GB RAM, Mac OS 15.3.2 Sequoia
                  - Mac Pro 5.1 middle 2012 (3,33 GHz 6-Core Intel Xeon, 32GB RAM, Radeon RX 580 8 GB ),
                  Mac OS 10.14.6 (Mojave)
                  - Mac mini Pro M4, Mac OS 15.3.2 Sequoia

                  • A range of deployable older Macs
                    Located in Bremen, Germany
                  1 Reply Last reply Reply Quote 0
                  • mark
                    mark @jfg last edited by

                    @jfg

                    Just so you all know: I've been hestitant to allow actors in Isadora that could allow a patch to do damage to your system, i.e., erase your hard drive. That's why I've avoided things like allowing AppleScript or applications to be launched. To me it feels like a security risk to allow such things. But I am happy to see that the Isadora community always seems to find a way. ;-)

                    Best Wishes,
                    Mark

                    Media Artist & Creator of Isadora
                    Macintosh SE-30, 32 Mb RAM, MacOS 7.6, Dual Floppy Drives

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