taskbar.ClickSystemTrayIcon(0)
What is the expected output? What do you see instead?
I wanted to see a left mouse click on the 1st icon on the system tray
What version of the product are you using? On what operating system?
I'm using pywinauto-0.4.0 on Windows Xp
Please provide any additional information below.
taskbar.ClickSystemTrayIcon(0)
throws the following exception,
Traceback (most recent call last):
File "Run_Updater.py", line 452, in <module>
File "pywinauto\taskbar.pyc", line 52, in ClickSystemTrayIcon
File "pywinauto\taskbar.pyc", line 41, in _get_visible_button_index
File "pywinauto\application.pyc", line 229, in __getattr__
File "pywinauto\application.pyc", line 788, in _resolve_control
pywinauto.findbestmatch.MatchError: Could not find 'NoficationArea' in '['', u'C
iceroUIWndFrame', u'Programmer, der k\xf8rer1', u'Programmer, der k\xf8rer0', u'
08:12TrayClockWClass', u'Programmer, der k\xf8rer2', u'MSTaskSwWClass', u'MSN To
olbarToolbar', u'startEdit', u'08:12', u'TF_FloatingLangBar_WndTitle', u'Program
mer, der k\xf8rerToolbar', u'TrayClockWClass', u'Programmer, der k\xf8rerMSTaskS
wWClass', u'startWinDeskbarGhost', u'start', 'ComboBox', u'TrayNotifyWnd', u'Pro
grammer, der k\xf8rer', '1', '0', '3', '2', 'Edit', u'startComboBox', u'startCom
boBoxEx', 'Pager', 'Toolbar', 'ComboBoxEx', u'Proceslinje', 'ReBar', u'MSN Toolb
ar', 'Button', 'Toolbar3', 'Button2', 'Button1', 'Button0', 'Toolbar0', u'TF_Flo
atingLangBar_WndTitleCiceroUIWndFrame', u'WinDeskbarGhost', 'Toolbar2', 'Toolbar
1', u'ComboLBox', u'startButton', u'startReBar', u'ProceslinjeToolbar', u'startC
omboLBox']'
Original issue reported on code.google.com by subrato....@gmail.com on 2 Aug 2011 at 3:19
Original issue reported on code.google.com by
subrato....@gmail.com
on 2 Aug 2011 at 3:19