I am using this script to to what i want(btw, this compose window is great ):
CODEAutoItSetOption ( "TrayMenuMode" ,1 )
AutoItSetOption("WinTitleMatchMode", 4)
If NOt WinActive("classname=ExploreWClass") And Not WinActive("classname=CabinetWClass") And Not WinActive("classname=Progman") Then
TrayTip("Quitting-","No Explorer window active." ,3,3)
Sleep(5750)
Exit
EndIf
AutoItSetOption ( "TrayIconHide" ,1 )
$optionKey = "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\A