johnlindquist / kit

Script Kit. Automate Anything.
https://scriptkit.com
MIT License
3.9k stars 138 forks source link

[FR] macOS Shortcut Actions for kit #1049

Open andrewcrook opened 1 year ago

andrewcrook commented 1 year ago

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

johnlindquist commented 1 year ago

@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