| ... | ... | @@ -240,7 +240,7 @@ public static class ComputerWorker { |
| 240 | 240 | var current=node.Current; |
| 241 | 241 | if(depth==1 && Number(request,"pid")>0 && current.ProcessId!=Number(request,"pid"))continue; |
| 242 | 242 | if(depth>0) { |
| 243 | | var actions=new System.Collections.Generic.List<string>();actions.Add("focus");object pattern;string value=null; |
| 243 | var actions=new System.Collections.Generic.List<string>();if(current.IsEnabled && current.IsKeyboardFocusable)actions.Add("focus");object pattern;string value=null; |
| 244 | 244 | if(node.TryGetCurrentPattern(System.Windows.Automation.InvokePattern.Pattern,out pattern))actions.Add("press"); |
| 245 | 245 | if(node.TryGetCurrentPattern(System.Windows.Automation.TogglePattern.Pattern,out pattern))actions.Add("toggle"); |
| 246 | 246 | if(node.TryGetCurrentPattern(System.Windows.Automation.SelectionItemPattern.Pattern,out pattern))actions.Add("select"); |