May-10-2019, 09:55 PM
Hi
Your question is very vague
Within what code ?
What did you use to create a button, where do you want it to execute the Control + Z keyboard
Your question is very vague
(May-10-2019, 09:31 PM)sgskge1 Wrote: Is there a way in python to simulate a keyboard command within the code.
Within what code ?
Quote: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.
What did you use to create a button, where do you want it to execute the Control + Z keyboard