Accessibility APIs may indeed be the limiting factor in this situation. The only way that I can currently see making this work is by manually sending "Cmd-C" and "Cmd-V" signals to copy/paste selections. Pasting a snippet would in fact just overwrite your clipboard with the contents of the snippet and then send the keyboard signal "Cmd-V" to paste it as if you did it yourself. It's hacky, but if you're okay with it ruining your clipboard on both save-snippet and paste-snippet actions, then it shouldn't be a problem.
Option C is actually not much different from option A. In option C, it watches what you just typed, and finds the snippet with that name. But in option A, it pops up a window and lets you type the name, and selects one that matches (by substring comparison), and filters/selects it as you type. So actually not only is option A easier to write than option C, but it's easier for you to use also.
Donations would be appreciated, but gittip is weekly whereas I would prefer one-time donations only. And I don't know of any other service that does one-time tips/donations, so just don't worry about it.
Hmm, yeah, I guess I'm ok with it blowing away the clipboard - however, probably don't make it the default, and warn users when they turn it on that it's a side-effect.
But you'd still need to delete the abbreviation text they used to trigger it right? Well, unless we went with option (a) and the popup.
Hmm, I see what you're saying with (a) - it actually could work pretty well, as long as it was fast and responsive, and seemed seamless.
Yes, happy to do a one-time dontation.
Have you considered doing a Magic Backlog like these guys?
Option C is actually not much different from option A. In option C, it watches what you just typed, and finds the snippet with that name. But in option A, it pops up a window and lets you type the name, and selects one that matches (by substring comparison), and filters/selects it as you type. So actually not only is option A easier to write than option C, but it's easier for you to use also.
Anyway, I'll open-source it and do all the work in this github project: https://github.com/sdegutis/osx-snip
Donations would be appreciated, but gittip is weekly whereas I would prefer one-time donations only. And I don't know of any other service that does one-time tips/donations, so just don't worry about it.