WinItemize

Returns a tab-delimited list of all open windows.

Syntax:

WinItemize ( )

Parameters:

(none)

Returns:

(s) list of the titles of all open windows.

 

This function compiles a list of all the open application windows' titles and separates the titles by tabs. This is especially useful in conjunction with the AskItemList function, which enables the user to choose an item from such a tab-delimited list.

This function works only with top-level (parent) application windows. See WinItemChild to work with child windows.

Example:

; Find a window
allwins = WinItemize( )
mywind = AskItemlist("Windows", allwins, @TAB, @UNSORTED, @SINGLE, @FALSE)
WinActivate(mywind)
Exit
See Also:

DirItemize, FileItemize, AskItemList, WinClose, WinGetActive, WinItemNameId, WinName, WinPlaceGet, WinPosition