SendKeys and Python 2.7

Michel Claveau - MVP enleverLesX_XXmcX at XmclavXeauX.com.invalid
Mon Sep 13 15:02:03 EDT 2010


Re!

Sorry for time, but I am very busy...


With Python + Pywin32, you can force the activation of a window (before
send some keys...)
See: 
  win32gui.SetForegroundWindow(w_handle)

or
  win32gui.SetActiveWindow(w_handle)



For to find a windows (and his handle), see:
  win32gui.EnumWindows()
  win32gui.GetWindowTex()
or 
  win32gui.FindWindowEx()


@-salutations
-- 
Michel Claveau 





More information about the Python-list mailing list