Controlling PowerPoint From Within Runtime Revolution

Bill Vlahos bvlahos at mac.com
Thu Apr 16 22:55:56 EDT 2009


Is this stack doing more than launching the document? Does it control  
the advancing of the slides and/or get feedback from Powerpoint?

The example you used is for Windows. Does it also work on the Mac?

Bill Vlahos

On Apr 16, 2009, at 1:33 PM, Mark Stuart wrote:

> Hi John,
>
> I just built a stack to try what you are doing.
>
> I also downloaded and installed MS Powerpoint Viewer.
>
>
>
> I put a field on the stack with the name "Filename".
>
> In a button, I used the following script to open the powerpoint file
> using the viewer.
>
>
>
>
>
> on mouseUp
>
>   if fld "Filename" is not empty then
>
>      put fld "Filename" into thePPS
>
>      launch thePPS with "C:\Program Files\Microsoft Office\PowerPoint
> Viewer\pptview.exe"
>
>   else
>
>      answer "no file selected"
>
>   end if
>
> end mouseUp
>
>
>
>
>
> In the field I typed: "C:\temp\MyPresentation.pps".
>
> This file I created in MS Powerpoint, saving it as a "pps" file type.
>
>
>
> It launched the power point. I ran the slide show.
>
> It quit and the focus returned to where I launched it, the RunRev
> application.
>
>
>
> Where ever you launch the slide show from, the focus should return to
> its originating place.
>
> Unless of course, the user goes to another opened application. Then  
> the
> focus may not return.
>
>
>
> HTH you,
>
> Mark Stuart
>
> Email has been scanned for viruses by Altman Technologies' email  
> management service - www.altman.co.uk/emailsystems_______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list