2015-12-18, 20:45
Hi,
I have a custom plugin that uses a custom window to display slide presentations with linked audio files.
My question is - how do I handle remote key presses while my script is running to allow the user to control the presentation?
Basically, I need to create custom Actions that I can add to the remote.xml keymap file for my custom window. Using standard Actions are not a problem.
I have experimented with mapping a custom script to the keys via the RunScript() function, but then I have don't have access to the variables of my original addon script.
Is there any other way that my addon script can be notified that a remote key has been pressed, and what the key is, while the addon script is running?
I have a custom plugin that uses a custom window to display slide presentations with linked audio files.
My question is - how do I handle remote key presses while my script is running to allow the user to control the presentation?
Basically, I need to create custom Actions that I can add to the remote.xml keymap file for my custom window. Using standard Actions are not a problem.
I have experimented with mapping a custom script to the keys via the RunScript() function, but then I have don't have access to the variables of my original addon script.
Is there any other way that my addon script can be notified that a remote key has been pressed, and what the key is, while the addon script is running?