May-10-2019, 09:31 PM
Hello,
Is there a way in python to simulate a keyboard command within the code.
For example:
I created an Icon button for Undo. Each time I press the button with a mouse click, I want it to execute the Conrol + Z keyboard press which would represent the Undo command.
Is there a way to simulate this with code?
Thanks.
s.
Is there a way in python to simulate a keyboard command within the code.
For example:
I created an Icon button for Undo. Each time I press the button with a mouse click, I want it to execute the Conrol + Z keyboard press which would represent the Undo command.
Is there a way to simulate this with code?
Thanks.
s.