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

Is this still supported/working #42

Open
cwhittl opened this issue Jun 25, 2024 · 8 comments
Open

Is this still supported/working #42

cwhittl opened this issue Jun 25, 2024 · 8 comments
Assignees

Comments

@cwhittl
Copy link

cwhittl commented Jun 25, 2024

I see that most of the functionallity was moved to the plugin but I'm really only interested in the repeats scripting. Due to some of the limitations of triggers not firing when completing tasks in a filter or daily note I need something to run on my machine to basically redo those repeats. So is that part of the ruby script still working?

@jgclark
Copy link
Owner

jgclark commented Jun 27, 2024

Yes, all the functionality here should be available now in the various plugins. This script is not maintained, though I can't think of any reason why this script's repeat functionality shouldn't still work fine.

I too sometimes have repeats that are completed when the editor isn't open, so triggers don't fire. To solve that I recently added a new "/Generate @repeats..." command to the Tidy plugin that generates any needed repeats from all notes changed in the last N days.
I would hope that covers all your cases, if you run that each day.
Or, as I do, include it my daily template.

@cwhittl
Copy link
Author

cwhittl commented Jun 27, 2024

Thanks, I have used that but the only issue is that every doc that it hits that doesn't it pops up and requires you to hit ok before it continues. Not sure if this is an issue with the plugin or changes in the app.

@jgclark
Copy link
Owner

jgclark commented Jun 27, 2024

Sorry I don't follow your first sentence: "that it doesn't" what?. And what pops up?

@cwhittl
Copy link
Author

cwhittl commented Jun 28, 2024

When i run the Tidy/regen code, I get this
image
and this image
for each file it goes against.

I have to click OK before it goes to the next one.

Is there a way to disable the prompt?

@jgclark
Copy link
Owner

jgclark commented Jun 28, 2024

Yes. The documentation shows there's a run silently option when run manually or through a template.

@jgclark jgclark closed this as completed Jun 28, 2024
@cwhittl
Copy link
Author

cwhittl commented Jul 2, 2024

Sorry to bother again, the only silent option I can find is in Tidy and it's set to true but still throws the error (I'm in IPADOS)

image

image

@jgclark jgclark self-assigned this Jul 3, 2024
@jgclark
Copy link
Owner

jgclark commented Jul 3, 2024

OK, I can't tell where the problem is, and it's much harder to debug something on iPad, as its hard to get see the DEBUG level logging.
What happens when you try the specific "/Generate @repeats in recent notes" command?

@jgclark jgclark reopened this Jul 3, 2024
@cwhittl
Copy link
Author

cwhittl commented Jul 8, 2024

I tried it on my Ipad and Mac and both keep prompting. I am on the beta of Notepad so not sure that matters or not but I think the issue seems to be that it's not reading the config correctly. I

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

2 participants