Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python.': 0.02; 'from:addr:yahoo.co.uk': 0.04; 'yet.': 0.04; 'lawrence': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'tismer': 0.09; 'python': 0.11; 'windows': 0.15; 'handler,': 0.16; 'icon': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'recognise': 0.16; 'subject:Accessing': 0.16; 'language': 0.16; 'wrote:': 0.18; 'all,': 0.19; 'programming': 0.22; 'installation': 0.23; 'header:User-Agent:1': 0.23; 'second': 0.26; 'header:X -Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; "i'm": 0.30; 'url:mailman': 0.30; 'directly,': 0.31; 'url:python': 0.33; 'not.': 0.33; 'maybe': 0.34; 'subject:the': 0.34; 'could': 0.34; "can't": 0.35; 'but': 0.35; 'done': 0.36; 'url:listinfo': 0.36; 'url:org': 0.36; 'application': 0.37; 'christian': 0.38; 'window': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'url:mail': 0.40; 'how': 0.40; 'skip:a 30': 0.61; 'till': 0.61; 'world.': 0.61; 'here': 0.66; 'yes': 0.68; 'click': 0.77; 'taskbar': 0.84; 'received:89': 0.85; 'responses': 0.93 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: Accessing the Taskbar icons Date: Thu, 07 Nov 2013 21:09:10 +0000 References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: host-89-240-165-3.as13285.net User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 36 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1383858658 news.xs4all.nl 16002 [2001:888:2000:d::a6]:35798 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:58702 On 07/11/2013 18:15, Krishnan Shankar wrote: > Hi All, > > I am automating an application in windows using python. > > After installation i need to check if the applications icon has appeared > in Taskbar or not. If yes i need to right click the application. > > I had been using pywinauto for the same but could not get the job done > till now. > > I did the following, > > app=pywinauto.application.Application() > hand=pywinauto.findwindows.find_windows(class='Shell_TrayWnd', title=u'') > > When i use the handler, get the window and do a right click i am able to > click only in the taskbar and not icons. That maybe because i did not > recognise the icon yet. > > Can you guide me how to do the same using pywinauto or pywin32? > > Regards, > Krishnan > > I'm sorry I can't help directly, but if you don't get any responses here try https://mail.python.org/mailman/listinfo/python-win32 -- Python is the second best programming language in the world. But the best has yet to be invented. Christian Tismer Mark Lawrence