[python-win32] Automating Systray Icons

2013-11-08 Thread Krishnan Shankar
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 fo

[python-win32] pywin32 programming error on Win7 with shell.SHGetDesktopFolder, desktop.BindToObject, desktop.GetDisplayNameOf

2013-11-08 Thread iMath
When running the following code on WinXP , all is fine , -- from win32com.shell import shell def launch_file_explorer(path, files): folder_pidl = shell.SHILCreateFromPath(path,0)[0] desktop = shell.SHGetDesktopFolder()

Re: [python-win32] pywin32 programming error on Win7 with shell.SHGetDesktopFolder, desktop.BindToObject, desktop.GetDisplayNameOf

2013-11-08 Thread Tim Roberts
iMath wrote: > When running the following code on WinXP , all is fine , > ... > however ,when tested on Win7,I got the following error > -- > > ['b1', 'b2', 't.txt'] > Traceback (most recent call last): > File "D:\g.py", line 21, in