IMG Home PageIMG ProductsProduct DownloadsOrdering InformationTechnical Support and Frequently Asked QuestionsDeveloper's Corner and UtilitiesAbout IMG
CustomersIMG ResellersMedia InformationIMG Events / Trade ShowsUseful LinksIMG Contact InformationIMG Information / Policies


Wait and then Close Program/Utility

Name: Wait & then Close Utility

Executable name: WAITCLOSE.EXE

Command Line Arguments: [Wait time]

Requires: WAITCLOSE.INI

Description: Wait optional specified Wait time, then Close other windows based on entries in WAITCLOSE.INI

Notes: The below is a copy of the WAITCLOSE.INI file that has comments embedded in it. The INI must be in the same folder as the EXE file, and there must be at least some text for the title match or class match. CloseAll is default off, so only 1 window will be closed. Note that a simple match for PartofWindowsTitle with CloseAll=1 may match a lot of windows and cause other problems

The utility uses the Windows API GetWindowText and GetClassName to obtain the class names while enumerating all normal (application type) windows.

WAITCLOSE.INI

This WAITCLOSE.INI is used by the My-T-Soft Developer's Kit WAITCLOSE to identify a caption and/or class of a window to close

If the entry is empty (e.g. PartofWindowTitle= ), then it will not be used

If both entries are empty, then WaitClose will issue a warning!

The window title is a substring search, while the class must match exactly!

For help finding out further info about actual values in running window, refer to the ShowInfo.exe in DevUtil folder (or Windows Spy utilities)

[Settings]

PartOfWindowTitle=

PartOfWindowTitle if it contains some text will be used in a case insensitive match based on the Window title (caption bar text) from GetWindowText

Word would match "WordPad","Microsoft Word","WordPeferect","E-mail to WordSmith", etc.

Examples:

PartOfWindowTitle=Document

PartOfWindowTitle=Microsoft Word

WindowClass=

The WindowClass must be a complete (case insensitive) match to a window class

This can be used to ensure that only the window(s) you are interested in will be matched

Examples:

WindowClass=IEFrame

WindowClass=Notepad

CloseAll=0

If CloseAll=1, then all windows will be enumerated and any matches will be send a WM_CLOSE message. If CloseAll=0 then the first match will stop the enumeration of top level windows.

Support: My-T-Soft 1.x (Note: not tied to version)


IMG Home PageIMG ProductsProduct DownloadsOrdering InformationTechnical Support and Frequently Asked QuestionsDeveloper's Corner and UtilitiesAbout IMG
CustomersIMG ResellersMedia InformationIMG Events / Trade ShowsUseful LinksIMG Contact InformationIMG Information / Policies


As seen in ...

Yahoo!finance