Interaction with mac-based menus

Asked by Ray Williams

Within Windows, it is pretty easy to work with the menus, as they're attached to the windows defined within Region. However, I'm trying to work with a mac-based menu, that is not associated with the specific Window(region) that is the application under test. Is there a workaround or way to interact with the menus?

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
Ray Williams
Solved:
Last query:
Last reply:
Revision history for this message
Ray Williams (ray-williams06) said :
#1

I figured it out.

I used my_screen = my_window.getScreen() to get the relevant monitor, and was able to then access menu.