xbar-plugins icon indicating copy to clipboard operation
xbar-plugins copied to clipboard

re: NotePlan Todo in Colour

Open bomberstudios opened this issue 8 years ago • 2 comments

FAO: (@raguay)

It would be nice to tweak the plugin to support NotePlan's preferences for lists / tasks (i.e: I have it set to ignore - Thing as a task, and just recognise - [ ] Thing, but it has preferences to use * instead of - for lists, etc…)

I've made changes locally to support my preferences (i.e: hardcoded checks for - [ ]), and may try to hack in support for this if I find the time, but I thought I'd file in case @raguay has the time or inclination to do it.

Thanks a lot for this plugin!

bomberstudios avatar May 19 '17 08:05 bomberstudios

I'm looking into this. I will most likely have to have the user tweak the program for their preference (set a flag at the top for the type of designation they want to use). I do not see a way to look at the Preference setting for NotePlan from an external program. But, I just sent the author a question about that.

I'll also be using the same fix for my PopClip extension and Alfred workflow as well. Lot's of work!

raguay avatar May 19 '17 10:05 raguay

You can probably use system('defaults read co.noteplan isAsteriskDefault') and system('defaults read co.noteplan allowListMarkAsTodo') to get the relevant preferences. Maybe there's a Ruby library out there to deal with preferences (https://rubygems.org/gems/osx-plist comes to mind, but it's not exactly the same thing…)

bomberstudios avatar May 19 '17 11:05 bomberstudios