Is your object browser window open ?! This needs to be set to "show" in the object browser show/hide menu - then you select an object from the object browser & then script to new window etc...
Hope this is what you wanted to know!
**ASCII stupid question, get a stupid ANSI !!!**