Skip to main content
Legend
August 27, 2026
Question

New Captivate: Any way to jump to an arbitrary slide using the JavaScript API?

  • August 27, 2026
  • 2 replies
  • 36 views

I’m trying to figure out how to dynamically jump to a slide using the JavaScript API. There is a “Go to slide” action, but that can only handle hard-coded destinations.

cpAPIInterface has an undocumented method, “goToSlide”, used by the aforementioned “Go to slide” action, but it appears to not be intended for developer use. For example adding an action to go to slide 3 of a project results in the code “cp.goToSlide(1526, 780)” being generated. That seems almost deliberately cryptic.

I find it hard to believe that such basic functionality as jumping to a slide is missing from the API. This is essential for any sort of dynamic branching applications.

    2 replies

    Participant
    September 11, 2026

    Completely agree—hard-coded jump limitations are frustrating! Adobe Captivate's internal slide indexing can feel needlessly cryptic, making custom `cpAPIInterface` wrappers essential for building truly dynamic, flexible branching logic. MyAARPMedicare login

    ClayUUIDAuthor
    Legend
    September 9, 2026

    Well, I wasn’t able to find any “proper” way for user scripts to do slide jumping, so I ended up resorting to an ugly but functional hack-- just issue multiple consecutive next() or previous() commands as needed to reach the desired slide. Seems to work so far. 

    I used a similar trick to implement slide replay. Go the next (or previous) slide, then immediately come back. This one does require that there be at least two slides in the project.