Re: [Pywinauto-users] window not found error workaround
Status: Alpha
Brought to you by:
mcmahon_m
From: Mark Mc M. <mar...@gm...> - 2007-04-04 16:06:12
|
Hi Chetan, On 4/4/07, chetan soundankar <che...@gm...> wrote: > Hi, > I want to automate an application in which i first check if the instance of > that application is running, but if I try to use the > findwindows.find_windows() function then it will give an error and stop the > script execution so can u suggest any workaround > You really do need to give more information if you want me to be able to help you. For example - What error does it give you? - What code are you trying to run? (a runnable snippet is good) > -Chetan > For example here is one suggested usage... >>> from pywinauto.findwindows import find_windows() >>> find_windows(title_re = ".*Mozilla.*", top_level_only = False) [123456, 123457] Mark |