If you want to delete current line, press Ctrl+Y (for more shortcuts press F1 and look into help)
In the script call PSPad command ecDeleteLine. Somthing like for VBScript:
set obj = NewEditor()
obj.assignActiveEditor()
obj.command("ecDeleteLine")
--
<http://forum.pspad.com/read.php?2,65639,65642>
PSPad freeware editor http://www.pspad.com
