It will get the menu structure of the window you click on and from the application you will be able to click menu items on another window.