This project is read-only.
This tutorial will use charmap.exe that is installed by default on Windows 8. On previous systems or on servers you may need to install this feature manually.
Charmap001.jpg

Getting state

Start-Process charmap -PassThru | Get-UIAWindow | Get-UIACheckBox | Get-UIACheckBoxToggleState;

Setting 'checked' and 'unchecked'

The same code checks and unchecks a check box:
Start-Process charmap -PassThru | Get-UIAWindow | Get-UIACheckBox | Invoke-UIACheckBoxToggle;
Charmap002.jpg
Tags: ControlType.Window, ControlType.CheckBox, TogglePattern

Last edited Jan 19, 2013 at 5:20 PM by xinliu, version 8

Comments

No comments yet.