Re: [python-win32] how to activate subwindow of the application ???

2008-05-09 Thread Tim Golden
[Copying back to python-win32 list] Neha: please keep your posts on-list. This will help you since I'm sure there are other people than me out there who can help; it will help me, because I don't have time or the competence to deal with every single query that comes up; and it helps anyone else

Re: [python-win32] how to activate subwindow of the application ???

2008-05-09 Thread Mike Driscoll
Tim Golden wrote: neha rai wrote: I am making a tool that needs to open subwindow of another application, enter some text in it click ok and then open the same window again. i am able to put text and click 'OK' but I am not able to open the same window again using the python code. I need so

[python-win32] Excel - accessing a control's properties in an event handler

2008-05-09 Thread Sriram Sundararajan
I have a question on the excelAddin.py sample in the win32com\demos folder. We create a Tool Bar, add a button to it, btnMyButton = cbcMyBar.Controls.Add(Type=constants.msoControlButton, Parameter="Greetings") 'register' the button with the ButtonEvent class, btnMyButton=self.toolbarButton = Disp