Hello There is a way using pspad scripting. There is example script how to run editor command on all open files. Scripting is available in 32b version, must be enabled in Program settings / system integration
-- <https://forum.pspad.com/read.php?2,77244,77245> PSPad freeware editor https://www.pspad.com