Re: [python-win32] api for mapping webdav location in My Network Places?

2007-10-04 Thread Sidnei da Silva
The WebDAV Folder (Microsoft calls them WebFolders) is apparently just a shortcut in the User's 'Nethood' hidden folder. More information and sample code in C# here: http://www.codeproject.com/aspnet/ReadWebFolderContent.asp -- Sidnei da Silva Enfold Systems

Re: [python-win32] message queue

2007-10-04 Thread Tim Roberts
Radu Ciora wrote: Hi all, given this code: while 1: time.sleep(1) l_hwnd = win32gui.GetForegroundWindow() try: msg = win32gui.GetMessage(l_hwnd, 0, 0) print msg except: traceback.print_exc() can

Re: [python-win32] Converting VB COM register program to Python

2007-10-04 Thread r c
On 10/3/07, Tim Roberts [EMAIL PROTECTED] wrote: r c wrote: In this case, where an indexed property had both a Get and a Let handler, the Python COM stuff generates a Value function for the Get part, and a SetValue function for the Let part. So, you want:

Re: [python-win32] message queue

2007-10-04 Thread Radu Ciora
I was trying to see how GetMessage function works. I was trying with this basic app and later try to get message for MsWord. Regards, Radu. - Original Message From: Tim Roberts [EMAIL PROTECTED] To: Python-Win32 List python-win32@python.org Sent: Thursday, 4 October, 2007 7:10:13 PM

Re: [python-win32] message queue

2007-10-04 Thread Tim Roberts
Radu Ciora wrote: I was trying to see how GetMessage function works. I was trying with this basic app and later try to get message for MsWord. The only messages you get with GetMessage are messages that arrived in your thread's message queue. You can monitor the message traffic within

Re: [python-win32] message queue

2007-10-04 Thread Radu Ciora
So you mean that I won't be able to see Word's message queue, right? Regards, Radu. - Original Message From: Tim Roberts [EMAIL PROTECTED] To: Python-Win32 List python-win32@python.org Sent: Thursday, 4 October, 2007 10:06:28 PM Subject: Re: [python-win32] message queue Radu Ciora

Re: [python-win32] message queue

2007-10-04 Thread Tim Roberts
Radu Ciora wrote: So you mean that I won't be able to see Word's message queue, right? Not by using GetMessage, no. You wouldn't want to in any case, because GetMessage *removes* the messages from the queue. If you COULD get them, then Word WOULDN'T get them, and the display would be