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


Groups > comp.lang.python > #58683

Accessing the Taskbar icons

Date 2013-11-07 23:45 +0530
Subject Accessing the Taskbar icons
From Krishnan Shankar <i.am.songoku@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.2146.1383848166.18130.python-list@python.org> (permalink)

Show all headers | 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