BryceTheCoder Posted March 13, 2013 Share Posted March 13, 2013 Hello, this is what I'm trying to do (for testing purposes): Wnds := FindWindowsEx(GetDesktopWindow, 'NotSMART', '', False, False, True); if Length(Wnds) > 0 then begin ActivateWindow(Wnds[0]); MMouse(0,0,0,0); end else begin writeln('Did not find window.'); end; It finds that actual windows of "NotSMART" but moves the 0,0 of the desktop and not the actual "NotSMART" window? Can someone help me with this, thanks! Quote Link to comment Share on other sites More sharing options...