ContributionsMost RecentMost LikesSolutionsRe: Check if object exists Thanks for the responses, I get it, i must use a Wait function to check if the object exists without waiting the full 10 seconds. Is there a way to extract the alias name from a given object? I want to do something like this def wait(obj) parent = obj.parent aliasName = obj.????? if parent.WaitChildAlias(aliasName, 0).Exists: return True return False and call it in the script like this: exist = wait(Aliases.MyApp.Dialog1) Is it possible to do such a function which returns if the object exists without waitiing and passing only the object? Re: Check if object existsThe problem with that approach is that the object is a dialog which might not exist therefore would trigger a 10 seconds wait. I simply want to see if it exists without waiting the full 10 seconds. I can use WaitChild function on the parent object but that requires the object name which I must pass as a parameter since accessing the "Name" property on the object would also trigger a 10 seconds wait. Note that the parent is always visible it is just that the child object might appear or not. So the question remains, given an object(an alias) is it possible using only that object to see if it is visible without waiting 10 seconds? Get Outlook for Android<> Disclaimer The information contained in this communication from the sender is confidential. It is intended solely for use by the recipient and others authorized to receive it. If you are not the recipient, you are hereby notified that any disclosure, copying, distribution or taking action in relation of the contents of this information is strictly prohibited and may be unlawful. This email has been scanned for viruses and malware, and may have been automatically archived by Mimecast, a leader in email security and cyber resilience. Mimecast integrates email defenses with brand protection, security awareness training, web security, compliance and other essential capabilities. Mimecast helps protect large and small organizations from malicious activity, human error and technology failure; and to lead the movement toward building a more resilient world. To find out more, visit our website.Check if object exists Hello everyone, I want to create a function which returns true if an object exist and is visible on screen without waiting for the full timeout period. Here is the function I tried to create: def isObjectVisible(object): name = object.Name parent = object.Parent if parent.WaitChild(name, 100).Exists: return object.Visible return False The issue I encountered is that accessing the name property of the object causes the test to wait 10 seconds for the name property I there a way to achieve this result? I can create another function which takes the parent and child name as parameter but that is cumbersome. Solved