I can't find it in the docs - how do i paste text with Hammerspoon on OS X?
I tried the following:
hs.hotkey.bind({"ctrl", "pad1"}, "1", function()
hs.eventtap.keyStrokes("this needs to be pasted!")
end)
but it does not work.
I pressed "control" and Numpad's "1" on my keyboard.
Thanks for help!
I found out how it works, the keybinding was wrong.
Thank you all for helping.