I am looking for a way to leave pressed a key assigned to a keyboard shortcut to trigger the script until the user stops pressing it, the script will continue to run until the user stops pressing the key.
Is it possible to do it, and any information on how to do it?