This project is read-only.
By default, the UIAutomation module provides you with two highlighters (squares): one for an element that cmdlet returns and one for its parent.
# When a screenshot is being taken automatically, hides the highlighter
[UIAutomation.Preferences]::HideHighlighterOnScreenShotTaking
# default: $true
The following three parameters relate to highlighting of a control or controls that cmdlet returns.
# highlighter for the element returned
[UIAutomation.Preferences]::Highlight
# default: $true
[UIAutomation.Preferences]::HighlighterBorder
# default: 3
[UIAutomation.Preferences]::HighlighterColor
# default: [System.Drawing.Color]::Red
The same parameters are provided for parent's keys.
# highlighter for the element's parent returned
[UIAutomation.Preferences]::HighlightParent
# default: $true
[UIAutomation.Preferences]::HighlighterBorderParent
# default: 5
[UIAutomation.Preferences]::HighlighterColorParent
# default: [System.Drawing.Color]::HotPink

Last edited Feb 15, 2013 at 10:52 AM by xinliu, version 5

Comments

No comments yet.