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)
|