By PaulVO

2019-01-06 12:40:28 8 Comments

Is there a way to duplicate or send clicks to multiple (specific) windows or spaces?

For instance, an AutoHotkey script would look like the following to make three different clicks in three different windows.

MouseGetPos, xpos, ypos
ControlClick, x%xpos% y%ypos%, WindowA
ControlClick, x%xpos% y%ypos%, WindowB
ControlClick, x%xpos% y%ypos%, WindowC

On Windows I'd accomplish this through AutoHotkey, but that's not an option for MacOS. Is there macOS software that could replicate any of this functionality?


@bmike 2019-01-10 13:19:33

The built in Automator app is the solution I'd try first.

  • The simplest thing that could work is the "watch me" and record function.
  • Automator is free and a first-party tool that ships with the OS

This function knows about windows that are open and mouse events, so simply could click the three times in the three locations you wish.

enter image description here

One nice feature past the one that is you can speed up or slow down the actions 10x so you can be careful and precise when recording and then have the replay be faster, for instance.

Related Questions

Sponsored Content

5 Answered Questions

[SOLVED] macOS High Sierra: Create Windows bootable Usb

3 Answered Questions

1 Answered Questions

[SOLVED] Time limits on specific apps in macOS High Sierra

1 Answered Questions

[SOLVED] AppleScript: How to get all window names of processes that share the same title?

  • 2017-06-14 08:51:59
  • rubik's sphere
  • 2266 View
  • 2 Score
  • 1 Answer
  • Tags:   applescript macos

2 Answered Questions

1 Answered Questions

[SOLVED] Keyboard shortcut for jumping directly to a specific input method

1 Answered Questions

3 Answered Questions

[SOLVED] How do I burn a single ( > 7GB) file to multiple DVDs?

  • 2011-04-29 04:12:56
  • bentsai
  • 10149 View
  • 6 Score
  • 3 Answer
  • Tags:   macos dvd

3 Answered Questions

[SOLVED] Terminal window as its own app

Sponsored Content