Just monitor this command and send WM_CLOSE to the process that called Command(4109). Regardless of the focus, since the script can execute to start a new AkelPad process and the old one is already sent to close.I tried directly sending a message to AkelPad. Indeed, the brakes have disappeared. All that remains is to figure out how to send a message from the Lister window when it has focus.send them this message WM_CLOSE
Code:
//Script restart.js or AkelPadRestart.jsAkelPad.Command(4109); // Exit
Statistics: Posted by truepatch — 2024-06-12, 10:11 UTC