herbster Posted March 24, 2008 Share Posted March 24, 2008 I'm sad to say I have no clue about programming, but need to see if AutoIT can perform a task for me. Can anyone help with automating the following please:If a colour is gray at an x,y co-ordinate, then do the following:Click a button (can provide x,y, co-ordinate) if another co-ordinate is green.Click a button (can provide x,y, co-ordinate) if another co-ordinate is gray.Wait 4 secondsIf a colour is green at the same x,y, co-ordinate then do the following:Click a button (can provide x,y, co-ordinate).Wait 1 second.Click a button (can provide x,y, co-ordinate).Wait 1 secondRepeat the whole process againSome pointers would be really appreciatedMany thanks, Link to comment Share on other sites More sharing options...
Swift Posted March 24, 2008 Share Posted March 24, 2008 PixelGetColor() PixelSearch() MouseClick() Sleep() While 1/WEnd Loop Those are some functions you will/might need Link to comment Share on other sites More sharing options...
LokErik Posted March 24, 2008 Share Posted March 24, 2008 if it´s a online game you maby shuld look up if it is protected by "gameguard" or "hackshield" or anny other "anti hack" shields, otherwise all schuld be fine i think. Good luck! The first error is one step closer to the perfect program. Link to comment Share on other sites More sharing options...
herbster Posted March 25, 2008 Author Share Posted March 25, 2008 PixelGetColor()PixelSearch()MouseClick()Sleep()While 1/WEnd LoopThose are some functions you will/might needThanks - will try and find some sample scripts that use those commands. Link to comment Share on other sites More sharing options...
herbster Posted March 25, 2008 Author Share Posted March 25, 2008 if it´s a online game you maby shuld look up if it is protected by "gameguard" or "hackshield" or anny other "anti hack" shields, otherwise all schuld be fine i think. Good luck! It's actually to do some testing on a website. Somebody has been experience problems and I want to try and reproduce it without wearing my mouse out! 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