Forum Discussion
Question: What does the popup menu look like when you manually try to click it? The reason I ask is that it's possible that Windows 10 is putting some kind of extra layer over the top of the menu, possible with graphic images or such, so that the menu items cannot be selected via the name like File|Import.
The same code can be exercised using menu item id's... say for example File is the first item in the first menu and Import is the second item in the sub menu.... so, your code COULD look like (I think)
UserProperties = Aliases.UserProperties mainForm = UserProperties.MainForm mainForm.StripMainMenu.Click([0]|[1]);
This will work on both Windows 7 and Windows 10. See if this helps.
Sorry to say I tried that yesterday, and again today, to try to get it to work without any luck. Error log says 'Cannot obtain the popup menu for item 0." For sanity's sake I tried old builds of our software as well and I still encounter the same issue.
- Tambo7 years agoOccasional Contributor
Turns out the monitor size was the problem. The computer has 1x 4k and 1x 1080 and menus interact correctly when launched from the 1080 side.