Sections · 12/12
Scheduled Shortcuts
Use the result of a macOS shortcut to fill the fields of a custom integration.
- In Shortcuts, create a shortcut that returns a result. For example, add
the Dictionary action and give its text key
statusthe value “OK.” - In SparkU, open Settings → Integrations → Custom. Create or open an integration. In Data Source, choose the shortcut and click Test Run. If macOS asks to allow output, choose Always Allow for scheduled runs.
- Click Add Fields from Result or set up the fields yourself. Set the notch
indicator to Value and choose the
statusfield. Save the integration. With a one-minute interval, the first result appears after the scheduled run in about a minute.
A dictionary fills fields by key. Text or a number fills the only field or
the value field when there are several. A missing or invalid value clears
its field. An element set to Always shows a dash for an empty value. The
integration log shows the outcome of each run.
Scheduled runs work with Custom Integrations enabled even when the app API
is off. When moving a .sparku file to another Mac, choose the shortcut
on that Mac.