Is it possible to specify how a mouse click point is recorded or processed in Watch Me Do?

had thought it was exact pixel position recorded but it seems that in a safari browser it is relative to the page scroll...

Is there another way to simulate actions clicking in exact locations (irrespectivec of browser scrollbar)?

Specifically, I would prefer a non-third party tool solution - using Automator if possible.


1 Answer 1


Automator can ‘Run AppleScript’, and you can click at a coordinate using AppleScript:

tell application "System Events"
  click at {123,456}
end tell

How do I make the mouse click at current location using AppleScript?

  • Is there a way to convert the automator Watch Me Do clicks to the AppleScript absolute clicks?
    – ina
    Commented Nov 15, 2019 at 12:22
  • Rather, how would you get the applescript click coordinates?
    – ina
    Commented Nov 16, 2019 at 4:16
  • @ina I rely on the good old try and miss. Commented Nov 20, 2019 at 13:21
  • Here's a trick to quickly find the absolute coordinates of any pixel on the screen: Press ⌘ + Shift + 4 to start a screenshot. Drag from the top, left corner of the screen to the desired point. The coordinates are displayed on the bottom right corner of the bounding square. Hit Escape to cancel the screenshot once you have the coordinates. Commented Feb 14, 2023 at 14:14

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .