Try:
self.session = win32com.client.Dispatch(Outlook.Application)
Regards,
Radu.
- Original Message
From: Antony Joseph [EMAIL PROTECTED]
To: python-win32@python.org
Sent: Friday, 4 April, 2008 12:09:20 PM
Subject: [python-win32] Problem in reading MS Outlook mails.
Hi,
I am having
Subject: Re: [python-win32] message queue
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
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
.
- Original Message
From: Mark Hammond [EMAIL PROTECTED]
To: Radu Ciora [EMAIL PROTECTED]; python-win32@python.org
Sent: Thursday, 20 September, 2007 2:54:24 AM
Subject: RE: [python-win32] PyIEnumMoniker
Can someone tell me how to use PyIEnumMoniker?
I've tried :
import pythoncom
print
Hi all,
Is it possible to get a handle to a running application like the one I get when
I explicitly start an application myself using the
win32com.client.Dispatch(Object.Name)?
Is the one retrieved by win32gui.GetForegroundWindow() the same as the one
above or not, if not how can I get the
PROTECTED]
To: Python-Win32 List python-win32@python.org
Sent: Friday, 24 August, 2007 11:04:02 PM
Subject: Re: [python-win32] get running application handle
Radu Ciora wrote:
Is it possible to get a handle to a running application like the one I get
when I explicitly start an application myself using
Hi everyone,
can anyone give me an example of use of win32gui.EnumChildWindows() function
as I can't seem to make it work:
my code looks like this:
...
win32gui.EnumChildWindows(l_hwnd, self.windowEnumerationHandler(), l_childlist)
...
def windowEnumerationHandler(hwnd, resultList):
a million!
Radu.
- Original Message
From: Tim Roberts [EMAIL PROTECTED]
To: Python-Win32 List python-win32@python.org
Sent: Monday, 20 August, 2007 10:24:21 PM
Subject: Re: [python-win32] EnumChildWindows
Radu Ciora wrote:
Hi everyone,
can anyone give me an example of use
Hi everyone,
I have an application which monitors the user input and environment.
I was wondering if it can get the the to/from fields from an opened email in
outlook/outlook express.
I don't have a handle to Outlook as I don't start the application from inside
python. Is it possible to get