Re: [python-win32] How can I detect when a user switches between windows?

2007-12-27 Thread Tim Roberts
Assaf Tal wrote: > > I hope I've come to the right place :). Didn't you ask this question on the newsgroup last night? I know I've read it recently. > The utility will execute a set of commands whenever the user switches > his focus between different windows, including child windows in MDI > ap

[python-win32] How can I detect when a user switches between windows?

2007-12-27 Thread Assaf Tal
Hi everybody, I hope I've come to the right place :). My name is Assaf, and I'm trying to write a small Python utility on a Win-XP platform. I'm not a beginning programmer (having experience mainly with scientific computations), but I'm pretty new to Python and Windows programming. The utility wil

Re: [python-win32] How to get mails from Exchange Server

2007-12-27 Thread Tim Roberts
Antony Joseph wrote: > > I can read my mails locally from my outlook, > I want to read my mail directly from Exchange server , How can i do that? > Any Help/link will be usefull to me . Depending on how it is configured, your Exchange server might support POP3 or IMAP, just like a Real Mail Serve

Re: [python-win32] python-win32 Digest, Vol 57, Issue 22

2007-12-27 Thread Tim Golden
Antony Joseph wrote: > Hi, > > I am try to print all the message in my mailbox . its not working > inbox = session.Inbox > i print the value of inbox its gives > > I think its not getting the inbox ? > > > # > # inbox.py > # test case for access to Exchange; run through the > # hard-coded user

[python-win32] How to get mails from Exchange Server

2007-12-27 Thread Antony Joseph
hi all, I can read my mails locally from my outlook, I want to read my mail directly from Exchange server , How can i do that? Any Help/link will be usefull to me . my code import win32com.client session = win32com.client.Dispatch("MAPI.Session") session.Logon() inbox = session.Inbox collmsg =