tag:blogger.com,1999:blog-284600789737488130.post2105029956717161058..comments2024-02-07T02:22:20.642-05:00Comments on Ruby on Windows: Automating PowerPoint with RubyDavid Mullethttp://www.blogger.com/profile/05597492688893461137noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-284600789737488130.post-6382026783132922902013-01-16T08:03:17.905-05:002013-01-16T08:03:17.905-05:00How can we select the "Repair" option au...How can we select the "Repair" option automatically for damaged files while Open?_skarehttps://www.blogger.com/profile/05953129430239855128noreply@blogger.comtag:blogger.com,1999:blog-284600789737488130.post-7866182705416936622012-02-09T21:01:35.770-05:002012-02-09T21:01:35.770-05:00@Anonymous:
The problem is not necessarily with y...@Anonymous:<br /><br />The problem is not necessarily with your code. I created a PowerPoint 2007 file and saved it as 'c:\file.pptx'. Your code ran correctly on my PC without any modifications. I am running Ruby 1.9.2 on Windows 7, with PowerPoint 2007.<br /><br />What version of PowerPoint? What version of Ruby? Does your PPT deck have any macros? If you open it manually, do you receive any warnings?David Mullethttps://www.blogger.com/profile/05597492688893461137noreply@blogger.comtag:blogger.com,1999:blog-284600789737488130.post-57158995839603063672012-02-09T13:16:03.409-05:002012-02-09T13:16:03.409-05:00Dear Sir, could you please take look at this issue...Dear Sir, could you please take look at this issue? http://stackoverflow.com/questions/9213460/opening-powerpoint-presentations-in-ruby-via-win32ole<br />You clearly seem to be knowledgeable on the topicAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-284600789737488130.post-44005804720228722002010-04-16T08:50:51.314-05:002010-04-16T08:50:51.314-05:00Hi,
I've changed the settings in my system so ...Hi,<br />I've changed the settings in my system so that if the download to powerpoint link is clicked then the powerpoint gets opened automatically.<br /><br />I am using the below code which is working ok but I need to count the no of slides. Pls let me know how would I proceed? <br />require 'win32ole'<br /><br />$ie.goto("http://www.thelancet.com/journals/lancet/article/PIIS0140-6736%2810%2960523-5/fulltext")<br /> $ie.link(:text, "Download to PowerPoint").click<br /><br />###The ppt gets opened automatically as a separate ppt file without file download prompt because settings changed in registry key.<br /><br />ppt = WIN32OLE.new('PowerPoint.Application') <br />ppt.Visible = true<br />##I want to do the count how many slides in the powerpoint. <br />ppt.Quit()Unknownhttps://www.blogger.com/profile/14856032887495108836noreply@blogger.comtag:blogger.com,1999:blog-284600789737488130.post-31199105005482647052009-01-27T12:09:00.000-05:002009-01-27T12:09:00.000-05:00Does anybody know how to get Font Color of text in...Does anybody know how to get Font Color of text in the Shape?<BR/><BR/>When I try <BR/><I><BR/>Slides(6).Shapes(8).TextFrame.TextRange.<BR/>Sentences(1).Font.Color<BR/></I><BR/>it always return a String like <I>WIN32OLE:0x3b5af9c</I>aleks.kiev.uahttps://www.blogger.com/profile/11934405378366853080noreply@blogger.comtag:blogger.com,1999:blog-284600789737488130.post-91906020957993164022008-09-22T13:40:00.000-05:002008-09-22T13:40:00.000-05:00Very nice infoI wonder if that is possible with Op...Very nice info<BR/><BR/>I wonder if that is possible with Openoffice + Ruby as well though.shevyhttps://www.blogger.com/profile/09636171104216432368noreply@blogger.com