A new callbacks structure has been implemented. The kernel calls scripts in system.callbacks when certain actions are taken. All of these callbacks can return false to prevent other callbacks from running. The title parameter is the full path to window's file, or window name if unsaved. If this script returns false, Frontier does not close the window.
Name is the string that was double-clicked.
The adr parameter is the address of the script that is not compiled. This script is called by Frontier before closing a script window that has been edited. Return true to have Frontier compile the script before closing the window. Handles control2Clicks on Macs. Unlike the closeWindow callback, openWindow is called for all opens, even when script generated.