AHK Studio: "create duplicate line" command?

Editor for AutoHotkey written completely in AutoHotkey.

Moderator: maestrith

User avatar
kunkel321
Posts: 1042
Joined: 30 Nov 2015, 21:19

AHK Studio: "create duplicate line" command?

Post by kunkel321 » 09 Jan 2021, 20:33

Does anyone know if there is a "duplicate line" command in AHK Studio? Like for creating a duplicate line. (Make an exact copy of the current line, and put it right below.) I guess I can make a quickie script to do it, but I thought I'd check first and see if there's a plug-in or something already....
ste(phen|ve) kunkel

gregster
Posts: 8999
Joined: 30 Sep 2013, 06:48

Re: AHK Studio: "create duplicate line" command?

Post by gregster » 09 Jan 2021, 21:02

In many editors, you can use Ctrl+d (untested in AHK Studio).

Edit: I just read, it would be F2 in AHK Studio.

PS: Moved the topic to the AHK Studio subforum.

User avatar
kunkel321
Posts: 1042
Joined: 30 Nov 2015, 21:19

Re: AHK Studio: "create duplicate line" command?

Post by kunkel321 » 10 Jan 2021, 13:30

Yep -- That works. Thanks Gregster. And thanks for moving my topics to the correct subforum.
ste(phen|ve) kunkel

DaveT1
Posts: 224
Joined: 07 Oct 2014, 11:23

Re: AHK Studio: "create duplicate line" command?

Post by DaveT1 » 10 Jan 2021, 14:52

Also you can re-assign hotkeys in AHKStudio - 'alt+m' and search for '@hot'. This will give 'Edit Hotkeys' at the top of the list....

HTHs.

Post Reply

Return to “AHK Studio”