All of these callbacks can return false to prevent other callbacks from running. These scripts take one parameter, a title. 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. These scripts take one parameter, a name.
Name is the string that was double-clicked.
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. These scripts take one parameter, the string that was selected. This script takes one parameter, the name of the window being opened. Unlike the closeWindow callback, openWindow is called for all opens, even when script generated.