• 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] is it possible to open Syphon Virtual Webcam from inside Izzy?

    How To... ?
    2
    2
    142
    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.
    • dbini
      dbini last edited by Woland

      An 'Open Virtual Webcam' actor would be great, but is there another way to launch the Syphon Virtual Webcam app from inside Isadora?

      John Collingswood
      taikabox.com
      2019 MBPT 2.6GHZ i7 OSX15.3.2 16GB
      plus an old iMac and assorted Mac Minis for installations

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

        @dbini It is with the pythoner actor!

        Here is some cross platform code that will open an external application from Isadora. Funnily I have a memory that this kind of trickery was explicitly blocked from the Javascript actor, but python is another beast.

        Put this code in a pythoner actor and change the name of the application to the one you want to launch (it is notepad or textedit at the moment). Due to the way the actor works all you need to do is send a 1 to the trigger input of the actor (or change this to whatever you want to be the trigger). 

        import subprocess
        import platform
        # python_main is called whenever an input value changes
        def python_main(input_1):
            # Check if the input is 1 (or any specific condition to trigger the action)
            if input_1 == 1:
                if platform.system() == "Windows":
                    # On Windows, open Notepad
                    subprocess.Popen(["notepad.exe"])
                elif platform.system() == "Darwin":  # Darwin is macOS
                    # On macOS, open TextEdit
                    subprocess.Popen(["open", "-a", "TextEdit"])
            return input_1  # return the input back to the output
        # iz_input 1 "trigger"

        Of course use this safely, you wouldn't want to play some mean trick on an operator that launched a whole lot of applications on a scene change.

        You can modify this further with chatGPT to make the application launch minimized if you want too, or some other conditions like screen position, and if the application allows you can likely pass some variables to it.

        Fred

        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 3
        • First post
          Last post