Page 1 of 1
clipboard
Posted: 11 Oct 2018, 19:58
by jdmarsh50
Code: Select all
^F4::
Send,{tab}{tab}{tab}clipboard{tab}{enter}
I'm trying to use the CTRL-F4 key combo to send the following: TAB TAB TAB "contents of the windows clipboard" TAB ENTER
I have the TABS and ENTER keys working... what do I do to make the word "clipboard" in my script the windows clipboard variable?
Thanks
john
Re: clipboard
Posted: 11 Oct 2018, 20:19
by jeeswg
Code: Select all
;more forwards compatible:
Send, % "{Tab 3}" Clipboard "{Tab}{Enter}"
;also:
Send, {Tab 3}%Clipboard%{Tab}{Enter}
Cheers.
Re: clipboard
Posted: 11 Oct 2018, 20:27
by jdmarsh50
Thanks. One more that is kicking me around. How do I represent the left arrow key?
Re: clipboard
Posted: 11 Oct 2018, 20:29
by jeeswg
{Left}
List of Keys (Keyboard, Mouse and Joystick) | AutoHotkey
https://autohotkey.com/docs/KeyList.htm
Re: clipboard
Posted: 11 Oct 2018, 21:40
by jdmarsh50
Thanks!
Re: clipboard
Posted: 12 Oct 2018, 11:34
by CyL0N
Code: Select all
^F4::
Send {tab 3}
Send ^v
Sleep 50 ;for reliability.
Send {tab}{enter}
Return