Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 add automation ID or name to intellisense items

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
derek_penguin Posted - Jan 29 2011 : 10:17:30 AM
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
3   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Feb 01 2011 : 3:39:02 PM
I have put in a feature request to see what our developers make of this:

case=54707
derek_penguin Posted - Feb 01 2011 : 3:04:17 PM
Visual Studio 2010 Ultimate
feline Posted - Feb 01 2011 : 2:43:53 PM
Which IDE are you working in?

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

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000