Skip to content

Instantly share code, notes, and snippets.

@foeken
Created October 20, 2024 13:12
Show Gist options
  • Save foeken/9d27ba9d13784fb654f30569d8e0deb4 to your computer and use it in GitHub Desktop.
Save foeken/9d27ba9d13784fb654f30569d8e0deb4 to your computer and use it in GitHub Desktop.
Apple Notes actions
[
{
"displayName" : "Apple Notes",
"description" : "",
"variables" : [
],
"order" : 27,
"forceConfigurable" : false,
"identifier" : "appleNotes",
"icon" : "folder",
"type" : "folder",
"instructions" : "",
"id" : "FBE77EE9-B85D-4B98-81B1-8F9F955C7B92"
},
{
"order" : 1,
"identifier" : "createNote",
"description" : "Create a new note in Apple Notes",
"displayName" : "Create Note",
"id" : "4CE759A0-1B8F-407F-A362-FFD2524538BF",
"icon" : "terminal",
"instructions" : "Download and Install the [Create Note](https:\/\/www.icloud.com\/shortcuts\/7d6c0e6860024e3f9437eb962912cdcf) Shortcut to get this to work.",
"command" : "open \"shortcuts:\/\/x-callback-url\/run-shortcut?name={{ shortcut | default:\"Create Note\" | percentEncode }}&input=text&text={{ input | percentEncode }}\"",
"variables" : [
{
"description" : "The name of your shortcut, defaults to \"Create Note\"",
"ai" : false,
"type" : "string",
"id" : "DFF47445-708B-41A2-9A8C-E9B0E1C9FA3A",
"name" : "shortcut",
"label" : "Shortcut",
"required" : true,
"value" : ""
},
{
"type" : "string",
"name" : "input",
"label" : "Input",
"ai" : true,
"required" : true,
"id" : "F88C3D3F-69C2-499A-8E41-52710070AC57",
"value" : "",
"description" : "The input to send to the Shortcut"
}
],
"folderId" : "FBE77EE9-B85D-4B98-81B1-8F9F955C7B92",
"type" : "terminalCommand",
"forceConfigurable" : true
},
{
"command" : "open \"shortcuts:\/\/x-callback-url\/run-shortcut?name={{ shortcut | default:\"Append to Note\" | percentEncode }}&input=text&text={{ note | percentEncode }}____{{ input | percentEncode }}\"",
"description" : "Append to an existing note in Apple Notes",
"icon" : "terminal",
"order" : 3,
"displayName" : "Append to Note",
"forceConfigurable" : false,
"id" : "511314A2-E648-4EFC-8B51-1DD950A0C8BE",
"type" : "terminalCommand",
"folderId" : "FBE77EE9-B85D-4B98-81B1-8F9F955C7B92",
"variables" : [
{
"type" : "string",
"name" : "shortcut",
"required" : true,
"ai" : false,
"label" : "Shortcut",
"id" : "DFF47445-708B-41A2-9A8C-E9B0E1C9FA3A",
"value" : "",
"description" : "The name of your shortcut, defaults to \"Append to Note\""
},
{
"name" : "note",
"required" : true,
"label" : "Note",
"value" : "",
"id" : "1E0A7391-94FC-4BC5-874A-3DA43C534399",
"type" : "string",
"ai" : false,
"description" : "The name\/title of the note"
},
{
"type" : "string",
"id" : "F88C3D3F-69C2-499A-8E41-52710070AC57",
"name" : "input",
"required" : true,
"value" : "",
"label" : "Input",
"ai" : true,
"description" : "The input to send to the Shortcut"
}
],
"identifier" : "appendToNote",
"instructions" : "Download and Install the [Append to Note](https:\/\/www.icloud.com\/shortcuts\/783ff172fa90497fa5fd825331ccbf4b) Shortcut to get this to work."
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment