Solved
Forum Discussion
Hi,
As others already wrote,
Object.PopupMenu.Click( "Select Machine..." );
is much better than
Object.PopupMenu.Click("[1]");
The reason why the latter did not work for you is because menu item with index 1 is a separator displayed as a grayed line between Edit Definition and Select Machine menu items.
You should use index value of 2 if you like to select Select Machine menu item by index.