How to activate a new window in Python

Tony C cappy2112 at yahoo.com
Tue Jul 20 15:46:04 EDT 2004


What/where is SendKeys ?????????????????

milon513 at yahoo.com (Milon) wrote in message > 
import SendKeys
> 
> # starts the TempApp using the windows start menu
> # run option
> def StartTempApp():
>     SendKeys.SendKeys( "{LWIN}{SLEEP .25}r")
>     SendKeys.SendKeys( "C:\\TempApp\\bin\\main")
>     SendKeys.SendKeys( "{ENTER}")
> 
> # tab to OK button on the application and hit enter
> def StartTempApp():
>     SendKeys.SendKeys( "{TAB}{TAB}{ENTER}")



More information about the Python-list mailing list