protected override void BeginProcessing() { // 20131109 //System.Windows.Automation.AutomationElement result = null; //result = // UiaHelper.GetAutomationElementFromPoint(); IUiElement result = UiaHelper.GetAutomationElementFromPoint(); WriteObject(this, result); }