sidupacx Posted February 20, 2014 Share Posted February 20, 2014 I need help writing code for v3.4 that allows changing of client then search for bitmap in new client and then once bitmap found then change client back to as it was. I have searched and searched and tried many different combinations of code and i don't feel like i am getting anywhere - please help! I only have the client title. I am currently using this: Wnds := FindWindowsEx(GetDesktopWindow, 'Desktop Alert', '', False, False, True); also another problem is that above code is in a while() loop and once the desktop alert has closed if Length(Wnds) > 0 then still returns TRUE and it executes the 'found window' code when it is no longer there! how do you reset Wnds to 'blank'? Quote Link to comment Share on other sites More sharing options...