Is there a way to execute keystrokes via python somehow?
I often just want certain blender functions to be executed one after the other.
Right now i want to enter the scale tool (s) > switch to y axis (y) > custom y axis (y) > snap all selected vertices to 0 (0) and apply everything (enter)
Now with a script where i can enter keystrokes i only would have to add s,y,y,0,enter in the corresponding line and would have my addon ready.
Is there some way to do this with python?