Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Feature Requests
 add automation ID or name to intellisense items
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

derek_penguin
New Member

5 Posts

Posted - Jan 29 2011 :  10:17:30 AM  Show Profile  Reply with Quote
I currently do my programming using a mixture of voice (Dragon Naturally speaking) + typing.

Through UI Automation I can see how many intellisense list items there are, and get them, but I can't get their names. It should be fairly simple to add I would think. With standard visual studio, I can only get the visible intellisense items (but I do get their name).

I get the following information from a utility I wrote to get UI Automation properties for the control under the mouse.

I'd love to see either an AutomationID, or Name property set on the DataItem.

Starting from the intellisense item and going up:

AutomationElement
Identification
AutomationId:
ClassName:
ControlType: ControlType.Text
NativeWindowHandle: 0
NativeWindowHandle: 0
Name:
Keyboard
AccessKey:
AcceleratorKey:
Pattern: GridItemPatternIdentifiers.Pattern
Pattern: TableItemPatternIdentifiers.Pattern


AutomationElement
Identification
AutomationId:
ClassName:
ControlType: ControlType.DataItem
NativeWindowHandle: 0
NativeWindowHandle: 0
Name:
Keyboard
AccessKey:
AcceleratorKey:
Pattern: SelectionItemPatternIdentifiers.Pattern
Pattern: ScrollItemPatternIdentifiers.Pattern

AutomationElement
Identification
AutomationId:
ClassName: SysListView32
ControlType: ControlType.DataGrid
NativeWindowHandle: 1181258
NativeWindowHandle: 12064A
Name:
Keyboard
AccessKey:
AcceleratorKey:
Pattern: SelectionPatternIdentifiers.Pattern
Pattern: ScrollPatternIdentifiers.Pattern
Pattern: GridPatternIdentifiers.Pattern
Pattern: MultipleViewPatternIdentifiers.Pattern
Pattern: TablePatternIdentifiers.Pattern

AutomationElement
Identification
AutomationId:
ClassName: Static
ControlType: ControlType.Text
NativeWindowHandle: 1771362
NativeWindowHandle: 1B0762
Name:
Keyboard
AccessKey:
AcceleratorKey:

AutomationElement
Identification
AutomationId: VisualStudioMainWindow
ClassName: Window
ControlType: ControlType.Window
NativeWindowHandle: 920304
NativeWindowHandle: E0AF0
Name: WindowsApplication1 - Microsoft Visual Studio (Administrator)
Keyboard
AccessKey:
AcceleratorKey:
Pattern: WindowPatternIdentifiers.Pattern
Pattern: TransformPatternIdentifiers.Pattern
Pattern: SynchronizedInputPatternIdentifiers.Patte

Edited by - derek_penguin on Jan 29 2011 10:18:34 AM

feline
Whole Tomato Software

United Kingdom
18724 Posts

Posted - Feb 01 2011 :  2:43:53 PM  Show Profile  Reply with Quote
Which IDE are you working in?

I am assuming this works differently in different IDE's.

zen is the art of being at one with the two'ness
Go to Top of Page

derek_penguin
New Member

5 Posts

Posted - Feb 01 2011 :  3:04:17 PM  Show Profile  Reply with Quote
Visual Studio 2010 Ultimate
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18724 Posts

Posted - Feb 01 2011 :  3:39:02 PM  Show Profile  Reply with Quote
I have put in a feature request to see what our developers make of this:

case=54707

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000