#Requires Autohotkey v2.0 SendMode("Event") SetKeyDelay (200) ; ^ =ctrl +=shift !=alt SetNumLockState True ;########################################## ; Delete lines 1 and 2 from a paragraph wiht 3 lines ; With this script running, place the cursor on line 1 at the beginning. and press the hotkey. ; Note: ^9 - CTRL + 9 ;######################################### ;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^9:: { Loop 8 { ; change this to give the number of iterations you want. Sleep (500) Loop 2 { ; don't change this - leave it as "2". Send "{end}" Sleep (100) Send "{shift down}" Send "{home}" Send "{shift up}" Send "{delete}" Sleep (100) Send "{delete}" Sleep (100) } Send "{down}" Send "{delete}" } }