Jump to content

Recommended Posts

Posted

Hi Guys,

I am learning auto It and I am confused  on how to click above a pixel after specified distance or below or left or right of a pixel.

I am finding a Pixel using PixelSearch but now I want to click above this found pixel but not on the pixel itself.

I am totally stuck with my project without this.

Your help is greatly appreciated.

Posted
  On 10/14/2021 at 8:24 PM, PeaceAlways said:

click above this found pixel

Expand  

Do you mean Y coordinates, or Z order ?

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted
  On 10/14/2021 at 9:24 PM, Danp2 said:

Have you tried adjusting the x / y values returned by PixelSearch? Also, can you tell us more about your project?

P.S. I'm not a big PixelSearch user, so others may have better ideas on how to address your issue.

Expand  

 

  On 10/14/2021 at 9:28 PM, mLipok said:

Do you mean Y coordinates, or Z order ?

Expand  

 

I am working on a project where a picture appears on a random location on the screen each time. To claim this picture you need to click above the picture.  Since every time image appears at random location I need a function that will click above this picture.

  • Developers
Posted
  On 10/15/2021 at 7:36 AM, PeaceAlways said:

To claim this picture you need to click above the picture

Expand  

What exactly does this mean: Claim this picture?  What exactly are you trying to automate? 

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.
  :)

Posted
  On 10/15/2021 at 7:51 AM, Jos said:

What exactly does this mean: Claim this picture?  What exactly are you trying to automate? 

Expand  

By claiming I mean the picture will Hide and reappear again on random location of the screen. I want to automate this process. Every time picture appears I want to click above it.

  • Developers
Posted (edited)

You did not answer my question....please read them again and try answering them!

I understood the first time what you are trying to do, but be specific what program/process you are trying to automate.

Edited 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.
  :)

Posted
  On 10/15/2021 at 7:56 AM, Jos said:

You did not answer my question....please read them again and try answering them!

I understood the first time what you are trying to do, but be specific what program/process you are trying to automate.

Expand  

I am trying to automate a offline mini game. You get some points after claiming the picture each time. This is my effort to learn auto it in a way which is fun for me.

  • Developers
Posted (edited)

Welcome to the AutoIt forum.

As I suspected: Unfortunately you appear to have missed the Forum rules on your way in. 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.

The Moderation team

Edited 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.
  :)

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...