Possible is nrar anything, but callbacks in interfaces are not easybto do. Intetfaces are too abstract. For callback you need to know id of process (running scriptsl
I can do general function what will return states, e.g. PSPad is closing. But script must react it snd I am afraid PSPad will terminate script faster than script reaction. We can extend scripts of flags, that PSPad will wait till script ends. There is lot of possibilities what can be done. The question is if it worth the effort and time you must put into it. -- <https://forum.pspad.com/read.php?2,73475,73482> PSPad freeware editor https://www.pspad.com
