detect a custom motion path?

G

Geoff Cox

Hello,

I am trying to detect a text box which has a custom motion path
associated with it. Cannot find how to do this.

Any ideas please?

Cheers

Geoff

With oSl.TimeLine
For i = .MainSequence.Count To 1 Step -1
If .MainSequence(i).Shape.Type = msoTextBox Then

if .MainSequence(i) ????

end if
end if
Next i
End With
 
G

Geoff Cox

Hello,

I am trying to detect a text box which has a custom motion path

I can now see how to do this part

Nextsub: With oSl.TimeLine

For i = .MainSequence.Count To 1 Step -1
If .MainSequence(i).EffectType = msoAnimEffectCustom Then

end if
next

I want to keep the custom motion path info but have the words move
when a shape is clicked rather than when the enter key is pressed.

Cheers

Geoff
 
S

Shyam Pillai

Ideally this would be trivial since all you need to do would be to change
the triggertype to msoAnimTriggerOnShapeClick and assign a shape to the
TriggerShape property. However this does not work because of a bug in the
object model so the way to do this would be to create the motion path again
with a shape trigger and then delete the existing animation

Code to assign interactive animation is shown here:
http://skp.mvps.org/pptxp012.htm#interactive


--
Regards,
Shyam Pillai

Image Importer Wizard
http://skp.mvps.org/iiw.htm
 
G

Geoff Cox

Ideally this would be trivial since all you need to do would be to change
the triggertype to msoAnimTriggerOnShapeClick and assign a shape to the
TriggerShape property. However this does not work because of a bug in the
object model so the way to do this would be to create the motion path again
with a shape trigger and then delete the existing animation

Shyam,

Oh dear! I guess this means that it will be easier to make the changes
"by hand" as each word moves across the page along a different path.

The first word in the left hand column may go to the 3rd position in
the right hand column etc etc.

Why hasn't Microsoft corrected this behaviou?!

Does PPT 2007 get this right? Worth getitng a copy of this?

Cheers

Geoff
 

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