kit icon indicating copy to clipboard operation
kit copied to clipboard

[FR] macOS Shortcut Actions for kit

Open andrewcrook opened this issue 2 years ago • 1 comments

Would be nice to be able to control Kit from shortcuts including running kit's scripts, passing values and receiving results.

andrewcrook avatar Jan 24 '23 18:01 andrewcrook

@andrewcrook You can run any script in the app from the terminal using ~/.kit/run.txt

For example, if you have a script named my-script.js

echo "my-script" > ~/.kit/run.txt

So in shortcuts:

CleanShot 2023-01-24 at 12 18 54

johnlindquist avatar Jan 24 '23 19:01 johnlindquist