http://EmpowermentZone.com/saysetup.exe SayTools Version 1.6 By Jamal Mazrui This version adds many convenience dialogs that a COM client can use. They were developed with the wxPython package and a module called Layout by Code, available at http://EmpowermentZone.com/pyLbc.zip Since SayTools now bundles wxPython, the capability is present for implementing additional, custom dialogs by executing Python source code dynamically at runtime. The new built-in methods create common dialogs with parameters that configure them. Parameters may include a window title, message below that, labels for edit boxes and buttons, or display names and underlying values for listboxes. An empty string may be passed if a parameter is not needed. To specify a sequence of items, use a vertical tab character (ASCII code 11 or \v symbol) to seperate them. When a method returns multiple items, it also uses a string with this delimiter (since not all programming languages support a COM array type, this technique is used instead). The batch file dialogs.bat illustrates over 10 different dialogs summarized below. DialogBrowseForFolder(sMessage, sValue) -- Select a folder DialogChoose(sTitle, sMessage, sNames) -- Choose a button DialogConfirm(sTitle, sMessage, sValue) -- Choose from a Yes/No/Cancel message box DialogInput(sTitle, sLabel, sValue) -- Input a value with a single-line edit box DialogMemo(sTitle, sLabel, sValue, bReadOnly) -- Input or read text with a multi-line rich edit box DialogMultiInput(sTitle, sLabels, sValues) -- Input values with multiple edit boxes DialogMultiPick(sTitle, sMessage, sNames, sValues, bSort, iIndex) -- Pick from a multiple-selection listbox DialogOpenFile(sMessage, sValue) -- Specify a file to open DialogPick(sTitle, sMessage, sNames, sValues, bSort, iIndex) -- Pick from a single-selection listbox, optionally sorting and setting an initial index DialogSaveFile(sMessage, sValue) -- Specify a file to save DialogShow(sTitle, sMessage) -- Show a message __________ View the list's information and change your settings at //www.freelists.org/list/programmingblind