It took you two days to give a hint about what the "" in your code was supposed to mean. I can only assume you didn't read the documentation at all, because surely, you know that optional parameters are marked by being enclosed in []. Passing '' to an optional parameter might sometimes be equivalent to omitting it, but never is (or should) passing '', to a non-optional parameter, equivalent to bypassing it being mandatory.I kept my OP short and sweet, stating no assumptions, hoping for clarification
It seems you always get errorlevel == 1 when passing '', so it seems you cannot match controls with no text.The problem here is that "" can be perfectly valid if you look for a control that contains no text.
And regex . Perhaps you can match a control with no text with something like the regex ^$.If the title match mode is 1 or 2 "" will match any control.
I'm not sure I understand, are you unhappy we replied? You should send lexikos a pm if do not want to be bothered by replies from anyone else.I thought that only lexikos could provide an answer, but everyone chimed in with their opinions anyway, like they always do.
Cheers.