5

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

 ~f2::
clipboard = %clipboard%
send %clipboard% {enter}

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

αғsнιη
  • 36,350
Steve Urkel
  • 51
  • 1
  • 3

2 Answers2

5

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.

1
keyboard.send_keys("<ctrl>+v")

Also, for phrases, be sure to select this option:

enter image description here