| || |
Ribbon of Word (Office 2007)
Is there any way by which I will be able to identify objects on word ribbon like 'Format Painter'
Re: Ribbon of Word (Office 2007)
I suggest that you try working with Word via COM. This will give you direct access to the document's contents.
You can find information on Word's object model in its built-in VBA reference.
Also, you can get access to the problematic objects by adding the "NetUIHWND" class name to the list of windows that will be shown as MSAA objects (right click your project in Project Explorer | Edit | Properties | Open Applications | MSAA). See the "Testing With Microsoft Active Accessibility" help topic for details.