• 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

    [LOGGED] Osculator Virtual Devices as actor in Isadora

    Feature Requests
    osculator keycode mouse
    2
    10
    1901
    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

      Since ‘Osculator’ is no longer being developed and although it still works, I would like to have the function ‘virtual Devices (Key Combo, Keycode, Mouse, HID)’ as an actor in Isadora.

      Best regards, 

      Jean-François 

      • Izzy 4
      - 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 1 Reply Last reply Reply Quote 2
      • DusX
        DusX Izzy Guru @jfg last edited by

        @jfg said:

        the function ‘virtual Devices (Key Combo, Keycode, Mouse, HID)’ as an actor

         Sorry, I 'm not familiar. How would this work?

        🎛️ TroikaTronix Professional Services
        https://troikatronix.com/professional-services

        🎫 Support Tickets
        https://support.troikatronix.com/support/tickets/new

        💻 Add-ons
        https://troikatronix.com/add-ons/?u=dusx

        🧪 GitHub Projects
        https://github.com/rwebber

        🖥️ Win11 | i7 | RTX 4070 | 32GB RAM | Ontario, Canada

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

          @dusx said:

          How would this work?

            Osculator enables you to send keyboard shortcuts (e.g. Cmd+A, Ctrl+Shift+W) to external programmes or the Finder via MIDI or OSC signals. For an Isadora Actor, you only need the ability to send the keyboard shortcut and select the target programme. This would be a very useful way to control Syphon Recorder, for example.

          or to move the mouse:

          • Izzy 4
          - 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 1 Reply Last reply Reply Quote 1
          • DusX
            DusX Izzy Guru @jfg last edited by

            @jfg

            I see. I think this should be do able in Pythoner. 

            I'll log the feature request, and add it to my list of projects to investigate.

            🎛️ TroikaTronix Professional Services
            https://troikatronix.com/professional-services

            🎫 Support Tickets
            https://support.troikatronix.com/support/tickets/new

            💻 Add-ons
            https://troikatronix.com/add-ons/?u=dusx

            🧪 GitHub Projects
            https://github.com/rwebber

            🖥️ Win11 | i7 | RTX 4070 | 32GB RAM | Ontario, Canada

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

              @dusx said:

              I think this should be do able in Pythoner. 

               

               I have find this script and it is working in Pycharm but I don't understand how to use it in the pythoner actor:

              from pynput.mouse import Controller

              # Initialize mouse controller mouse = Controller()

              # Get current position position = mouse.position print(f"Current mouse position: {position}")

              # Move mouse relative to current position current_position = mouse.position mouse.move(50, -30) # Move 50 pixels right and 30 pixels up

              • Izzy 4
              - 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 1 Reply Last reply Reply Quote 0
              • DusX
                DusX Izzy Guru @jfg last edited by

                @jfg said:

                pynput

                 What exactly would you like the script to do? (try to be detailed and complete)
                I can likely get you something right away if its clear.

                🎛️ TroikaTronix Professional Services
                https://troikatronix.com/professional-services

                🎫 Support Tickets
                https://support.troikatronix.com/support/tickets/new

                💻 Add-ons
                https://troikatronix.com/add-ons/?u=dusx

                🧪 GitHub Projects
                https://github.com/rwebber

                🖥️ Win11 | i7 | RTX 4070 | 32GB RAM | Ontario, Canada

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

                  @dusx

                  Firstly, I'm looking for a way to control actions in other software from Isadora via keyboard shortcuts. For example  to control the record (Alt+Cmd+R) and snapshot (Alt+Cmd+S) functions in Syphon Recorder. In other words, Python would need to send the keyboard shortcuts to Syphon Recorder when a trigger is activated. 

                  This works in Pycharm:

                  from pymouse import PyMouse
                  from pykeyboard import PyKeyboard

                  m = PyMouse()
                  k = PyKeyboard()

                  k.press_keys(['Command','Alternate','r'])

                  # Documentation: https://github.com/SavinaRoja/...

                  I think an actor in Isadora would help a lot of people and above all avoid the risk of crashing that always exists with external software (Osculator).

                  Thanks

                  Jean-François 

                  • Izzy 4
                  - 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 1 Reply Last reply Reply Quote 0
                  • DusX
                    DusX Izzy Guru @jfg last edited by

                    @jfg

                    It looks like PyUserInput is a dead project, and PyMouse + PyKeyboard have both been merged into it years ago.
                    This appears to be the project these lead you to: moses-palmer/pynput: Sends virtual input commands , I will investigate this further as it appears to be more current and cross-platform.
                    I think cross app tooling is a useful extension to Isadora. Targeting specific apps is pretty easy from Windows, but apple limits this for security, so applescript is often used as a middle-ware. It will be interesting to see if this module offers this feature. It is clear in the docs that the user must setup a number of macOS system permissions to use the moduel.

                    🎛️ TroikaTronix Professional Services
                    https://troikatronix.com/professional-services

                    🎫 Support Tickets
                    https://support.troikatronix.com/support/tickets/new

                    💻 Add-ons
                    https://troikatronix.com/add-ons/?u=dusx

                    🧪 GitHub Projects
                    https://github.com/rwebber

                    🖥️ Win11 | i7 | RTX 4070 | 32GB RAM | Ontario, Canada

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

                      I have logged this to both our feature requests database, and my personal python project list. 

                      🎛️ TroikaTronix Professional Services
                      https://troikatronix.com/professional-services

                      🎫 Support Tickets
                      https://support.troikatronix.com/support/tickets/new

                      💻 Add-ons
                      https://troikatronix.com/add-ons/?u=dusx

                      🧪 GitHub Projects
                      https://github.com/rwebber

                      🖥️ Win11 | i7 | RTX 4070 | 32GB RAM | Ontario, Canada

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

                        @dusx

                        Thanks a lot

                        Best regards, 

                        Jean-François 

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