TestingHobo
8 years agoContributor
Escaping ? character in FindAllChildren
Anyone know if its possible to use FindAllChildren where the value you are looking for is a ?
I've tried using \? to escape the character but that doesn't work.
var property = ["WPFControlText", "ClrClassName"]; var value = ["?", "DataGridCell"]; var rowFound = alias.FindAllChildren(property, value, 50).toArray();
* can be escaped as **, but there's no escape sequence for ?.
You'll need to search by some other value, or manually loop through the objects and compare WPFControlText with "?".