#
hs.shortcuts
List and run shortcuts from the Shortcuts app
Separate from this extension, Hammerspoon provides an action for use in the Shortcuts app.
The action is called "Execute Lua" and if it is passed a text block of valid Lua, it will execute that Lua within Hammerspoon.
You can use this action to call functions defined in your init.lua
or to just execute chunks of Lua.
Your functions/chunks can return text, which will be returned by the action in Shortcuts.
#
API Overview
Functions - API calls offered directly by the extension
list run