I did not find the answer neither in the gmail forum nor in this forum
The following does not work:
in both safari and chrome, clicking on URL Link using xpath does not work to trigger the More context menu
I tried with UI browser, but it's too difficult to interpret
click at found image
press button More (because the flyover name of More is More)
This is the AppleScript generated by UI Browser and which does not work
activate application "Safari"
tell application "System Events"
tell process "Safari"
click pop up button 1 of group 2 of group 1 of list 1 of group 14 of UI element 1 of scroll area 1 of group 1 of group 1 of tab group 1 of splitter group 1 of window "Inbox (18) - ronald@gmail.com - Gmail" of application process "Safari"
end tell
end tell
Note that once I trigger the more context menu, it is easy. I can simply type the key ↓ 10 times to trigger Download Message
If GMail in your browser has that arrangement, then use that image instead - but you may have to increase the coordinate value from 25 to maybe 35, but that’s something you’ll have to determine by trial and error.
WOW !!
Absolutely brilliant. Works perfectly and exactly at 35 ! I am using your post to write myself a lesson about the subtleties of click at found image. I learned a lot. thank you so much !
yes, no problem. In a primitive way as per below to click on download message.
Usually in context menus, I would use insert text "download messages" by typing, but in the case of gmail many letters are hotkeys, so any insert text by typing triggers a myriad of commands