• 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

    Isadora AutoHotKey Launcher Actor

    Third Party Software
    keyboard press mouse control windows 10 development
    2
    2
    927
    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.
    • liminal_andy
      liminal_andy last edited by liminal_andy

      We love Isadora for its diverse set of input and output control actors, among other amazing features. While there is a robust implementation of actors to control Isadora Actors with mouse and keyboard input, there is currently not an easy way to send keystrokes and mouse movements into other applications on the computer. This can be a challenge for interacting with software that does not have a remote control API, such as Google Earth, as was noted in a recent forum post. 

      On macOS, a workaround for this problem has been to combine QLab / Osculator with Isadora to trigger Apple Scripts, which can simulate input to other programs running on the mac. Unfortunately, Windows users did not have an obvious workaround...until now!

      Introducing an AutoHotKey Actor for Windows!


      AutoHotKey (AHK) is a popular development framework for creating automation with keyboard and mouse inputs. From simple keyboard shortcuts to complex mouse-scanning and dynamic logic, AutoHotKey opens up the world of input automation in countless ways. There are many robust and freely available AHK scripts for automating all sorts of programs and processes, and now the AHK Actor brings these powerful scripts to Isadora!

      The AutoHotKey Launcher Actor is an Isadora SDK Actor I created (with @mark 's support and guidance!) that allows you to trigger an AHK script from within Isadora. It takes an absolute path to your .ahk file, as well as any CLI parameters your script will process, and of course a trigger to run the .ahk script with those parameters applied. To use the actor, you must be on Windows 10 and have AutoHotKey installed.

      You can download the actor here.

      To test the actor, place it in your patch. By default, AutoHotKey will install WindowSpy.ahk, a helper program for observing screen behavior, in the location:

      C:\Program Files\AutoHotkey\WindowSpy.ahk

      So, enter this path into the AHK Script Absolute Path input, and then click the trigger for Run. You can leave the AHK Parameters input blank. When you trigger the actor, WindowSpy should launch, and if it does, you are good to go! Otherwise, confirm that WindowSpy.ahk is located at that path, and verify that you have properly installed AutoHotKey. 

      AHK Parameters is an input that takes CLI arguments to use when running a .ahk file. Check the documentation of your .ahk scripts for usage. All CLI arguments should be entered as a single text input. An example AHK file with CLI parameters is my Google Earth Pro Controller, for which my Actor inputs could be:

      1) C:\\Users\\Andy Carluccio\\Documents\\AHK\\GoogleEarthControl.ahk

      2) -location "University of Virginia"

      which, when run, would cause my Google Earth to spin over to the college. On the GitHub for the script, other CLI arguments are provided, which can be combined into a long text you place in the actor input.

      I hope that this actor opens up new worlds of automation for you and your projects! Please provide feedback, but know that this is something I am working on in my free time without company resources, and my availability to update it with new features is extremely limited. Thanks again @mark for giving us a wonderful sandbox to play in!

      Andy Carluccio
      Zoom Video Communications, Inc.
      www.liminalet.com

      [R9 3900X, RTX 2080, 64GB DDR4 3600, Win 10, Izzy 3.0.8]
      [...also a bunch of hackintoshes...]

      Woland 1 Reply Last reply Reply Quote 7
      • Woland
        Woland Tech Staff @liminal_andy last edited by

        @liminal_andy

        Would love it if you could put this on the Add-Ons Page if at all possible :)

        TroikaTronix Technical Support
        New Support Ticket: https://support.troikatronix.com/support/tickets/new
        Support Policy: https://support.troikatronix.com/support/solutions/articles/13000064762
        Add-Ons: https://troikatronix.com/add-ons/ & https://troikatronix.com/add-ons/?u=woland
        Professional Services: https://support.troikatronix.com/support/solutions/articles/13000109444

        | Isadora Version: all of them | Mac Pro (Late 2013), macOS 10.14.6, 3.5GHz 6-core, 1TB SSD, 64GB RAM, Dual AMD FirePro D700s |

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