Hi all, I’m finally back to Drafts after some time away. I would like some help with the following:
I discover some text such as a note, joke, story, creative idea, etc.
I want to capture on my phone with voice recording or scan input
Send the text to a created sheet in Ulysses labeled something like the categories above, or the Inbox would probably be OK also. Creating an IOS shortcut would automate this some more I believe.
Any help greatly appreciated.
Jim Adams USA KY
Thanks for the quick reply. I need to know how to pass the particular snippet to a specific sheet or inbox I want the snippet to go. Then delete the snippet from Drafts, but that isn’t a must.
I found an Action that sends the snippet in Drafts to Ulysses. It sends to the Ulysses Inbox. That is workable for sure, but I would like to pick a particular group before sending. Any thoughts? Please point me to a faq or examples if you can so I can start learning and contributing to the community.
TIA,
Jim USA KY
The actions in the directory for Ulysses are using x-callback-urls to add content. Ulysses don’t look as though they publish details of their scheme any longer (which is worrying … perhaps no longer officially supported?), but you can find the details via archive.org.
The URL scheme information for creating a new sheet is as follows and includes details for including a group.
If no value is given, the sheet is created inside the Inbox.
format
Optional. Specifies the format of the imported text: markdown, text, html. Defaults to Markdown.
index
Optional. The position of the new sheet in its parent group. Use 0 to make it the first sheet. Available since Ulysses 2.8 (API version 2).
Example:
ulysses://x-callback-url/new-sheet?text=My new sheet&index=2
I don’t use Ulysses, so I have no way to test this, but I would assume an action like this would cover the basics.
The prompt just has a list of buttons with each button being the group name to assign the draft content to.
The action is currently set to do nothing with the draft so you can test it non-destructively (or at least as non-destructive as your default is set ). If you are happy with it and want to add your draft to the trash (it will go to trash, not totally deleted - which is the norm), select the “trash” option from the “After Success” drop down in the action’s properties.
~5 months ago, I reached out to Ulysses’ developers regarding this very subject and they responded with a .zip file (which I published in full on GitHub,) with this explanation:
We have deprecated support for X-Callback URLs, since most actions should be available via Shortcuts. However, X-Callback still works in Ulysses. You can find the documentation for X-Callback in Ulysses in the attached zip file.