No problem to call undo from script - use editorCommand() function and call undo
as many time as you need

-- 
<https://forum.pspad.com/read.php?2,74166,74169>
PSPad freeware editor https://www.pspad.com

Odpovedet emailem