Dgameman1 10 Posted September 5, 2011 (edited) It works perfectly on notepad for example, Func button3() PixelSearch ( 292, 421, 383, 490, 0x52CE29 , 0 , 0 ) ControlClick("[CLASS:Notepad]", "", "") EndFunc If I were to do it on for example, google chrome or basically anything that's not as simple as notepad, it can't find the correct window. What do I do? I have to do it like this =/ Func button3() WinActivate("[CLASS:Chrome_WidgetWin_0]", "") PixelSearch ( 292, 421, 383, 490, 0x52CE29 , 0 , 0 ) MouseClick("primary", 348, 461, 1) EndFunc Edited September 5, 2011 by Dgameman1 Share this post Link to post Share on other sites
PAEz 1 Posted September 6, 2011 Almost all of Chrome is custom drawn so the usual stuff doesnt work. Instead of click on the button could you use a keyboard shortcut? A list of Chrome shortcuts can be found here.... http://www.google.com/support/chrome/bin/static.py?page=guide.cs&guide=25799&topic=28650 Share this post Link to post Share on other sites