[python-win32] error on shell.SHChangeNotify

2007-05-22 Thread Roger Upole
TK Soh wrote: I am trying to use SHChangeNotify to refresh the icon on the explorer windows in the following script, but got an error: -- import sys from win32com.shell import shell, shellcon def notify(f): shell.SHChangeNotify(shellcon.SHCNE_UPDATEITEM,

Re: [python-win32] error on shell.SHChangeNotify

2007-05-22 Thread TK Soh
On 5/22/07, Roger Upole [EMAIL PROTECTED] wrote: Try a newer build of pywin32. There was a bug in some older versions regarding how the function determined whether it needed a file path or an id list. Thanks. Actually I'm using the win32 extension bundled with ActivePython, so I'd like to

[python-win32] [Python-Win32] error on shell.SHChangeNotify

2007-05-21 Thread TK Soh
I am trying to use SHChangeNotify to refresh the icon on the explorer windows in the following script, but got an error: -- import sys from win32com.shell import shell, shellcon def notify(f): shell.SHChangeNotify(shellcon.SHCNE_UPDATEITEM,