Key is pressed and the script is executed until the key is released.

41 views
Skip to first unread message

Darwin Giordano

unread,
Feb 22, 2023, 3:54:36 PM2/22/23
to Python Programming for Autodesk Maya
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?

Darwin Giordano

unread,
Feb 23, 2023, 12:39:39 PM2/23/23
to Python Programming for Autodesk Maya
Reply all
Reply to author
Forward
0 new messages