Mimic Sublime Text multiselect in Notepad++ using autohotkey

Posted by capnhud on Stack Overflow See other posts from Stack Overflow or by capnhud
Published on 2012-09-18T14:51:40Z Indexed on 2012/09/20 15:38 UTC
Read the original article Hit count: 182

Filed under:

In sublime text 2 you can multi select(cursor) lines by holding ctrl+alt+arrow key (up/down). In notepad++ you can accomplish the same thing by holding ctrl and clicking the additional lines(areas) you would like to edit. I figured I could use a autohotkey script to accomplish the same functionality. So I tried

#IfWinActive, ahk_class Notepad++
^!Down::^Click

but each time that I try to load the script I get

Error at Line 2
Line Text: ^Click
Error: This line does not contain a recognized action

the program will exit

then I tried

#IfWinActive, ahk_class Notepad++
^!Down::send ^Click

but that shows up as ETXClick in notepad++

What more do I need to get this script to work only for Notepad++

© Stack Overflow or respective owner

Related posts about autohotkey