pajamac Posted June 16, 2014 Share Posted June 16, 2014 (edited) Hello programers,i download ImageSearch.au3 and i want try out thsi function i create code: -snip Here is everythink ok but here is the problem : "C:\Users\***\Desktop\SFWinBot\ImageSearch.au3"(30,46) : error: missing separator character before keyword. Func _ImageSearch($findImage,$resultPosition,ByRef ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ "C:\Users\***\Desktop\SFWinBot\ImageSearch.au3"(34,63) : error: missing separator character before keyword. Func _ImageSearchMouseArea($findImage,$resultPosition,$radius,ByRef ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ "C:\Users\***\Desktop\SFWinBot\ImageSearch.au3"(39,73) : error: missing separator character before keyword. Func _ImageSearchArea($findImage,$resultPosition,$x1,$y1,$right,$bottom,ByRef ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ "C:\Users\***\Desktop\SFWinBot\ImageSearch.au3"(79,63) : error: missing separator character before keyword. Func _WaitForImageSearch($findImage,$waitSecs,$resultPosition,ByRef ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ "C:\Users\***\Desktop\SFWinBot\ImageSearch.au3"(114,64) : error: missing separator character before keyword. Func _WaitForImagesSearch($findImage,$waitSecs,$resultPosition,ByRef ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Users\***\Desktop\SFWinBot\SFBBot - Kopie.au3 - 5 error(s), 0 warning(s) !>18:22:57 AU3Check ended. Press F4 to jump to next error.rc:2 +>18:22:57 AutoIt3Wrapper Finished. >Exit code: 2 Time: 0.4157 Edited June 16, 2014 by Jos Link to comment Share on other sites More sharing options...
JohnOne Posted June 16, 2014 Share Posted June 16, 2014 If $Search = 1 Then MouseMove($X,$Y,10) EndFunc to If $Search = 1 Then MouseMove($X,$Y,10) EndIf AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
Developers Jos Posted June 16, 2014 Developers Share Posted June 16, 2014 (edited) C:Users***DesktopSFWinBotSFBBot - Kopie.au3 I think you need to check the included file you downloaded. Where did you get it from? .. and you better read our forumrules about games/bots as the name of your directory and script in your question seem to indicating that your are in violation of our rules. Jos Edited June 16, 2014 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...
pajamac Posted June 16, 2014 Author Share Posted June 16, 2014 (edited) Oh sorry for rules violation i need complete this project.And if i create working script i will leave this. John:Thank you it is stupid error. Jos:Thak you i change ImageSearch file to -snip- , so debug is ok but it still not find the picture . -snip- Edited June 16, 2014 by Jos Link to comment Share on other sites More sharing options...
Developers Jos Posted June 16, 2014 Developers Share Posted June 16, 2014 Since you agreed you are violating our forumrules, I closed this topic and request you to adhere to our rules for here on. 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...
Recommended Posts