[wtr-general] how ruby interacts with already opened powerpoint

2010-04-15 Thread arihan sinha
Hi, In my application I've changed the setting so that the powerpoint would be opened without file download prompt. Now I need to focus on that already opened powerpoint and do some testing through ruby.( say count the no of slides) earlier i was saving the powerpoint ( clicking the save button

Re: [wtr-general] how ruby interacts with already opened powerpoint

2010-04-15 Thread Ethan
This group is about Watir, not WIN32OLE. I would look for microsoft's documentation on what powerpoint exposes for OLE automation. You will probably have to iterate over open applications to detect the existing powerpoint window. You might look at the source of Watir::IE.each (ie-class.rb, line 236