Jump to content
Sign in to follow this  
Chris10Lyn

Help for Detecting a Cirlce Shape same color as the background

Recommended Posts

Chris10Lyn

Posted Image

As What you can see in the image above i need to detect the circle shape but the problem is its the same color as the background so i can't detect it.

This is the code i use :

#cs ----------------------------------------------------------------------------
AutoIt Version: 3.3.0.0
Author: Chris10Lyn Symbianize
#ce ----------------------------------------------------------------------------
#include 

HotKeySet ("{F5}","_Exit")

While 1
$pixel = PixelSearch(278,309,432,405,0xA7A7A7)
If IsArray($pixel) = True Then;
MouseClick('left', $pixel[0], $pixel[1], 1, 0);
EndIf
WEnd

Func _Exit()
Exit
EndFunc

can you help me or give me a code that can detect the circle shape ?

thanks in advance sir/madam.

Share this post


Link to post
Share on other sites
water

Welcome to AutoIt and the forum!

Can you please tell us why you need to detect the circle and click on it?


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-09-01 - Version 1.3.4.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Share this post


Link to post
Share on other sites
Chris10Lyn

Welcome to AutoIt and the forum!

Can you please tell us why you need to detect the circle and click on it?

i'm making a game bot that why i need to detect that circle.

Share this post


Link to post
Share on other sites
water

Please make sure that you have read the forum rules and you will understand why you won't get help on this subject.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-09-01 - Version 1.3.4.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Share this post


Link to post
Share on other sites
Chris10Lyn

Please make sure that you have read the forum rules and you will understand why you won't get help on this subject.

ok, thank you, please do delete the thread that i made. sorry

Edited by Chris10Lyn

Share this post


Link to post
Share on other sites
water

We don't delete threads or posts here.

If you come back with a legitimate question we will be happy to help :)


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-09-01 - Version 1.3.4.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×