How to identify a strange item on my menubar? says that XCode > Open Developer Tool > Accessibility Inspector can be used to find out what app/program has created a menu bar item.
How can I find out without installing XCode?
How to identify a strange item on my menubar? says that XCode > Open Developer Tool > Accessibility Inspector can be used to find out what app/program has created a menu bar item.
How can I find out without installing XCode?
In Script Editor, try the following command to see if it help gives any information to figure it out. BTW you can replace {name, title} with properties to get even more information:
tell application "System Events" to return {name, title} of menu bar items of menu bar 1 of process "ControlCenter"
If it does not belong to process "ControlCenter", or it was not determined what it was, then try the following:
It should create a Run AppleScript action in which it should show the name of the application process to which it belongs.
As an example I clicked the icon for Hammerspoon and in the Run AppleScript action there was a line e.g.:
set uiScript to "click menu bar item 1 of menu bar 2 of application process \"Hammerspoon\"
com.apple.systemuiserver.plist, but that doesn't contain third-party menulets. However, plists for individual menulets always have a key for "NSStatusItem Preferred Position", so try searching the preference folder for that. – benwiggy Oct 24 '21 at 13:32