Hacker News new | ask | show | jobs
by neurocroc 3458 days ago
Is there any information on how you can run hammer spoon lua bindings from Alfred? I always wanted to call specific functions from hammer spoon from applescript or something but have no idea how you could do that.
1 comments

In the workflow creator, under "Outputs" is "Dispatch Key Combo Output". Give it the same hotkeys as the binding uses in init.lua. https://www.alfredapp.com/help/workflows/outputs/dispatch-ke...

Edit - If you're looking to do it through AppleScript, see: http://stackoverflow.com/questions/3690167/how-can-one-invok...