Shows a list menu of choices with checkmarks and returns the checked values. The following settings commands have effect on the window: SetScreenPos, SetBodyFont, SetBodyColor, SetBackgroundImage, ResetBackgroundImage, SetHeaderFont, SetHeaderColor, SetBackgroundImage, ResetBackgroundImage, SetWindowSize, SetWindowScale, SetNextWindowSize, SetNextWindowScale, SetScaling, EnableTopMost/DisableTopMost and the visual effects commands. If returned values must be different than the displayed text, split the value with |, where the variable name is before the split and the display text after the split. To pre-check an item, set an output variable using the Set command to "true" or "1" before using the CheckListMenu function. If the user cancels, the returned list is empty. The window icon can be changed using the SetMenuHeaderIcon command. ListOfValues simply means a dynamic number of parameters/values; there can be any number of parameters from none to an infinite number of parameters.
Example: ForEach Choice in [CheckListMenu Select Printer,Printer 1,Printer 2,Printer 3,Printer 4] |