npenfold Posted March 28, 2018 Share Posted March 28, 2018 Hello everyone, Just trying to learn AutoIt and looking to create a 3 image auto for my college project. 1. Search image > Click 2. Search image > Click > Type "My College Project 2018" > Click Image 3. Click image Only managed to come up with this. #include <ImageSearch.au3> HotKeySet("p", "checkForImage") global $y = 0, $x = 0 Func checkForImage() Local $search = _ImageSearch('icon1.bmp', 0, $x, $y, 0) If $search = 1 Then MouseMove($x, $y, 10) EndIf EndFunc while 1 sleep(200) WEnd Would appreciate any help! Link to comment Share on other sites More sharing options...
Developers Jos Posted March 29, 2018 Developers Share Posted March 29, 2018 (edited) This is no different than the previous closed threads which you also received a warning for. Give me one good reason/explanation this is not the case? Jos Edited March 29, 2018 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
npenfold Posted March 29, 2018 Author Share Posted March 29, 2018 Hi Jos, I don't play any games anymore as I am running a full time business now. I am also trying to make a script that will load my college website, go to my uploaded project and run it. I've read the rules and this is not what I am trying to achieve. Link to comment Share on other sites More sharing options...
Developers Jos Posted March 29, 2018 Developers Share Posted March 29, 2018 Fine, so why on earth do you want to use ImageSearch() to work on your college website? What exactly do you want it to do as there have to be better ways of doing this? Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
npenfold Posted March 31, 2018 Author Share Posted March 31, 2018 Just looking for something quick and easy. Don't need over complicated things for this project. Earthshine 1 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