Standard Library of Custom Actions

You can use the Cherri Standard Library of custom actions using the following syntax:

#include 'stdlib'

This will give you access to the following actions. Note that custom actions are only included with your Shortcut if you use them.

Scripting

Choose from vCard

Prompt the user to choose from an array of vCards with a prompt. Returns the chosen vCard item.

chooseFromVCard(array items, text prompt)

Run JavaScript

Runs the JavaScript code in script and returns the output.

runJS(text script)