NotePlan-tools icon indicating copy to clipboard operation
NotePlan-tools copied to clipboard

Is this still supported/working

Open cwhittl opened this issue 1 year ago • 8 comments

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?

cwhittl avatar Jun 25 '24 12:06 cwhittl

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.

jgclark avatar Jun 27 '24 20:06 jgclark

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.

cwhittl avatar Jun 27 '24 20:06 cwhittl

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

jgclark avatar Jun 27 '24 22:06 jgclark

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?

cwhittl avatar Jun 28 '24 13:06 cwhittl

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

jgclark avatar Jun 28 '24 21:06 jgclark

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

cwhittl avatar Jul 02 '24 12:07 cwhittl

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 avatar Jul 03 '24 22:07 jgclark

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

cwhittl avatar Jul 08 '24 14:07 cwhittl

Just checking in to see if this is still an issue, @cwhittl? There have been a number of releases in the last year, which may have resolved this.

jgclark avatar Sep 11 '25 16:09 jgclark