Onetastic Macro Documentation >
>
>
GetWindows GetWindows
Returns the set of open OneNote windows.
Syntax
Array<Window> GetWindows()
Parameters
This function has no parameters
Examples
foreach ($window in GetWindows())
if (!$window.isCurrent)
Window_Close($window)
|