PDA

View Full Version : Is there a way to know if a shape is visible and not on the timeline?



ajarmstron
07-27-2020, 12:38 PM
Hi - I have a slight code dilemma. I have a shape that I want to know if it is visible on the slide or not. Normally I could just use an
If MyDocument.Slides(name).visible = True Then ....

However, my issue is that this shape is also on the Timeline and only appears on screen when the main timeline (entrance animation) has been run! Therefore the visible command always returns as true!

My question is, is it possible to identify under these circumstances if a shape is on the screen or not?

Thank you for any comments.

John Wilson
07-28-2020, 12:17 AM
The only way would be to test the number of click animations to see if the relevant animation has run

x=ActivePresentation.SlideShowWindow.View.GetClickIndex

ajarmstron
07-28-2020, 11:49 AM
John Wilson - thank you for posting!