Re: [python-win32] timeout function

2010-04-07 Thread Varun Avashia
I doubt that, I believe subprocess is the way to go. Just kick it in, sleep for some time and poll it, increment a counter and sleep again To call a function from a script with timeout, create a new python script as a thin wrapper around the function and send the timeout via command line

[python-win32] Using win32com.mapi to automate mail dispatch...

2010-04-26 Thread Varun Avashia
Hi, I tried to follow the code on this link http://mail.python.org/pipermail/python-win32/2004-August/002239.html This worked fine for me on win7 with Outlook2k7 (CDO were installed separately), However this failed to work on winxp with sp2 and outlook2k7 (with CDO installed) with following

Re: [python-win32] Using win32com.mapi to automate mail dispatch...

2010-04-26 Thread Varun Avashia
Also, the mails sent by this method show up in my personal folders outbox (which I imported from my old PC) and not the mailbox outbox... From: Varun Avashia Sent: Monday, April 26, 2010 6:30 PM To: 'python-win32@python.org' Subject: Using win32com.mapi to automate mail dispatch... Hi, I tried

Re: [python-win32] Using win32com.mapi to automate mail dispatch...

2010-04-26 Thread Varun Avashia
4:22 AM To: Python-Win32 List Subject: Re: [python-win32] Using win32com.mapi to automate mail dispatch... Varun Avashia wrote: I tried to follow the code on this link http://mail.python.org/pipermail/python-win32/2004-August/002239.html This worked fine for me on win7 with Outlook2k7

Re: [python-win32] Using win32com.mapi to automate mail dispatch...

2010-04-27 Thread Varun Avashia
2.6.4 - pywin32 latest version - WinXPSP2 with Office2k7 -Original Message- From: Mark Hammond [mailto:skippy.hamm...@gmail.com] Sent: Tuesday, April 27, 2010 11:05 AM To: Varun Avashia Cc: Python-Win32 List Subject: Re: [python-win32] Using win32com.mapi to automate mail dispatch

Re: [python-win32] Enable/disable Remote Desktop via Python

2010-06-29 Thread Varun Avashia
How about this one? I don't work on win7 but this might help... http://blogs.techrepublic.com.com/itdojo/?p=1864tag=nl.e101 -Original Message- From: python-win32-bounces+varun.avashia=aryaka@python.org [mailto:python-win32-bounces+varun.avashia=aryaka@python.org] On Behalf Of