title: How to use win32com.client.constants with MS Word?
body: <p>Whats wrong with this code? Why win32com.client.constants doesn't have attribute wdWindowStateMinimize?</p>
  
  <pre><code>&gt;&gt;&gt; import win32com.client
  &gt;&gt;&gt; w=win32com.client.Dispatch("Word.Application")
  &gt;&gt;&gt; w.WindowState = win32com.client.constants.wdWindowStateMinimize
  Traceback (most recent call last):
    File "&lt;pyshell#2&gt;", line 1, in &lt;module&gt;
      w.WindowState = win32com.client.constants.wdWindowStateMinimize
    File "C:\Python34\lib\site-packages\win32com\client\__init__.py", line 170, in __getattr__
      raise AttributeError(a)
  AttributeError: wdWindowStateMinimize`
  </code></pre>