clipboard

Get help with using AutoHotkey and its commands and hotkeys
jdmarsh50
Posts: 3
Joined: 11 Oct 2018, 19:51

clipboard

11 Oct 2018, 19:58

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
User avatar
jeeswg
Posts: 5406
Joined: 19 Dec 2016, 01:58
Location: UK

Re: clipboard

11 Oct 2018, 20:19

Code: Select all

;more forwards compatible:
Send, % "{Tab 3}" Clipboard "{Tab}{Enter}"

;also:
Send, {Tab 3}%Clipboard%{Tab}{Enter}
Cheers.
jdmarsh50
Posts: 3
Joined: 11 Oct 2018, 19:51

Re: clipboard

11 Oct 2018, 20:27

Thanks. One more that is kicking me around. How do I represent the left arrow key?
User avatar
jeeswg
Posts: 5406
Joined: 19 Dec 2016, 01:58
Location: UK

Re: clipboard

11 Oct 2018, 20:29

{Left}

List of Keys (Keyboard, Mouse and Joystick) | AutoHotkey
https://autohotkey.com/docs/KeyList.htm
jdmarsh50
Posts: 3
Joined: 11 Oct 2018, 19:51

Re: clipboard

11 Oct 2018, 21:40

Thanks!
CyL0N
Posts: 163
Joined: 27 Sep 2018, 09:58

Re: clipboard

12 Oct 2018, 11:34

Code: Select all

^F4::
Send {tab 3}
Send ^v
Sleep 50		;for reliability. 
Send {tab}{enter}
Return 

Return to “Ask For Help”

Who is online

Users browsing this forum: Bing [Bot], Hellbent, lockherin and 34 guests