ActionVerb Property
Applies To
ActionSetting object, PlaySettings object.
Description
PlaySettings object: Returns or sets a string that contains the OLE verb that will be run when the specified OLE object is animated during a slide show. The default verb specifies the action that the OLE object runs — such as playing a wave file or displaying data so that the user can modify it — after the previous animation or slide transition. Read/write String.
ActionSetting object: Returns or sets a string that contains the OLE verb that will be run when the user clicks the specified shape or passes the mouse pointer over it during a slide show. The Action property must be set to ppActionOLEVerb first for this property to affect the slide show action. Read/write String.
The possible values for this property correspond to the items listed in the Object action box on the Play Settings tab in the Custom Animation dialog box (Slide Show menu) when the specified object is selected.
Example
This example specifies that shape three on slide one in the active presentation will automatically open for editing when it's animated. Shape three must be an OLE object that contains a sound or movie object and that supports the Edit verb.
Set OLEobj = ActivePresentation.Slides(1).Shapes(3)
With OLEobj.AnimationSettings.PlaySettings
.PlayOnEntry = True
.ActionVerb = "Edit"
End With
This example sets shape three on slide one to be played whenever the mouse pointer passes over it during a slide show.
With ActivePresentation.Slides(1).Shapes(3).ActionSettings(ppMouseOver)
.ActionVerb = "Play"
.Action = ppActionOLEVerb
End With