Add a public receiver for Tasker, Automate, etc.#112
Conversation
- Move Intent parsing to separate file - Support finding note by query (instead of selecting by ID or path) - Give properties in note info
|
Thank you for the contribution. While I do not currently use task automation, I find this to be a good addition. Intents can be sent from other apps or Termux. |
|
Perhaps it should be a separate issue, but this might be good time to fork the documentation repo alongside this one. I'm more than happy to write up documentation on how to use this addition 🙂 |
That sounds terrific! I will look into creating a fork in this organization, and ping you when it's done. |
|
@NatKarmios The forked documentation repo can be found here: https://github.com/orgzly-revived/documentation. I haven't touched anything yet -- feel free to open any kind of PRs. |
This is a recreation of my pull request for the original respository, orgzly/orgzly-android#878.
I'm a big fan of Automate, and I (along with many others, it seems) would love to be able to use it - or Tasker, etc. - with Orgzly.
In the spirit of being the change I want to see the world, I've got to work on implementing a publicly-accessible intent receiver to this end :)
Just a few issues relevant to this (most of which are more or less already implemented):
These "endpoints" (i.e. actions) have currently been implemented, and tested to be working on an emulated Pixel 4 (edit: and on my S21 Ultra, on which I have been daily driving these changes for the past 2 years 🙃):
GET_BOOKSGET_SAVED_SEARCHESGET_NOTEADD_NOTEEDIT_NOTEREFILE_NOTE/REFILE_NOTESMOVE_NOTE/MOVE_NOTESDELETE_NOTE/DELETE_NOTESADD_SAVED_SEARCHEDIT_SAVED_SEARCHMOVE_SAVED_SEARCHDELETE_SAVED_SEARCHSEARCH(runs the same kind of query a saved search would use, and returns the result)GET_WIDETSSET_WIDGET(sets the saved search that a widget displays)Where relevant, a note can be selected by:
GET_BOOKS,SEARCH, etc.