I am automating a suite of medical imaging software and having trouble automating some of the controls. I have just managed to automate the popup context menus using poorly documented API calls and parameters(MN_GETHMENU; classname=#32768). (It's obvious when you know what to look for but it took me days to find.) I am having similar problems with automating the toolbars in the suite. In short, I get a valid handle with, $hHandle = ControlGetHandle($sAppMainWindow,"","THakAdvancedToolbar4") W