Re: [python-win32] get installed software remote machine (Tim Golden)

2010-04-26 Thread pacopyc
[email protected] wrote: Send python-win32 mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit http://mail.python.org/mailman/listinfo/python-win32 or, via email, send a message with subject or body 'help' to

Re: [python-win32] Solid Example of Inputting Text into Win32 App?

2010-04-26 Thread Tim Roberts
Christopher Evans wrote: > Anyone have a link to a solid example of this? > > I am opening an app that is a single window with an internal console. > It uses a different scripting language than python, but I would like > to enter text into it (maybe make a wrapper later). What do you mean by "inte

[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 tr

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: '[email protected]' Subject: Using win32com.mapi to automate mail dispatch... Hi, I tried

[python-win32] Setting UserInitials in Office

2010-04-26 Thread Mike Driscoll
Hi, I am looking for a way to set the UserInitials and Username in Microsoft Office applications. The reason is that we have had some users who have managed to put their initials into some Office programs when a different user was logged in and this has made it difficult to tell who has what

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

2010-04-26 Thread Tim Roberts
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 (CDO were installed > separately), However this failed to work on winxp with sp2 and > outlook2k7

Re: [python-win32] Setting UserInitials in Office

2010-04-26 Thread Tim Roberts
Mike Driscoll wrote: > > I am looking for a way to set the UserInitials and Username in > Microsoft Office applications. The reason is that we have had some > users who have managed to put their initials into some Office programs > when a different user was logged in and this has made it difficult

[python-win32] Detect OS shutdown or user logout

2010-04-26 Thread python
Any suggestions on how I can have a Python script detect when its operating system is shutting down or a user is logging out? The script in question is a local web server (based on CherryPy). Thank you, Malcolm ___ python-win32 mailing list python-win32

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

2010-04-26 Thread Varun Avashia
Yes Tim, the user has Admin privileges, and eid has a -ve value of -2147221233. -Original Message- From: [email protected] [mailto:[email protected]] On Behalf Of Tim Roberts Sent: Tuesday, April 27, 2010

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

2010-04-26 Thread Mark Hammond
That EID was almost certainly fetched as a property, but the code isn't checking the returned property type before assuming it is a string entryid - in your case the type will be PT_ERROR, indicating the value holds the error reason as an integer. As Tim mentioned, that code means the requeste