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 one?
Hi all,
when I try to call GetObject('winmgmts:') when an input event happens, I get
the following exception:
File "D:\DAProject\Workspace\context\inputhook\RDFIO.py", line 67, in wordInfo
self.GetActiveProcess()
File "D:\DAProject\Workspace\context\inputhook\RDFIO.py", line 71, in
Ge
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):
#Pass
list)
TypeError: First param must be a callable object
Any ideas?
Thanks a million!
Radu.
- Original Message
From: Tim Roberts <[EMAIL PROTECTED]>
To: Python-Win32 List
Sent: Monday, 20 August, 2007 10:24:21 PM
Subject: Re: [python-win32] EnumChildWindows
Rad
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 th
t-synchronous call.', None, None)
Thanks a million,
Radu.
- Original Message
From: Tim Roberts <[EMAIL PROTECTED]>
To: Python-Win32 List
Sent: Friday, 24 August, 2007 11:04:02 PM
Subject: Re: [python-win32] get running application handle
Radu Ciora wrote:
> Is it possible
PROTECTED]>
To: Python-Win32 List
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 t
Hi guys,
Can someone tell me how to use PyIEnumMoniker?
I've tried :
import pythoncom
print PyIEnumMoniker.Next()
but I get the error:
NameError: global name 'PyIEnumMoniker' is not defined.
Thanks a million,
Radu.
___
Want id
Thanks a million,
Radu.
- 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
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 anyone tell me what's wrong with it
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)
>
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
Sent: Thursday, 4 October, 2007 10:06:28 PM
Subject: Re: [python-win32] message queue
Radu Ciora wrote:
&
ent: Thursday, 4 October, 2007 11:01:08 PM
Subject: Re: [python-win32] message queue
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 messa
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 hav
14 matches
Mail list logo