Edit

GetWindowByID (idString)

Result Type:  a WindowRef or NULL

Definition:  Gets a handle to the first window instance that has the given identifer.

Availability:  available within MWScript handlers.