Helium314 / HeliBoard

Customizable and privacy-conscious open-source keyboard
Apache License 2.0
2.33k stars 92 forks source link

Tasker integration #273

Open AsafMah opened 10 months ago

AsafMah commented 10 months ago

Use case

Tasker provides a library for direct app integration (also works on similar apps like macrodroid) for either receiving data or sending data to the application and using it for automation purposes.

What it could mean for openboard:

  1. Actions from Tasker could be triggered, like typing text, editing text, selecting text etc.
  2. Triggering Tasker actions from the keyboard - for example, holding a key to automatically send the last paragraph on WhatsApp or to be translated or for example opening an app by typing the name of it. This is for me the "cooler" feature, but will require some way to customize keys.

Describe alternatives you've considered

Tasker does provide a keyboard integration for write events - sort of. It has its own keyboard, and whenever you do an action it switches to their keyboard, does it,and switches back.this is slow and not ideal.

Additional context

I added the library to my pet keyboard project. If this is something you want I can contribute it.

russianspy1234 commented 10 months ago

This would be great. I'm currently using the logcat event to catch the voice key and open futo instead of google stt. The ability to call that task directly, as well as maybe other tasks with different keys would be amazing.