You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The document says "hs.application.findMenuItem" can only search for menu items that don't have children, but actually it can search for submenu like "File > Open Recent".
BTW, is it possible to add a key like "isSubmenu" in return of "hs.application.findMenuItem"? I want to decide to show the menu item or select the menu item according to the return. Now I have to manually fetch the axuielement to check it.