How to programmatically add tasks to a file #3407
-
Hi friends I am having some issues with inserting tasks (I'm using the emoji format) into a file programmatically. They do not seem to get recognized as tasks if for example the quickadd plugin formats a t ext and inserts it into a file as a task. In the capture format of a quickadd command, I have the following:
But these tasks do not get picked up by the global tasks query and they also have strange formatting. Is there another better way of doing this? the API seems to only allow modal task insertion but I just want to automatically create tasks for this quickadd action with automatic dates inserted etc. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Yes, using the QuickAdd plugin or one of the templating plugins is the right answer. Perhaps it is a Character encoding problem... This is definitely outside the scope of the Tasks plugin, and not something that I can help with. |
Beta Was this translation helpful? Give feedback.
-
If you would like some help with this bit, please paste in your Tasks Global Query as text. |
Beta Was this translation helpful? Give feedback.
-
Thank you @claremacrae |
Beta Was this translation helpful? Give feedback.
Yes, using the QuickAdd plugin or one of the templating plugins is the right answer.
Perhaps it is a Character encoding problem...
This is definitely outside the scope of the Tasks plugin, and not something that I can help with.