Dgameman1 Posted September 5, 2011 Share 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 Link to comment Share on other sites More sharing options...
PAEz Posted September 6, 2011 Share 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now