Forum Discussion
tristaanogre
13 years agoEsteemed Contributor
If you are looking to test if an object exists, CheckProperty is not necessarily the best way to do so.
I would suggest code more like
While this does not answer your question, it may head off future problems of attempting to check the property of a non-existant object.
I would suggest code more like
var ScheduleFormObject = Aliases.OptionsWorkshop.WaitAliasChild("HwndSource_ScheduleForm")
if (ScheduleformObject.Exists) then
{
Log.Message("The form exists")
}
else
{
Log.Warning("The form does not exist")
}
While this does not answer your question, it may head off future problems of attempting to check the property of a non-existant object.