Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add the command in a template and make it auto-run #47

Closed
ferranrego opened this issue Oct 19, 2022 · 9 comments
Closed

How to add the command in a template and make it auto-run #47

ferranrego opened this issue Oct 19, 2022 · 9 comments

Comments

@ferranrego
Copy link

Hi,

firstly, thanks @hkgnp for developing for this plugin, it really made my life easier.

I'm opening this issue because:

  1. I have a template that is executed daily and it appears on my journal block.
  2. I would like the command /pull today to be executed and generate the list of task of that day automatically.

Is that possible? Adding the command to the template now executes the command instead of waiting to execute it every midnight.

Thanks!

@benjypng
Copy link
Owner

benjypng commented Oct 20, 2022 via email

@ferranrego
Copy link
Author

Thanks for the answer, this is how I do it with the "Unfinished business" plugin:

image

Is there something similar with todoist plugin?

@benjypng
Copy link
Owner

benjypng commented Oct 21, 2022 via email

@ferranrego
Copy link
Author

Sounds good! Many thanks @hkgnp!!

@benjypng
Copy link
Owner

benjypng commented Nov 5, 2022

Please update the plugin and setup your template as follows (i.e. {{renderer :todoist_randomword}}):

Screenshot 2022-11-05 at 5 52 15 PM

Let me know if it works.

@ferranrego
Copy link
Author

ferranrego commented Nov 7, 2022

Hi @hkgnp, thanks for this update. Seems what I was looking for, but I'm not sure if I do it well, but the string {{renderer: todoist_randomword}} still stays in the page after being executed, and then every time I interact with the tasks or the block, it executes again.

@benjypng
Copy link
Owner

benjypng commented Nov 7, 2022

Apologies could you try to update to the latest version and try to set it up again?

@ferranrego
Copy link
Author

Works like a charm now, many thanks @hkgnp!!

@p1ntobean
Copy link

Has this item been deprecated in later releases?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants