Is there any way to get
drafts://x-callback-url/runAction to return a response in the
I’m tinkering with OmniFocus plug-ins using Omni Automation and I’m finding cases where I want to make use of Drafts actions as part of the plug-in implementation, simply because there are things that Drafts does really well that Omni Automation doesn’t cover.
My current goal is to write an OmniFocus plug-in that will automatically create a new note in Bear for the selected project and then copy the Bear link back into the OmniFocus project note field. I can probably make this work without involving Drafts at all, but I’d really like to be able to delegate the note creation to a Drafts action so I can use
MustacheTemplate and Drafts’
The only problem is that I don’t know how to get the Bear note link back to OmniFocus in the x-success parameter. What I’d really love is a function in Drafts Scripting API that would let me set the x-success response from the action — maybe on the