tm1975 Posted January 19, 2011 Share Posted January 19, 2011 Hi all, I am trying to automate clicking on an item in a floating menu which is created via a right mouse click on a listbox. I can automate the right click via ControlClick easily enough as I can get the Control Id of the list box. The problem is when I put the Window Spy over the menu which is brought up by the right click, the menu disappears before I can get the right Control ID information of the menu item. Any ideas on how I could get Control Id of the menu items on the floating menu? If that does not make sense reply and I shall try to explain better. I am on Windows Home Premium Edition. Thanks in advance for your help. Link to comment Share on other sites More sharing options...
tm1975 Posted January 20, 2011 Author Share Posted January 20, 2011 Hi all,I am trying to automate clicking on an item in a floating menu which is created via a right mouse click on a listbox.I can automate the right click via ControlClick easily enough as I can get the Control Id of the list box.The problem is when I put the Window Spy over the menu which is brought up by the right click, the menu disappears before I can get the right Control ID information of the menu item. Any ideas on how I could get Control Id of the menu items on the floating menu?If that does not make sense reply and I shall try to explain better.I am on Windows Home Premium Edition.Thanks in advance for your help.Found a solution - installed Windows 7 SDK and used the inspect application to get the control id. Has a mouse over feature which does not trigger the mouse over of the menu. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now