Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!goblin2!goblin.stu.neva.ru!newsfeed1.swip.net!uio.no!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.024 X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'python.': 0.02; 'yet.': 0.04; 'sfxlen:2': 0.11; 'windows': 0.15; 'handler,': 0.16; 'icon': 0.16; 'recognise': 0.16; 'subject:Accessing': 0.16; 'all,': 0.19; 'installation': 0.23; 'to:2**1': 0.27; 'message- id:@mail.gmail.com': 0.30; 'not.': 0.33; 'maybe': 0.34; 'subject:the': 0.34; 'could': 0.34; 'but': 0.35; 'received:google.com': 0.35; 'done': 0.36; 'application': 0.37; 'window': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'how': 0.40; 'skip:a 30': 0.61; 'till': 0.61; 'yes': 0.68; 'click': 0.77; 'taskbar': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=P8gwkg71U2AYKBRDLra7TWlCXl8gRFM0YqpK4igpc3U=; b=u43LEdYoNMRQ5nJtqcg0k/nU+5jOU1IB55DjlWlD/vPx0f33Cz6t61wWTVrpb4g5Ca gigsJWlIWq8/Z2+zgphVAR8wpm+Ywg4PG+mz/6kfANZl99U8FJWi8ubN1o4pgXAZr35c wWs8Y1ThhuU24t/gRlGVBym2fEHa0I9s+MET5YrdArJK69fpZfB+Zb1tQ66gZvDS1816 iSFW8th7bqGGMMncV7yOsPhdKJzNMpXgKeQvG405cSBy4IcSQU/KnZnOP6tC3VfLQM41 /ZdlshVN5cMzfuEevP7HwyzGxgb2Vv5TphR2as82sMzBBICXykeYy4gvhTFhsggCbSVX ixIw== MIME-Version: 1.0 X-Received: by 10.180.36.80 with SMTP id o16mr3837507wij.1.1383848158900; Thu, 07 Nov 2013 10:15:58 -0800 (PST) Date: Thu, 7 Nov 2013 23:45:58 +0530 Subject: Accessing the Taskbar icons From: Krishnan Shankar To: python-win32-owner@python.org, Python Content-Type: multipart/alternative; boundary=e89a8f50350eef3dc604ea9a41fe 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: 49 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1383848166 news.xs4all.nl 15993 [2001:888:2000:d::a6]:49192 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:58683 --e89a8f50350eef3dc604ea9a41fe Content-Type: text/plain; charset=ISO-8859-1 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 --e89a8f50350eef3dc604ea9a41fe Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi All,

I am automating an applic= ation in windows using python.

After i= nstallation i need to check if the applications icon has appeared in Taskba= r 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=3Dpywinauto.a= pplication.Application()
hand=3Dpywinauto.findwindows.find_windows(class=3D'Shell_Tra= yWnd', title=3Du'')

When i= use the handler, get the window and do a right click i am able to click on= ly 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 p= ywinauto or pywin32?

Regards,
Krishnan
--e89a8f50350eef3dc604ea9a41fe--