Tutorial: window.getCurrent

window.getCurrent

Returns an instance of the current window.

Example

var finWindow = fin.desktop.Window.getCurrent();

finWindow.close();