Sam

Results 134 comments of Sam

You could do this using templater and a template button. Let's say your count happens on line 10 of the note (based on the line numbers which are 1-based) Your...

NaN means not a number. Which means the line number is wrong or you have things on that line which isn't a number.

An yeah. That would explain it. Will have to add the template elsewhere and adjust the logic for it to replace the number. Take a look at this basic read/replace...

Whaaat is that? That's not how you do a template button. Check the readme or try using the button maker. 😅

You could kind of accomplish this by running the suggester multiple times in a loop... ```js const selections = [] while (selections.length

To fix this we would check for `ctime` before trying to use it here: https://github.com/SilentVoid13/Templater/blob/b7781a7ab7757f07cfdfc2c6fcabcc9b94e44a2a/src/core/functions/internal_functions/file/InternalModuleFile.ts#L98

Very strange that the whole button disappears. I'm guessing the way user script plugins work have changed in some way since I implemented the handling.

@ZobaJakColbert can you post the script code so I have a minimal reproducible example? I currently don't have a user scripts.

If you have an issue you should create a new ticket. I'll try to keep the lights on while Meta Bind implements the missing functionality. It looks like a much...