Many thanks for posting this, Luthv! It works perfectly for my purposes, which was to find a previously opened window and bring it to the front, whether it is minimized or sits behind other windows. ...