I would like to see KM register as an OS X extension and allow the calling app to pass objects to KM. I am a heavy user of the Workflow app on the iPad. I find the workflow that is enabled by the sharing extension to be vastly superior to KM because I can take objects that have been created by one app and not saved to the file system and act upon them and send them to another app.
For example, one such workflow is taking a PDF that is in an email message, renaming it, saving it to Dropbox, and sending it off to a client with comments.
I understand that this could be done by copying the document and then using KM to act on the clipboard. I think that skipping that clipboard step is much cleaner.
But, for every different app from which I want to grab a PDF, I have to
write a different script. If KM was registered as an extension, I get a
reference to the object without a separate script. I’d spend my life
scripting instead of doing my real work.
It just seems to be such a natural fit for KM. I’m always frustrated that
it is not in the Mac share sheet.
One KM option is to create a macro that watches a specific folder, and then processes anything put in that folder. Then you could just drag/drop (or Save AS to the folder) the PDF (or any attachment) from Mail (or any app) to the watched folder, and that would trigger the KM macro.
Ideally you would be presented with a list. It would be even better if one
could specify the input that a particular macro could take, then have the
list only show macros that take the kind of input being offered by the
share sheet.