User Posted July 7, 2012 Share Posted July 7, 2012 Hello, first i want to say sorry for my bad english. I want to program a click bot which reads the color from a coordinate and if the color is red, it should click once and if the color is black, it should click 2 times. I dont have any experience with AutoIT or any other programming language so can you please help me? Link to comment Share on other sites More sharing options...
water Posted July 7, 2012 Share Posted July 7, 2012 Welcome to AutoIt and the forum!Before you start to code make sure you have read the forum rules. Especially the part about game automation."Bot" is a dangerous word here. My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki Link to comment Share on other sites More sharing options...
User Posted July 7, 2012 Author Share Posted July 7, 2012 ok, sry i have expressed myself a bit wrong. For me is a robot a machine that does something automatically. But i can say click program. The program is not for a game or any malware or something else. It is only for private use. Link to comment Share on other sites More sharing options...
JohnOne Posted July 7, 2012 Share Posted July 7, 2012 If...Then PixelGetColor() MouseClick() All in help file, all have examples. 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...
User Posted July 9, 2012 Author Share Posted July 9, 2012 ok. I have finished my program but the problem is, that the windows has to run in the foreground. How can i make it that the program works even if the windows is in the background? Link to comment Share on other sites More sharing options...
JohnOne Posted July 9, 2012 Share Posted July 9, 2012 Change line 43 in your code. 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...
water Posted July 9, 2012 Share Posted July 9, 2012 Let me translate that for you: Post your code My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki 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