view: read object value from window object