[此贴子已经被作者于2006-8-31 15:11:55编辑过]
if wvisible('command') deactivate window 'command'endif**这是关闭命令窗口,如果命令窗口打开着就关闭