Hi sbkeenan,
You are absoluty right ! I doesn't understand the Exists methode like that ! It a bit strange that for this methode the item need to exists for test if it exists ! But I understand your methode with waitChild and I will test on my script !
Thank a lot for your answer !
EDIT : I tried this :
if Sys.Process("SEE").WPFObject("HwndSource: *CadDialog", "*").WPFObject("*CadDialog", "*", 1).WPFObject("Grid", "", 1).WPFObject("CadContent").WaitChild("TabControl").Exists = False Then
Console.message("OK")
else
Console.message("not OK")
But in all the case "OK" is write. I tried with WaitAliasChild too same... I do it wrong ?