Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Send contents of clipboard as keystrokes in AutoHotkey

I'm looking for a way to send the contents of the clípboard as key output. E.g. if the clipboard says "123456789" I want the keys 1-2-3-4-5-6-7-8-9 sent to the keyboard input.

I've tried:

SetWinDelay 100
SetKeyDelay 0

^f::
Send %clipboard%
return

To map the 'clipboard paste' to ctrl+f, but it is just literally pasting '%clipboard%'

like image 629
abcde123483 Avatar asked Nov 08 '11 12:11

abcde123483


People also ask

How do I send keystrokes in AutoHotkey?

Send +{TAB 4} ; Presses Shift-Tab 4 times. To hold down or release a key: Enclose in braces the name of the key followed by the word Down or Up. For example: Send {b down}{b up} Send {TAB down}{TAB up} Send {Up down} ; Press down the up-arrow key.


1 Answers

SendRaw %clipboard% 

Did the trick

like image 189
abcde123483 Avatar answered Nov 06 '22 12:11

abcde123483