Skip to main content
Participant
July 19, 2012
Answered

About " Return To the last visited slide" feature

  • July 19, 2012
  • 7 replies
  • 2731 views

Hi everyone,

I have a question regarding to the function of Return to the last visited slide, and how I can customize the system variable, cpInfoLastVisitedSlid to limit some accessing in the project.

Since I don't know anyway to keep my word concise and clear, I will try to explain my question more...

Version I use: Captivate 5

Currently, I am working on a project that includes the course content and a navigation guide together.

Each Course Content Slide has 3 buttons:

  1. Back to previous slide
  2. Go to the next slide
  3. Navigation Guide (goes to the navigation guide menu page )

The Navigation Guide is a 30-slide little session telling our audience how to navigate and print with pdf version. Here is how we structure the Guide:

  1. menu Page, in the menu page, there are 4 button
    1. button to go back to the last visited slide
    2. button to section A
    3. button to section B
    4. button to section C
  2. Section A in the guide
  3. Section B in the guide
  4. Section C in the guide

   On each Section, there are buttons that can go to their sub sections and return to the menu...

the user accesses from any course content slide to the navigation guide. The frist slide they will see after entering navigation guide is the menu page with 4 buttons. If the user click " go back to the last visited slide" button, the button will takes to where the user was in the course content slide.

However, if the user click the other buttons to view the content in the guide. when they return to the menu, the last visited slide become the last page they view in the guide.... hence they can not exit the guide and return to the course unless we assign a button to go to a particular slide in the course content...

Here comes the question:

Is there any possible way to condition  the system variable, cpInfoLastVisitedSlid, not to remember slide it visited in the navigation guide, and only remember the slides from the course session?

Thank you for your patience to finish reading my long question...

and thanks to Lilybiri and RodWard answered my question about How to create user variables to track question slides?

for the unknown reason that I can't login to my previous account anymore.... but I really want to say you guys give me a big help.

This topic has been closed for replies.
Correct answer RodWard

The cpInfoLastVisitedSlide system variable is read-only and you cannot change its value using advanced actions.

However, you might be able to achieve what you wanted by setting up your own variable and using the system variable value together with some cretive advanced actions.

First you need to work out all of the scenarios where your user would NOT want to jump to the very last literal slide visited, but to another slide. From your description it seems like these scenarios would all be connected with the fact that your user had entered the group of slides explaining navigation. Correct?

7 replies

RodWard
Community Expert
RodWardCommunity ExpertCorrect answer
Community Expert
July 20, 2012

The cpInfoLastVisitedSlide system variable is read-only and you cannot change its value using advanced actions.

However, you might be able to achieve what you wanted by setting up your own variable and using the system variable value together with some cretive advanced actions.

First you need to work out all of the scenarios where your user would NOT want to jump to the very last literal slide visited, but to another slide. From your description it seems like these scenarios would all be connected with the fact that your user had entered the group of slides explaining navigation. Correct?

Participant
July 20, 2012

Yes.

Our user had entered the group of slides explaining navigatio.

but, I don't know how to set the user variable for group of slide.... and if I should I combine the user variable with the cpInfoLastVisitedSlide... (Since it is all slide number...)

What I have tried is that created a conditional advanced action...

if

rdinfoCurrentSlide > the second slide of the navigation guide

rdinfoCurrentSlide < the last slide of the navigaiton guide

action

expression cpInfoLastVisitedSlide system = cpInfoLastVisitedSlide system - rdinfoCurrentSlide

else

return to last visited slide

It doesnt work the way i want at all...

My probolem is to structure the logic relationship between these variable, and also how to create a user variable for a group of slide......

thank you .

Lilybiri
Legend
July 21, 2012

As Rod already told you, it is not possible to change the system variable cpInfoLastVisitedSlide, this is a read-only variable. Your advanced action has no effect for that reason, because you try to assign a new value to that system variable with the Expression statement.

I try to understand, from your advanced action what you want to do:

  1. If the user was previously on a content slide somewhere (not in the menu slides), and is now on a navigation slide, you want the Back button to return to that content slide
  2. If the user is currently on a content slide, you want the Back button to have its normal functionality, where you can use the var cpInfoLastVisitedSlide

Is that correct? And this has to be triggered by the Back button? If you confirm what I detected, will try to figure out a scenario that doesn't need too much work. Because my intuition tells me you will have to populate a user variable on each content slide to store its slide number. This can be done by a simple Assign action on each slide Enter event, but I have to know if you already use that event for an advanced action? Then the Back button could check this variable.

Lilybiri