Tomohashi Posted April 30, 2007 Posted April 30, 2007 Here's my code: WinWaitActive("RuneScape - the massive online adventure game by Jagex Ltd - Mozilla Firefox") $scoord = PixelSearch(261,250,774,585, 9134614) If Not @error Then MouseClick("left"[,x,y[,2[,0]]]) endIf Those are the right coordinates for the Runescape game, and for the color of the search I used a decimal value off of a goblins foot. When I run the script and then select Runescape to be my active window, however, nothing happens. I really just took some scripts that I had read before and threw them together, so I wasn't expecting much from this. But can someone tell me how to fix it?
Zedna Posted April 30, 2007 Posted April 30, 2007 (edited) MouseClick("left",$scoord[0],$scoord[1],2,0) Edited April 30, 2007 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search
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