I’d like to automate a refactor actions.
What I usually do is:
-
Press: command + k (to open the popup)
-
Type: refactor it
-
Press: enter (to start AI)
-
Press: command + enter (to accept)
I’ve installed multi-command
tool and I managed to emulate command + k
by running aipopup.action.modal.generate
command. But then I can’t emulate interaction with the popup. Any help?