Skip to main content

GetWindowBrowserSelection

GetWindowBrowserSelection (mode)​

The GetWindowBrowserSelection function returns a semicolon seperated string that represents the selection in the Window Browser.

GetWindowBrowserSelection was added in Igor Pro 9.00.

Parameters​

mode specifies which selection should be returned:

mode = 0:Returns the window names of the selected windows in the main window list.
Other values for mode are reserved for possible future use.

Details​

If there is no selection, GetWindowBrowserSelection returns an empty string.

If the Window Browser is not open, GetWindowBrowserSelection returns an empty string and generates an error.

The order in which the selection is returned is undefined. If the order matters to you, you must sort the list yourself.

See Also​

The Window Browser, SortList