GizmoGimped Posted July 24, 2017 Share Posted July 24, 2017 This is what ive got so far trying to setup it up as "If this color ######" Then hit key 4 as a loop If PixelGetColor(1560, 727) = "0xFF7045" Then Do Send("4") Until PixelGetColor(1553, 711) = "0xB8B7B6" Any help would be greatly appreciated. Link to comment Share on other sites More sharing options...
water Posted July 24, 2017 Share Posted July 24, 2017 Welcome to AutoIt and the forum! Select one of the loop statements as described in the online help. Which one to use depends on how you want to exit the loop (number of times executed, condition ...) Out of curiosity: Which program do you try to automate by sending "4" in a loop? My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
GizmoGimped Posted July 24, 2017 Author Share Posted July 24, 2017 Game i play that has massive PvP and i only have 1 arm.. so i need it to #4 is my home key aka get me out of there. I enjoy gaming but most of the nice PvE games with open world have tons of PK/PvP that i cant do... stressful and to the point im about done with gaming. Can't play xbox cant ps4.. so its down to this as my last go.. Link to comment Share on other sites More sharing options...
GizmoGimped Posted July 24, 2017 Author Share Posted July 24, 2017 Pretty much when my screen icon turns red its suppose to take me home "or tele me home" Link to comment Share on other sites More sharing options...
Developers Jos Posted July 24, 2017 Developers Share Posted July 24, 2017 @GizmoGimped, Welcome to the AutoIt forum. Unfortunately you appear to have missed the Forum rules on your way in. (there is also a link in my signature) Please read them now particularly the bit about not discussing game automation - and then you will understand why you will get no help and this thread will now be locked. See you soon with a legitimate question I hope. 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