I see tasker update has new action called Keyboard Action : https://www.youtube.com/watch?v=hmCOFd0tcNU
Current Automagic Control UI only can send keyboard key if Automagic input is used as default keyboard. Which mean I have to use action switch keyboard first (required root for UI-less switch), do the Control UI sendKey() and switch back the keyboard to default one. I wonder if the key can be sent now without the need to switch Automagic input first. The reason I don't use sendKey() so much is because the need to switch keyboard first. This add latency to the flow. (have to put some sleep there to make sure the switch is successful before continuing the script).
I use
Code: Select all
sleep(100);
sendKey("W", "CTRL_ON");
If it can send the key now without switching keyboard, then the flow will be much faster, less than 200 ms, almost no stutter, and can be used together with default keyboard while typing or inputing.
Regards,
Desmanto