Keyboard trigger with TouchDesignerin background

hi!
I am looking for a way to make TouchDesigner react to a button trigger whilst running in the background (meaning the button was triggered with a different program active)

More specifically - I want TouchDesigner to react to the Enter Key when pressed in Adobe Firefly, as its supposed to trigger a video and count the times the enter key has been triggered. The problem is with touchdesigner not being the active program anymore when Firefly is opened, and not reacting to the button trigger.

There is a similar thread on here with the Titel “Keyboard in while Touch is in background” where a python script has been shared, but the script supposedly doesnt work anymore with Windows 11, which is the current version I use.

Is there anyone with more expertise or who has already worked around this issue before who can maybe help out?

Big thanks!

Hi! I found a solution that worked for my specific scenario using Vicreo Listener https://vicreo-listener.com/

In our case, the solution was getting Touchdesigner to output an OSC signal that tells Vicreo Listener to fake a keypress in the other program, which triggered the playback we needed. In our case, we just needed the two things to happen at the same time, so it didn’t matter which program triggered the other.

Not sure if this would work for your scenario or not, but maybe something to check out!

1 Like