Before switching to Ubuntu I used to use AutoHotkey for the sole purpose of pasting from my clipboard, the simple command was:

clipboard = %clipboard%
send %clipboard% {enter}

or something along those lines. Does anyone have a similar script for Autokey?

I've found that we can do it by script like this:

content = clipboard.get_clipboard()
keyboard.send_keys("wrapping text %s wrapping text" % content)

Then the script can be used by an abbreviation or a hotkey which you can set on it.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.