Jump to content

With WinExists I can see if a window exists, can I do something similar for a Control?


Recommended Posts

You can use ControlGetHandle ( "windowtitle", "text", controlID ) function to see if the control exists.

The function will return :

Success: Returns the handle (HWND) value.

Failure: Returns "" (blank string) and sets @error to 1 if no window matches the criteria.

By the way this is from the AutoIt help file @: Function Reference > Window Management > Controls > ControlGetHandle

Edited by Guest
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...