Action Objects
Objects related to mouse click and hover actions on shapes or text runs.ActionSetting
Properties specifying how a shape or text run reacts to mouse actions during a slide show.Properties
Member of the PP_ACTION enumeration indicating the type of action.Returns the type of action that will result when the shape or text is clicked or the mouse pointer is positioned over it during a slide show. Returns
PP_ACTION.NONE if there is no action or if the action is not recognized.Possible values:PP_ACTION.HYPERLINK- Navigate to a URLPP_ACTION.FIRST_SLIDE- Go to first slidePP_ACTION.LAST_SLIDE- Go to last slidePP_ACTION.NEXT_SLIDE- Go to next slidePP_ACTION.PREVIOUS_SLIDE- Go to previous slidePP_ACTION.LAST_SLIDE_VIEWED- Go to last viewed slidePP_ACTION.NAMED_SLIDE- Go to a specific slidePP_ACTION.END_SHOW- End the slide showPP_ACTION.NAMED_SLIDE_SHOW- Run a named slide showPP_ACTION.PLAY- Start another presentationPP_ACTION.OPEN_FILE- Open a filePP_ACTION.RUN_MACRO- Run a macroPP_ACTION.RUN_PROGRAM- Run a programPP_ACTION.OLE_VERB- OLE verb actionPP_ACTION.NONE- No action
A Hyperlink object representing the hyperlink action.A Hyperlink object is always returned, even if no hyperlink or other click action is defined.
Reference to the slide that is the target of a slide jump action.Returns the target slide for slide jump actions including
PP_ACTION.FIRST_SLIDE, LAST_SLIDE, NEXT_SLIDE, PREVIOUS_SLIDE, and NAMED_SLIDE. Returns None for all other actions.Writable: Assign a Slide object to create an internal hyperlink to that slide. Assign None to remove any slide jump action.Example:The
LAST_SLIDE_VIEWED and PLAY actions are not supported for this property.Example Usage
Hyperlink
Represents a hyperlink action on a shape or text run.Properties
Read/write URL of the hyperlink.The URL can use http, https, mailto, or file schemes. Returns
None if no hyperlink is defined or if another action (like RUN_MACRO) is defined instead.Writing: Assign a URL string to add or change the hyperlink. Assign None to remove any action (hyperlink or otherwise).Example:Example Usage
PP_ACTION Enumeration
Specifies the type of mouse action. See Enumerations for full details.Common Values
PP_ACTION.NONE(0) - No actionPP_ACTION.NEXT_SLIDE(1) - Move to next slidePP_ACTION.PREVIOUS_SLIDE(2) - Move to previous slidePP_ACTION.FIRST_SLIDE(3) - Go to first slidePP_ACTION.LAST_SLIDE(4) - Go to last slidePP_ACTION.HYPERLINK(7) - Navigate to URLPP_ACTION.END_SHOW(6) - End the presentation