Hello. Simple question: how can I simulate typing on the keyboard via Code?
Sthg like:
w=Window.new.front;
w.view.keyDownAction = {arg ...args; args.postln};
{1.wait; w.view.typeViaCode(Char.space)}.fork;
... and after 1sec -> args.postln
thks for help