shortcuts-js icon indicating copy to clipboard operation
shortcuts-js copied to clipboard

List of every action in shortcuts and their parameters

Open pfgithub opened this issue 6 years ago • 2 comments

This json file contains information about every default action in shortcuts 2.1.2, it was extracted from the shortcuts app by xAlien95 on the r/shortcuts discord.

JSON file: https://pastebin.com/raw/7y7D0nvC

An example action:

"is.workflow.actions.gettext": {
	"ActionClass": "WFTextAction",
	"ActionKeywords": [
		"text",
		"such text",
		"very speech",
		"much words",
		"so wow",
		"string"
	],
	"Category": "Text",
	"Description": {
		"DescriptionSummary": "Passes the specified text to the next action."
	},
	"IconName": "Text.png",
	"Name": "Text",
	"Output": {
		"Multiple": false,
		"OutputName": "Text",
		"Types": [
			"NSString"
		]
	},
	"Parameters": [
		{
			"Class": "WFTextInputParameter",
			"DefaultValue": "",
			"Key": "WFTextActionText",
			"Multiline": true,
			"Placeholder": "Enter text..."
		}
	]
},

pfgithub avatar Feb 02 '19 17:02 pfgithub

This is really interesting, thanks for posting and thanks @xAlien95 for extracting it. Going to have a play around with it now.

Sent with GitHawk

joshfarrant avatar Feb 02 '19 17:02 joshfarrant

This json file contains information about every default action in shortcuts 2.2

Small misspelling, it's 2.1.2.

"ActionKeywords": [
  "text",
  "such text",
  "very speech",
  "much words",
  "so wow",
  "string",
],

That's true, you can search for "so wow" and the Text action will show up 😆

xAlien95 avatar Feb 03 '19 00:02 xAlien95