Skip to main content
Rikapple
Known Participant
September 18, 2015
Answered

Multiple actions on same button press

  • September 18, 2015
  • 2 replies
  • 592 views

I have a slide which requires 5 button clicks to complete.

Is there a simple way to have a different action each time the same button is pressed? I can think of a long winded way of doing it with hidden buttons etc. But am trying to keep it simple.

To clarity I would like to have a hidden smartshape reveal each time the same button is pressed on the same slide page.

Tried everything I can think of in the advanced actions tab but sure im missing something simple?

Many thanks in advance

Dez

    This topic has been closed for replies.
    Correct answer Lilybiri

    It depends on the actions of course, but this could be the general concept:

    • Create a user variable that acts as a counter, with default value of 0. v_counter
    • Create a conditional action with as many decisions as you have 'actions' to do + 1
    • That first decision has to be a mimicked standard action (IF 1 is equal to 1) and has to increment the v_counter and maybe other actions that have to be done anyway; for your example with images, that could be to hide the group with images (group them please).
    • The other decisions have real conditions:
      • IF v_counter is equal to 1
        • Show Image1
      • IF v_counter is equal to 2
        • Show Image2
      • ......

    You also need to know what has to happen after those 5 actions? In this blog post you'll find an example, not totally the same but it is looping through a sequence of photos.

    Blog after Posterous? - ClickClick - Captivate blog

    2 replies

    Lilybiri
    LilybiriCorrect answer
    Legend
    September 18, 2015

    It depends on the actions of course, but this could be the general concept:

    • Create a user variable that acts as a counter, with default value of 0. v_counter
    • Create a conditional action with as many decisions as you have 'actions' to do + 1
    • That first decision has to be a mimicked standard action (IF 1 is equal to 1) and has to increment the v_counter and maybe other actions that have to be done anyway; for your example with images, that could be to hide the group with images (group them please).
    • The other decisions have real conditions:
      • IF v_counter is equal to 1
        • Show Image1
      • IF v_counter is equal to 2
        • Show Image2
      • ......

    You also need to know what has to happen after those 5 actions? In this blog post you'll find an example, not totally the same but it is looping through a sequence of photos.

    Blog after Posterous? - ClickClick - Captivate blog

    KJerryK
    Legend
    September 18, 2015

    Which software product are you using for this?

    Rikapple
    RikappleAuthor
    Known Participant
    September 18, 2015

    Captivate 8

    [Moved from the generic Comments forum to the specific Program forum... Mod]