Updated 10012022-044527
Captured: 2016-03-13 at 19:10 from ulyssesapp.com
Ulysses supports x-callback-urls, allowing other apps to trigger certain actions in Ulysses such as creating new sheets.
The used scheme is ulysses://. Every action can be called through the x-callback-url API using the following format:
ulysses://x-callback-url/[action]?[x-callback parameters]&[parameters]
For more information regarding the URL format, see the official specification.
In the following, all available actions are detailed. Please note that for reasons of clarity, the examples are not yet URL escaped. For instance, all whitespace must be replaced with %20.
new-sheetCreates a new sheet.
Parameters:
groupMy Group), the sheet is created in the first group matching regardless whether the group is on top level or nested. Alternatively a path can be specified, to address a specific, nested group. A path must begin with a slash (e.g. /My Group/My Subgroup).textExample: [ulysses://x-callback-url/new-sheet?text=My new sheet](ulysses://x-callback-url/new-sheet?text=My%20new%20sheet)
new-groupCreates a new group.
Parameters:
nameparentMy Group), the sheet is created in the first group matching regardless whether the group is on top level or nested. Alternatively a path can be specified, to address a specific, nested group. A path must begin with a slash (e.g. /My Group/My Subgroup).Example: [ulysses://x-callback-url/new-group?name=My Group](ulysses://x-callback-url/new-group?name=My%20Group)
open-groupOpen a group with a particular name in Ulysses.
Parameters:
nameMy Group), the sheet is created in the first group matching regardless whether the group is on top level or nested. Alternatively a path can be specified, to address a specific, nested group. A path must begin with a slash (e.g. /My Group/My Subgroup).Example: [ulysses://x-callback-url/open-group?group=My Group](ulysses://x-callback-url/open-group?group=My%20Group)
open-all, open-recent, open-favoritesOpens the special groups "All", "Last 7 Days" and "Favorites".
In addition to action parameters, generic x-callback parameters can also be included. All of these are optional.
x-sourcex-successx-errorx-cancelExample: If a new sheet should be created and the user wants to return to the calling app (say, "SourceApp") afterwards, use the following URL (line breaks are for legibility):
ulysses://x-callback-url/new-sheet?
x-source=SourceApp&
x-success=sourceapp://x-callback-url/success&
group=Lecture Notes