[python-win32] making Windows Media Player visible & catching events

2005-08-02 Thread Bill Eldridge
I'm trying to make Windows Media Player visible and control it from Python - especially to restart it when there's an error event. It seems when I call it below, I get only the console version, and there's no Visible method like with Internet Explorer. I do catch events, but I need it visible. Sho

Re: [python-win32] Invoking InchesToPoints

2005-08-02 Thread kimwaic888-pythonwin32
Hi, Tim, Thank you for responding. I don't know why that's needed neither but that's what Record Macro showed in Word. Is it possible that it's not 72 all the time, depending on the screen resolution and so forth? Regards, Tim Roberts wrote: > On Mon, 1 Aug 2005 10:42:22 -0700 (PDT), > <[EMA

Re: [python-win32] Invoking InchesToPoints

2005-08-02 Thread Tim Roberts
On Mon, 1 Aug 2005 10:42:22 -0700 (PDT), <[EMAIL PROTECTED]> wrote: >Hello list, > >Does anybody know how I can invoke the Word >InchesToPoints function from Python using PythonWin32? > > Why would you want to? This does exactly the same thing in WAY fewer cycles: def InchesToPoints( inches

Re: [python-win32] Getting new thread's ID (not handle)

2005-08-02 Thread Justin Johnson
Okay, that'll have to do.  Thanks. On 8/1/05, Mark Hammond <[EMAIL PROTECTED]> wrote: GetThreadID is a member of an MFC CThread class, probably not what you want.  The thread itself can call GetCurrentlThreadId - so the simplest way is probably for your new thread to call this function and store t

Re: [python-win32] Running remote command (like psexec.exe)

2005-08-02 Thread Tim Golden
[Boucher, Eric] | | Hi, | | I wanted to know if it's possible to execute remote command from one | computer to another, a little bit like the utility "psexec.exe" from | sysinternals (www.systinternals.com), with python code | (without calling | os.system("psexec ...")). I want to execute a DOS

[python-win32] Running remote command (like psexec.exe)

2005-08-02 Thread Boucher, Eric
Hi, I wanted to know if it's possible to execute remote command from one computer to another, a little bit like the utility "psexec.exe" from sysinternals (www.systinternals.com), with python code (without calling os.system("psexec ...")). I want to execute a DOS command on a group of computer. I

[python-win32] Outlook Task/Appt Deleting

2005-08-02 Thread Steve Milner
Good Day List, I'm trying to figure out how to delete tasks/appointments in the Outlook via win32com.client in python. I've been able to write code to create new tasks and appointments but can not find documentation (from MS or via Google searches) on how to use the object to search and delete