EnableExplicit Define hwnd.l hwnd = FindWindow_("notepad",#Null) If hwnd ShowWindow_(hwnd,#SW_MINIMIZE) EndIf