pspad: -------------------------------------------------------------------------------- It can be general function, returning if script should end and test this function in loops. If function return true, script should end.
But again, PSPad can terminate script faster then the function will be handled by script in case script do some time consuming job. -------------------------------------------------------------------------------- Thanks again, I noticed, there was previously a function: pspadClosing() As discussed in: https://forum.pspad.com/read.php?6,72029,72041#msg-72029 If the problem is the same, like the one in that followup posts, I guess, this wouldn't work in the current cases either (for the same reason). These checks probably couldn't be run too frequently from the script-loop, as this would likely slow down the usual functionality. Thanks and regards, vbr -- <https://forum.pspad.com/read.php?2,73475,73485> PSPad freeware editor https://www.pspad.com
