


System Events got an error: Can’t get menu bar item "00:58" of menuīar 2 of application process "Pomodoro Timer". A single click or double click can be selected in the options menu.
#Mouse clicker multiple locations how to
Tell application "System Events" to tell process "Pomodoro Timer"īut don't know how to code the cursor back, and I get this error: Add the co-ordiantes where you want the mouse click action manually, or can use Pick button to automate the click location. 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" A free tool to automate mouse clicks 1/4 GS Auto Clicker is an automatic mouse clicker that eliminates the need to perform repetitive and monotonous clicks. You can Auto Click, Scroll, Move Mouse and even type. Not only this, you may select the maximum amounts of clicks at a time. I've been trying to code an AppleScript for the past hour, reading the AppleScript reference and searching online, but I'm getting nowhere. Now Clicking Automatically at Multiple Screen Locations is easy and fun with Auto Mouse Click Utility. It offers two modes of auto-clicking at the cursor location. I have an awesome Pomodoro application, but there are no keyboard shortcuts to start and pause it.
