Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #58683

Accessing the Taskbar icons

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 <i.am.songoku@gmail.com>
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 <i.am.songoku@gmail.com>
To python-win32-owner@python.org, Python <python-list@python.org>
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 <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.2146.1383848166.18130.python-list@python.org> (permalink)
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

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Accessing the Taskbar icons Krishnan Shankar <i.am.songoku@gmail.com> - 2013-11-07 23:45 +0530

csiph-web