How to get window id of an object?

[Deleted]

Hi there,

If I have an object name how do i know which window it is in?

THX!

you must use the library function ObjectFind, it returns the window where the object is or -1.

Do you really expect that people are still watching this thread after fourteen (14) years?
Don't resurrect old threads without a very good reason.

William Roeder #:

Do you really expect that people are still watching this thread after fourteen (14) years?
Don't resurrect old threads without a very good reason.

Well watching not, but people can find it when searching, and as he provided the solution, it had a good reason.

Unfortunately this forum is a mess in terms of topics organisation.

Emilio Reale #:
you must use the library function ObjectFind, it returns the window where the object is or -1.
keep up the good work even after a decade, it's still helpful. tnx