An example project to demonstrate the new scripting capabilities of Shortcuts For Mac
Scripting Shortcuts Test Project
This simple project is designed to test the new scripting capabilities introduced in the Shortcuts app in macOS Monterey beta 2 (21A5268h).
ScriptingBridge demo code was shown in the 'Meet Shortcuts For macOS' WWDC 2021 video along with the entitlements required to run it.
An NSAppleEventsUsageDescription string is has to be added to info.plist or it will silently fail.