jgclark / NotePlan-tools

This Ruby script adds functionality to the [NotePlan app](https://noteplan.co/). Particularly when run frequently, this provides a more flexible system for repeating tasks, allows for due dates to be expressed as offsets which allows for templates, and moves or files items from Daily files to Note files. It incorporates an ealier script to 'clean' or tidy up NotePlan's data files.
26 stars 6 forks source link

Is this still supported/working #42

Open cwhittl opened 2 months ago

cwhittl commented 2 months ago

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 commented 2 months ago

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 commented 2 months ago

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 commented 2 months ago

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

cwhittl commented 2 months ago

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 commented 2 months ago

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

cwhittl commented 2 months ago

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 commented 2 months ago

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?

cwhittl commented 2 months ago

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