Share via

Auto launch a program.exe when slide opens

Anonymous
2011-11-22T03:37:00+00:00

I created an action button to launch a program.exe ... but I don't want to do mouse over or mouse click ... I want the program to start as soon as that slide opens ...

 can Powerpoint  do this??

Thanks peeps!

Microsoft 365 and Office | PowerPoint | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Steve Rindsberg 99,166 Reputation points MVP Volunteer Moderator
2011-11-22T16:29:55+00:00

If this will be a show controlled by a user (as opposed to one that runs automatically), a mouseover might actually do.

Add a rectangle to cover the entire slide, make it transparent and assign it a mousover action to run your EXE, it should do what you're after.  The user's sure to move the mouse a bit and when they do, your EXE gets fired off.

Of course, PPT, ever mindful of your safety, will then toss up a warning message.  The world as we know it, after all, might end if you were to allow an EXE of your own choosing to run on your own PC without MS warning you.  Somehow the fact that they interrupt your presentation makes it all safe.  Don't ask me why.

To get round this, if you can use VBA, you could do a little macro like this and assign it as the slide-covering rectangle's Run Macro on Mouseover action:

Sub NoStupidWarningsForMeThanks()

  Call Shell("NOTEPAD.EXE", vbNormalFocus)

End Sub

Substitute the full path to your program in place of "NOTEPAD.EXE", obviously.

And don't tell MS or they'll break that too. ;-)

If it's an autorun show, different story.

Was this answer helpful?

0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2011-11-22T09:07:26+00:00

    You MIGHT be able to insert as an object and add a with previous object verb open or edit in Animations.

    Was this answer helpful?

    0 comments No comments