I think should be fairly simple but google search isn’t turning up much. I have a scriptable script which prompts me for input and generates some text that I would like to automate sending to drafts with a specific tag. Any suggestions would be appreciated
You’ll want to use Scriptable to build a URL that uses Drafts’s URL scheme to create a new draft.
Scriptable documentation is built in. Drafts documentation is available at getdrafts.com
In case it helps, Drafts’ x-callback-url option for draft creation can be found on the getdrafts.com web site here:
Thanks URL scheme will be a new adventure for me so will jump in. Probably could do most in drafts bcI think it can prompt for info. I’ll check that out. Thanks
Never used them before but works great. Thanks
If i heard correctly aren’t these callback url’s being phased for some security risk?
Maybe some day they will be phased out, but not yet.
Here’s the Apple Developer info - https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app