Ok, so I have a script with Hammerspoon that executes key stokes for me. Simple example:
hs.hotkey.bind({'cmd','alt','ctrl'}, "b", function()
hs.eventtap.keyStroke({}, "Left", 200000)
hs.eventtap.keyStroke({}, "Left", 200000)
hs.eventtap.keyStroke({}, "Right", 200000)
hs.eventtap.keyStroke({}, "Right", 200000)
end)
I know I can filter this script to only work in specific applications, but my question is: is it possible to send these key strokes to one application, while using my physical keyboard normally in another application? Like having the key strokes sent 'in the background', so they aren't registered in the application I'm currently using.