This is an attachment in which is popupmenu. I must check if selected operations in it exist or not(there are some cases when there are not exist).
But the submenu(you can see it in attacment) is opened and my codes in two posts work for submenu. Sometimes the first code works such that I descirbe in first post. It is begun from "Edit"(not "View") and after one cycle(when it pass over whole popupmenu and returns to "Edit") continues passing over next 7 operations.I don't understand why. I will thanks any help?