You need to find the window name of the new scene menu. Either looking through the script or using the snippet in the documentation that lists all window names.