Sadly this tool doesn't work for me. Im on M1 Mac Studio – macOS Monterey Version 12.5.1.
When I execute the command via shell script (open -g /path/to…) it just moves my cursor to the top right of my third display, regardless of which app is currently in focus.