title: How to send SendKeys to Windows form in python script?
body: <p>I'm doing automation scripting in Python for my desktop application. 
  In that I'm sending TAB key/any key to my windows form. But I'm not able to find handle of that Windows form in my Python script.</p>
  
  <p>Here is the sample code snippet :</p>
  
  <pre><code>__author__ = 'juhis'
  
  import SendKeys
  import sys
  import os
  from Tkinter import *
  import ctypes
  import win32gui
  import pywinauto
  
  pwapp = pywinauto.application.Application()
  whandle = pywinauto.findwindows.find_windows(title_re='Form1',class_name='WindowsForms10.Window.8.app.0.2bf8098_r13_ad1')[0]
  window1 = pwapp.window_(handle=whandle)
  window1.SetFocus()
  
  SendKeys.SendKeys("""{PAUSE 2}""")
  SendKeys.SendKeys("""{TAB 2}{PAUSE 2}{ENTER}""")
  </code></pre>
  
  <p>Please help me to figure out the issue.</p>
  
  <p>-Thanks</p>