02-07-2005, 12:17 PM
please use the quickmacros help.
Quote:Close or destroy window
Syntax
clo[+] [window]
Parts
window - top-level or child window.
Options: - destroy window (post WM_DESTROY message). Default: close window (post WM_CLOSE message).
Remarks
If window is omitted then will be closed active window.
Tips: You can record name of window from mouse position. Default hot key is Ctrl+Shift+Alt+W.
Examples
clo "Notepad" close "Notepad" window
clo+ "Notepad" destroy "Notepad" window
clo close active window