Clicking PowerPoint from VBA

R

Robert Crago

Hi there,

Would anyone care to share the secrets of sending mouse
clicks to the PowerPoint slideshow window via automation
to cause slide changes, button clicks etc?

I've tried SendMessaging a WM_LBUTTONDOWN message to the
slideshow window and SPY++ tells me the messages are
being received by that window, but nothing is happening.

My questions are:

1) Which of PowerPoints windows do I have click in
2) Do I need both WM_LBUTTONDOWN and WM_LBUTTONUP (or
some other combination)

Any help would be gratefully received
Robert
 
S

Shyam Pillai

R

Robert Crago

Hi Shyam,

Thanks for your help with my problem - much appreciated.

However, I am already successfully using the automation
technologies you suggest, but there are other
circumstances when you may need to click directly on the
slideshow window.

The ...View.Next automation feature will only activate
objects in the pre-planned side show animation sequence.
What if your slide contained a movie that was setup to
only be played when explicitly clicked with the mouse.
(and there are other examples as well).

Do you know of ways to 'click' on every clickable object
on the slide? Otherwise I need to know how to use
SendMessage to click on the actual slide itself.

I hope this clarifies things a little.

Once again, thanks for your help...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top