Slide Transitions

Transitions are visual effects that play as a presentation moves from one slide to the next. Subtle or dramatic, transitions really impact how a presentation is received by its audience.

The Keynote scripting dictionary contains no specific transition class. Instead, transitions are implemented as a slide property whose name is transition properties. The value of the transition properties property is an AppleScript record, called transition settings, listing the transition’s parameters and their corresponding values.

To apply a transition to a slide, you simply change the transition settings of the transition properties property (try saying that over and over). You can change one, two, three, or all of the transition settings in one statement.

Here’s an example script statement for setting a transition for a slide:

  set the transition properties of the current slide to {transition effect:wipe, transition duration:2.0, transition delay:0, automatic transition:false}

An here are the relevant excerpts from the Keynote scripting dictionary:

The Transition Properties Property (Excerpt from Slide Class)

slide: [inh. iWork container; see also Compatibility Suite] : A slide in a presentation document.

properties

transition propertiestransition settings ) : The transition settings to apply to the slide.

Slide Transition Settings

transition settings: Properties common to all transitions.

properties

automatic transitionboolean ) : Should the transition begin automatically? A value of false indicates to transition on click.

transition delayreal ) : The number of seconds to wait until beginning the transition.

transition durationboolean ) : The number of seconds allocated for the transition to occur.

transition effectno transition effect/magic move/shimmer/sparkle/swing/object cube/
object flip/object pop/object push/object revolve/object zoom/perspective/clothesline/
confetti/dissolve/drop/droplet/fade through color/grid/iris/move in/push/reveal/switch/
wipe/blinds/color planes/cube/doorway/fall/flip/flop/mosaic/page flip/pivot/reflection/
revolving door/scale/swap/swoosh/twirl/twist ) : The transition effect to apply between the current and following slides.

(⬇ see below )  Transition Settings Controls • The transition settings properties match the controls in the Keynote interface: Transition Effect  1  ; Transition Duration  2  ; Automatic Transition  3  ; Transition Delay  4  .

transition-settings
Slide Transition Example Script

The following example script demonstrates how to apply transitions to existing and created slides:

TOP | CONTINUE