Not a user-defined window (Error 1682)

You have attempted to use a command containing a WINDOW clause on a window that is not user-defined, such as the Command window.