Hacker News new | ask | show | jobs
by expiredtofu 2963 days ago
I use the second code snippet in this link [1] for my autohotkey setup. It's pretty reliable.

[1]https://autohotkey.com/board/topic/10412-paste-plain-text-an...

1 comments

I do similar with hammerspoon on macos using this function. It has the added bonus of bypassing 'secure' password fields that block pasting.

function() hs.eventtap.keyStrokes(hs.pasteboard.getContents()) end