Open App / openapp (internally is.workflow.actions.openapp)

This action requires that Shortcuts has permission to use WFURLOpenResource.

description

summary

Opens the specified app.

usage

openapp app=("app name" | "com.identifier.for.app")] wfappname="string"

arguments


app: App (Docs)

Allows Variables: true

Accepts a string containing a supported app or an app identifier. You can use this shortcut to get an app identifier for an unsupported app. Supported apps are:

  • appstore (App Store)
  • files (Files)
  • shortcuts (Shortcuts)
  • safari (Safari)
  • Any other app by entering its id from this shortcut

wfappname: Text (Docs)

Allows Variables: true

Only enabled if: This action is always disabled inside Shortcutslang.

Accepts a string or text with the text.


source json (for developers)

{
	"ActionClass": "WFOpenAppAction",
	"ActionKeywords": [
		"launch",
		"run",
		"switch"
	],
	"Category": "Apps",
	"Description": {
		"DescriptionSummary": "Opens the specified app."
	},
	"IconName": "Apps.png",
	"InputPassthrough": true,
	"Name": "Open App",
	"Parameters": [
		{
			"AppSearchType": "OpenApp",
			"Class": "WFAppPickerParameter",
			"Key": "WFAppIdentifier",
			"Label": "App"
		},
		{
			"Class": "WFTextInputParameter",
			"Hidden": true,
			"Key": "WFAppName"
		}
	],
	"RequiredResources": [
		"WFURLOpenResource"
	],
	"SuggestedNever": true
}