Apple Script to Click on "Login Window..." in the Fast User Switching Pop Up in Sonoma
I already have the Apple Script to open the user switching pop up. But I cannot figure out how to click on "Login Window...". Please HELP!!
The below screen capture (edited to remove icons and names) shows the pop up in question. (This is the pop up given by clicking on the user-switcher icon on the menu bar.)
The preferred solution would be to select "Login Window..." based upon its name, as 1 to 25+ icons may occur in the icon section (blank now) above.
Any help GREATLY appreciated!
MacBook Pro (M3 Max, 2023)