Re: [python-win32] word

2005-04-14 Thread Michel Claveau
Hi ! A mini example, but already ready (old) : import win32com from win32com.client import Dispatch word = Dispatch('Word.Application') word.visible = 1 doc = word.Documents.Add() rge = doc.Range(0,0) rge.Text="""Bonjour ! Essai OK.\r\n\r\n Please, visit http://mclaveau.com"""; doc.SaveAs('c:

[python-win32] word

2005-04-14 Thread ryan pinto
Hi Guys, I am new to Python Win 32. COuld some one send me some py code to open and process word documents. I am trying to talk to work by doing... wordApp = win32com.client.Dispatch("word.Application") wordApp.visible = 1 wordApp.CommandBars.FindControl(Id=23).Execute and it doesnt seem to wor

Re: [python-win32] Python und Hardwaremanagement

2005-04-14 Thread Daniel F
> Many thanks so far for your quick response. Basically what I mean with > "manage your hardware" is writing a program that can switch on/off the > monitor and keyboard as well as setting/change the resolution and frequency. > Its just for training. to play with the monitor settings, check out th

[python-win32] Python und Hardwaremanagement

2005-04-14 Thread daniel(1und1)
Dear Experts   Many thanks so far for your quick response. Basically what I mean with “manage your hardware” is writing a program that can switch on/off the monitor and keyboard as well as setting/change the resolution and frequency. Its just for training.   Platform_: Windows XP Pyth