I'm having trouble getting the correct values from a WinGetPos return. I've used the function before and have no problem getting the correct values for say "notepad" and doing functions with that, but not getting the correct values for the application I want to close. Here is the code: CODEOpt("WinTitleMatchMode", 2)If WinExists("Example") Then While $exists Opt("WinTitleMatchMode", 2) $result = WinActivate("Example") If Not $result Then MsgBox(0,"Not","Not Found") EndIf Opt("WinTitleMatchMode", 2) $arr = WinGetPos("Example") MsgBox(0,"Position","The position is " & $arr[0] & " " & $arr[1] & " " & $arr[2] & " " & $arr[3]) MouseClick("primary",$arr[0]+$arr[2]-15,$arr[1]+15,1) Sleep(3000) $exists = WinExists("Example") WEndEndIfI know it is finding the window correctly because the return from the "WinActivate" and "WinExists" functions indicate no error. The result I am getting is "The position is 0 0 1680 1050" which is my desktop resolution. I also used the AutoIt window info app and was able to retrieve the correct position and size from that, but that doesn't help me because I can't hard code the position of the mouse click due to different window sizes and such. The only thing I can think of is the fact that the application I'm trying to close has an IEcontrol in it... Is there a known issue with finding the size/position of windows with IE controls? .... Frustrated ...