mapping a specific copy command Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
yonderboy
Posts: 6
Joined: 04 Apr 2018, 13:18

mapping a specific copy command

06 Apr 2018, 14:06

I'm trying to create a hotkey that would do the following key commands: control+right arrow key, hold shift key, right arrow, right arrow, right arrow, control+copy

In excel, I want to be able to move to the first cell in a column with data, then copy the next three cells to the right of that cell. I'm very new to AHK and don't know how to "hold down" a key or strike the same key multiple times.

Any help would be much appreciated.

Thanks.
donovv
Posts: 108
Joined: 15 Apr 2017, 21:06

Re: mapping a specific copy command  Topic is solved

06 Apr 2018, 15:03

try this

Code: Select all

f1::
	send ^{right}
	send {shift down}
	send {right}{right}{right}
	send {shift up}
	send ^c
return
yonderboy
Posts: 6
Joined: 04 Apr 2018, 13:18

Re: mapping a specific copy command

06 Apr 2018, 15:14

donovv wrote:try this

Code: Select all

f1::
	send ^{right}
	send {shift down}
	send {right}{right}{right}
	send {shift up}
	send ^c
return
That works perfectly. Thank you!

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: oktavimark, Rohwedder and 265 guests