[python-win32] shell.SHChangeNotify failed to refresh icons

2008-02-14 Thread TK Soh
I have noticed quite frequently that shell.SHChangeNotify does not trigger the refreshing of icons on Explorer windows. This happens mostly when relative large number of shell.SHChangeNotify() calls are made on files residing in the same folder. I am using pythonwin b210.5 (special test build by Ma

[python-win32] Getting Wireless Signal Strength / Windows XP

2008-02-14 Thread Prof. William Battersea
Hello, I posted the following to Comp Lang Python list, but didn't receive any replies: I'm looking for a way to get wireless signal strength on Windows XP with Python. I see there's a library for Linux, but I can't find anything for windows. However, I see that using WMI I can access it in theor

Re: [python-win32] Getting Wireless Signal Strength / Windows XP

2008-02-14 Thread Tim Golden
Prof. William Battersea wrote: > I posted the following to Comp Lang Python list, but didn't receive any > replies: [... snip WMI problem ...] Bizarre. I'm quite certain I replied to this days ago. I even remember failing to find a wireless machine to test it on. But I can't see the post now. Gi

Re: [python-win32] Getting Wireless Signal Strength / Windows XP

2008-02-14 Thread Tim Golden
[Somehow got stuck in my outbox... ] [EMAIL PROTECTED] wrote: > Hello, > > I'm looking for a way to get wireless signal strength on Windows XP > with Python. I see there's a library for Linux, but I can't find > anything for windows. However, I see that using WMI I can access it in > theory at lea

Re: [python-win32] shell.SHChangeNotify failed to refresh icons

2008-02-14 Thread Mark Hammond
MSDN documents that " For performance reasons, multiple notifications may be combined into a single notification. For example, if a large number of SHCNE_UPDATEITEM notifications are generated for files in the same folder, they can be joined into a single SHCNE_UPDATEDIR notification." which I su

Re: [python-win32] shell.SHChangeNotify failed to refresh icons

2008-02-14 Thread TK Soh
On Thu, Feb 14, 2008 at 10:55 PM, Mark Hammond <[EMAIL PROTECTED]> wrote: > MSDN documents that " For performance reasons, multiple notifications may > be combined into a single notification. For example, if a large number of > SHCNE_UPDATEITEM notifications are generated for files in the same f

Re: [python-win32] shell.SHChangeNotify failed to refresh icons

2008-02-14 Thread Mark Hammond
> I just found out I was passing SHCNF_FLUSHNOWAIT flag to the calls. By > changing the flag to SHCNF_FLUSH, the icons are refreshed correctly > (at least most of the time). Though the delay on refreshing is > noticeable from one icon to the other. But that's not intolerable for > now. That is str