XClick Coordinates

Hi guys!

I created the following macro:

{
  "Name": "WhatsApp App",
  "CreationDate": "2020-7-9",
  "Commands": [
    {
      "Command": "XDesktopAutomation",
      "Target": "true",
      "Value": ""
    },
    {
      "Command": "XRun",
      "Target": "/Applications/WhatsApp.app/Contents/MacOS/WhatsApp",
      "Value": ""
    },
    {
      "Command": "pause",
      "Target": "1000",
      "Value": ""
    },
    {
      "Command": "XClick",
      "Target": "144,208",
      "Value": ""
    }
  ]
}

WhatsApp application starts running correctly but it’s not clicking on that coordinate.

  • Is it clicking on another window/browser instead of within the WhatsApp application?
  • I calculated the pixels in my mac using SHIFT+CMD+4 being 0,0 the top left corner of the screen. Is it correct?

First a question: Did you check that XClick itself works fine? => Does the Demo-XClick macro run ok?