

System Events got an error: Can’t get menu bar item "00:58" of menuīar 2 of application process "Pomodoro Timer". Tell application "System Events" to tell process "Pomodoro Timer"īut don't know how to code the cursor back, and I get this error:


What I want to do is have an AppleScript (it will be launched from an app called BetterTouchTool) click on coordinates on the menu bar, (the Pomodoro app runs in the background and I have all the coordinates needed), a cursor-back needed for the second cursor back (to get back to the initial cursor position), click a second time on the 'Start/Pause' dropdown item (from coordinates), and then do a second cursor-back to have the cursor back to its original position.ĮDIT: the application is a timer application (in the menu bar) with a dropdown menu that has as the first item either 'Start', 'Pause' or 'Resume'-which is what I want to be able to click via a keyboard-assigned AppleScript.ĮDIT2: got this far: tell application "System Events" I've been trying to code an AppleScript for the past hour, reading the AppleScript reference and searching online, but I'm getting nowhere. Here is a list of safe free mouse auto clicker software that you can use on your Windows 11/10 computer: Max Auto Clicker Auto Clicker and Auto Typer Auto Mouse Clicker OP Auto Clicker Free. This video tutorial is all about How to make the Mouse Cursor Click Automatically in any Windows toclick makemouseautoclick mousecursorNote : T. This is the same as running with the full binary path: /usr/local/bin/cliclick c. Cliclick Install cliclick with Homebrew: brew install cliclick To click at the current mouse location: cliclick c. I have an awesome Pomodoro application, but there are no keyboard shortcuts to start and pause it. To automate the mouse click action on macOS, use Cliclick, a CLI for emulating mouse events, and AppleScript.
