Skip to content
This repository has been archived by the owner on Jul 4, 2020. It is now read-only.

Supported Actions

Alexis Aubry edited this page Dec 24, 2018 · 2 revisions

This is the list of actions supported by ShortcutsSwift so far, and the corresponding functions to create them.

Action Function
Ask for Input ask(question:defaultAnswer:)
Change Case changeCase(to:)
Choose from Menu chooseFromMenu(prompt:items:)
Comment comment(_:)
Copy to Clipboard copyToClipboard(localOnly:expireAt:)
Get Battery Level getBatteryLevel()
If conditional(_:_:ifTrue:ifFalse:)
Replace Text replaceText(_:replaceWith:caseSensitive:regularExpression:)
Set Low Power Mode setLowPowerMode(_:)
Share share()
Show Result showResult(_:)
Clone this wiki locally