Reputation: 237
I have some lines bookmarked. I want insert a bookmark to next line of these lines.
I recorded this macro on Notepad++ but I don't understand because doesn't work well:
F2
down arrow
ctrl+F2
This simply combination give me errors, is there a solution?
This is the raw macro code:
In this case I record 3 times F2-down arrow-ctrl+F2.
But I don't want to record the number of lines that are marked (21,59,63), I want simply apply the macro.
Upvotes: 2
Views: 4670
Reputation: 237
i solve this problem using AutoHotKey..i record a script and edit it with this text:
WinWait, *new 2 - Notepad++,
IfWinNotActive, *new 2 - Notepad++, , WinActivate, *new 2 - Notepad++,
Sleep, 100
Send, {F2}{DOWN}{CTRLDOWN}{F2}{CTRLUP}
**new 2
is the name of my current opened notepad++ window
** Send, {F2}{DOWN}{CTRLDOWN}{F2}{CTRLUP}
is the keyboard command required to create a bookmark after the above bookmark. If i copy many times Send, {F2}{DOWN}{CTRLDOWN}{F2}{CTRLUP} I get the desired result
Upvotes: 2