Several instructions if in conditional actions?

Hello

I have a single button on a slide.  Whenever the user clicks on it, a legend of additional text should be.  My original idea was to hide all captions, create a variable to keep track of how many times the user has clicked the button and when the button was clicked, check to see how many times it has been clicked and present the appropriate caption.  This approach would require multiple if statements because according to many times the button has been clicked, a different legend would have shown.

After my research is preliminary, it was not possible in 2012.

Someone at - it ideas?

You cannot nest the IF, but you can achieve this with several decisions. You do not have to nest IF s to achieve this goal, although having a function BOX would make it easier (you can do that with JS). Here is a much simpler application with advanced actions:

Blog after Posterous? -ClickClick - Captivate blog

Look at the example of ClickClick please.

Tags: Adobe Captivate

Similar Questions

  • I can't do a conditional action with several decisions work

    I use 6 Captivate:

    Here is an example:

    The slide contains 2 objects - one is a button and the other is a graphic, seller.

    Entering the slide, a variable, v_button, is set to 0, and seller is hidden.

    I enclose a conditional action for the button to allow the user to click several times to show or hide the image.

    This conditional action works:

    IF:

    v_button is equal to 0

    ACTIONS:

    Show vendor

    Assign the v_button with 1

    ANOTHER THING:

    Hide the seller

    Assign the v_button with 0

    -------------------------------------------------------------

    This conditional action does not work:

    Decision 1:

    IF:

    v_button is equal to 0

    ACTIONS:

    Show vendor

    Assign the v_button with 1

    Decision 2:

    IF:

    v_button is equal to 1

    ACTIONS:

    Hide the seller

    Assign the v_button with 0

    What I am doing wrong?  I need to use many decisions because my real case requires 3 decisions.

    Thank you very much for your advice.  Never, I realized that I could layer smart buttons.  With your help, I solved the problem:

    I created 4 smart buttons, with the 2 green smart buttons on top 2 Brown buttons and attached a standard action to each of them:

    Button1On: (related to the Brown button 1)

    Hide

    Show

    Audio triggered stop

    Play the Audio

    Button1Off: (attached to the green button 1)

    Hide

    Audio triggered stop

    Button2On: (related to the Brown button 2)

    Hide

    Show

    Audio triggered stop

    Play the Audio

    Button2Off: (attached to the green button 2)

    Hide

    Audio triggered stop

  • Several conditional Actions required to Slide "on entry.

    I have a Captivate 7 file with a main Menu that contains 5 buttons that take users through 5 submenus. There are buttons that launch other project files on each submenu.

    On the submenus when a user performs a project file, the file closes and a variable puts a check mark on the top of the key to display this project is completed. Once a user makes all projects on a submenu, the button in the main Menu which directs user to the submenu then will have a tick on the top of the key to show the submenu is complete.

    This works well with many variables; standard actions on the buttons and a conditional action advanced on the "on entrance" for the slide.

    Question I have is that on each slide to make a Visual indicator that indicates the total percentage of full user (6 built images showing 0,20,40,60,80 & amp; 100). I created a conditional action that shows a relevant picture but my question is how to integrate only next to entry. Have you thought to use on output to show the image correctly on each slide, so that when the user visits a slide good picture - unfortunately it does not work.  Someone at - it ideas? Is it possible to drag on entry perform two separate conditional actions?

    Any great fully received help!

    You can put decisions as much as you want in a conditional to the progress of the actions. How much time do you have for now? All the statements in any fast action are always evaluated, which is not always the case in conditions in a programming language. Sequence is of course very important, both in the statements and decisions.

    Lilybiri

  • Captivate 9 just all my conditional actions converted to standard actions

    This isn't a problem converting 8 Captivate. I spent several hours this morning, creating conditional actions and by assigning them to the learning map that I create in Captivate 9. I save the file several times along the way and also at the end.

    Then, I went to lunch and attended a meeting. When I got home and has reopened the case in order to duplicate and modify the existing conditional actions, I found that they were converted to standard actions, and my settings of variables and expressions had been dropped.

    I have not a screenshot of what it is supposed to look like - these are actions "and then" which were associated with the first condition. The second condition and all the "else" statements have been abandoned.

    I had to have this ready to present to my boss before the end of the day--and I would have, if I didn't all start again. And how do you know if that this never happens again?  ARGH!

    SOMEONE HAS THAT HAPPEN, AND IS THERE A SOLUTION?

    Standard Actions graphic.png

    No, they have not installed the patch for 9.0.1.320 nor the 9.0.0.230 fix. You are always on the first version that had this bug, resolved by a hotfix released shortly after the first version. This patch is now included in the patch you need to install as soon as POSSIBLE.

  • [Captivate 6] Indicator completion using conditional actions

    Hello

    I'm looking to implement an indicator of achievement in the form of an image is displayed next to the link to a specific section to show that it is has been visited, to achieve this, I did the following

    1. [Page 1] 3 (smart form configured to use like button) buttons, 3 images (located in invisible on output) Image1, Image 2 and 3
    2. Link 1 [page 2] back button on slide 1
    3. [Page 3] 1 button link to slide 1
    4. [Page 4] 1 button link to slide 1

    Variables:

    • Sec1Done, value 0
    • Sec2Done, value 0
    • Sec3Done, value 0

    Conditional actions:

    • IF [Sec1Done] is equal to 1 THEN show Image1
    • IF [Sec2Done] is equal to 1 THEN show Image2
    • IF [Sec3Done] is equal to 1 THEN show Image3

    Action (as input):

    • [Slide] Assign the Sec1Done with 1
    • [Slide] Assign the Sec2Done with 1
    • [Slide] Assign the Sec3Done with 1

    Now, when I click on the link in section 1 (slide 1) then click the button back (slide 2) the Image1 does not appear, then is the same for slides 3 and 4.

    I've included a link to the project (hosted on mettle) if all goes well to make it more clear

    https://app.box.com/s/rnrhzrnm119f12nw85i74n1lhpn39bz0

    Thanks in advance for your support

    A little difficult, have several posts on similar configurations, but do not understand your explanation. You don't specify what events trigger actions at all. Why not use the Back buttons to change the value of variables? And the event that triggers the conditional action? I suspect that this is the event to enter the slide Menu?

    I suspect that you want something like that, watch the movie:

    Captivate 8 - first adventures - Captivate blog

  • Several instructions exit in a method - good or bad practice

    Hi fans of Java,.

    I happened to read this article: http://www.theserverside.com/tip/A-return-to-Good-Code on 'theserverside.com' how to have several instructions output in a method is bad programming practices.

    However when you glance through the comments on the article, you will find people showering reactions mixed on this statement.

    I want to know what should be the right road to take when writing code.
    Is there a logic that must decide which method to follow?

    Thanking you in advance for your advice.

    Google search I found the following links:
    http://StackOverflow.com/questions/2939162/is-it-bad-to-have-multiple-return-statements
    http://StackOverflow.com/questions/36707/should-a-function-have-only-one-return-statement

    Static code analyzers highlight several instructions output as a negative pointer!

    815233 wrote:
    A great example, I must say. Thanks a lot for this post baftos. And also thank you all for your contributions to it. :-)

    And on this subject, an old chestnut that was given to me was: 'not more then 3 levels of conditional logic' (be they ifs, loops or something else).
    Like most of the others, it must be applied with the thought; but it has served me quite well for 30 years.

    Winston

  • Several instructions set-peer - failover behavior

    Hi all

    I would like to confirm the behavior of the use of several instructions of the command "set-peer" under a single sequence of crypto-map for failover to IPSEC tunnel. In particular, what happens when a peer that has been previously unavailable returns to service?

    For example:

    I have two sites; Site 1 and Site 2 have two routers. All are connected by a routed cloud.

    Routers at each site have the following crypto card configured:

    Site1 - the two router A and router b:

    10 encryption ipsec-isakmp crypto map

    defined by peer RouterD
    defined peer RouterC

    Set transform-set 3desMd5
    match address 101

    Site2 - router-C and router D:

    10 encryption ipsec-isakmp crypto map
    defined peer RouterA

    defined peer RouterB

    Set transform-set 3desMd5
    match address 101

    HSRP is used on the side LAN between two routers on each site to prefer the router A and router C respectively as the active device.

    According to the Cisco documentation:

    "you can specify several counterparts by repeating this command (set-peer). The peer who has in fact, packets are sent to is determined by the last counterpart who heard the router (received traffic or a request for negotiation of) for a given stream. If the attempt fails and the first pair, Internet Key Exchange (IKE) tries the next peer on the crypto card list '.

    http://www.Cisco.com/en/us/docs/iOS/Security/command/reference/sec_s2.html#wp1046908

    If RouterA has an IPSEC tunnel to routerD... and router D fails, a tunnel is built between routerA and routerC. When the router D is backup... traffic switches to D from router to router A?

    What sequence of events would be the tunnel does not switch back once the main router has recovered from a failure?

    Thanks in advance.

    OK, that explains the behavior. When the router D returns, he becomes the main HSRP, traffic at the start of site 2 will use router D as point to exist; Router D paraphera session with A router ipsec. It looks like back switch for router D, but it's just because the initial D router to the router ipsec session has once he returns.

    HTH,

    Lei Tian

  • several instructions box in where clause

    Hello

    I'm trying to create report filters using substitution variables in a case statement in a where clause clause. I have several instructions box running on the same column. I don't really know how to write it. Here's what I have so far but I know I'm going in the wrong direction.

    where

    i.compute_zone =

    case

    When: P14_zone is NOT NULL

    then: P14_zone

    of other i.compute_zone

    end

    AND

    i.compute_zone =

    case

    When: P14_zone_2 is NOT NULL

    then: P14_zone_2

    other: P14_zone

    end

    AND

    i.compute_zone =

    case

    When: P14_zone_3 is NOT NULL

    then: P14_zone_3

    of other i.compute_zone

    end

    AND

    i.compute_zone =

    case

    When: P14_zone_4 is NOT NULL

    then: P14_zone_4

    of other i.compute_zone

    end

    any suggestions?

    Thank you

    MICAH

    Hi, Micah,

    User12611868-Oracle wrote:

    Hello

    I'm trying to create report filters using substitution variables in a case statement in a where clause clause. I have several instructions box running on the same column. I don't really know how to write it. Here's what I have so far but I know I'm going in the wrong direction.

    where

    i.compute_zone =

    case

    When: P14_zone is NOT NULL

    then: P14_zone

    of other i.compute_zone

    end

    AND

    i.compute_zone =

    case

    When: P14_zone_2 is NOT NULL

    then: P14_zone_2

    other: P14_zone

    end

    AND

    i.compute_zone =

    case

    When: P14_zone_3 is NOT NULL

    then: P14_zone_3

    of other i.compute_zone

    end

    AND

    i.compute_zone =

    case

    When: P14_zone_4 is NOT NULL

    then: P14_zone_4

    of other i.compute_zone

    end

    any suggestions?

    Thank you

    MICAH

    How get the desired results of your data depends on the desired results and your data.  What do you do?  (I can't tell just by looking at the aat code that do not do).  After CREATE TABLE and INSERT statements for some sample data and a couple of sets of parameters (variables such as p14_zone) and the exact results that your choices in each set of parameters, given the same sample data.

    Check out the Forum FAQ: Re: 2. How can I ask a question on the forums?

    CASE expressions are generally not useful in a WHERE clause.  CASE expressions are a convenient way to IF-THEN-ELSE logic of the places where you can't do anything other than (the SELECT clause), but WHERE the clauses allow IF-THEN-ELSE logic in any case

    Maybe you want something like

    WHERE MERGE (: p14_zone,: p14_zone_2,: p14_zone_3,: p14_zone_4) IS NULL

    OR IN i.compute_zone (: p14_zone,: p14_zone_2,: p14_zone_3,: p14_zone_4)

    It returns TRUE if all 4 parameters are set to NULL.  If 1 or more of them are not NULL, then it will return TRUE if i.compute_zone is equal to one of them.

  • Conditional Actions for Navigation using forced

    Hello

    I want to use conditional actions to do the following: display 'continue' button on slides only some slides were viewed by the user.

    I tried a lot of variation with no success and led many searching online.

    I hope that one of you will have the answer for me

    Kind regards

    Jacqueline

    Maybe this is similar to what you're trying to achieve:

    Create a dynamic Menu slide in Adobe Captivate. Infosemantics Pty Ltd

  • Problem of numerical comparison conditional Action

    I read the long blog of Rod Ward on conditional actions in Captivate, which seems to tell me if I have a user with a numeric variable and I'm comparing it with a literal value of-1 to see if they are equal, it should work fine because, as Rod, says "what is happening under the hood is that strings are first converted to digital before be assessed values.  However, it clearly doesn't.  That's what I have for the IF condition: VariableName is equal to-1.  The value of the variable declared in the Console (via a call to cpAPIInterface.getVariableValue ()) is - 1.  And yet the conditional action performs the ELSE action instead of the action of the YEW, as if he thinks that the variable, the value is - 1 is NOT equal to-1.  Captivate is certainly not lame that it can't handle the sign less on the - 1!  Anyone has an idea why it wouldn't work?

    I was waiting a bit to see if any of the other advanced/prolific contributors would be consistent with an opinion opposite to one Lilybiri expressed, but no one has.  I appreciate the offer of Lilybiri for help .  For awhile, I thought his assertion that Captivate couldn't handle

    If varname is equal to-1

    correctly.  I created a test case very simple to try to confirm, one who had nothing else going on at all to blur the.  I was surprised when it worked very well comparing a variable with-1.  Then I noticed other places in our advancement of existing shares that already rely on it working properly, and they worked as expected.  So I was banging my head against it to try to understand the real reason for a few hours it did not work and then I discovered there are TWO assets, click boxes on this slide, which enabled the AA I had been struggling with and another who had not changed but should be doing the same action as the ELSE the other action.  So basically, I discovered it wasn't a problem with the check against-1, such that it was originally, but execution of the evil AA.

    In addition, if Rod blog comment is correct ("what's happening under the hood is that strings are first converted into digital values before being evaluated"), it SHOULD work perfectly to compare negative numbers.  And it looks good now.

  • What are the variables system will report to the LMS for the completion of the course, when there is a test (developed with conditional actions manually).

    I developed a course where the learner must pass the test to complete the course in LMS.

    I developed a quiz (quiz developed using conditional actions) manual.

    Now I want my course should show in LMS completion status, only after the learner either in quiz.

    How do my report course to the LMS of completion criteria?

    I use 6 Captivate and LMS is CSOD.

    I tried to include in quiz option is not working for me... anyone have any ideas to fix this?

    Thanks in advance

    Have you checked that Panel Advanced Interaction, please? All of the marked objects that are indicated to be added to the total of the Quiz are part of all system Quizzing variables. Insert a slide to score in your project and check the result when previewing in the browser or after publication.

  • Creating conditional actions based on the results of the quiz

    I have a quiz at the end of my captivate file and I try to get to show different based on images if you have passed the quiz, or if you failed. For example if you pass, I want to show an image of the tick, and if you do not have an image of the cross, on the results slide.

    I tried to create this by implementing a conditional action. I put the two images on the slide and they hid. Then I have a conditional action value:

    IF
    cpQuizInfoPointsscored greater than or equal to 70

    ACTION

    See the Image_tick

    ON THE OTHER

    See the Image_cross

    When I play the quiz or image shows that I have success or failure (the quiz is set to a 70% pass - there are 10 questions, and all are worth 10 points)
    I am new to Captivate so that any help would be appreciated!
    Thank you

    Each action must be triggered by 'something', which is an event. You must attach to an event, I suspect that the event on enter score slide is one that suits. Select the slide of score, look in the properties panel, tab Actions, perform actions on enter, choose the action.

    In addition, there is a difference between the system variable cpQuizInfoPointsscored and cpInfoPercentage. Personally, I would use the simpler cpQuizInfoPassFail:

    IF cpQuizInfoPassFail is equal to 1

    See the tick

    On the other

    See the cross

    Download the tables in these two articles:

    System variables in Captivate 8/9 - Captivate blog

    Events / Actions (Advanced) - Captivate blog

  • I'm looking for a javascriptor for photoshop. I need to create conditional actions according to the decimal ratio.  Thank you

    I'm looking for a javascriptor for photoshop. I need to create conditional actions according to the decimal ratio.  Thank you

    You can find us an if-else for this statement. You can put the reports what ever you want:

    #target photoshop
    var doc = activeDocument;
    var ratio = parseFloat(doc.width/doc.height);
    if(ratio<.25){//enter code here to run action
         }
    if else(ratio<.5){//next code
         }
    if else(ratio <1){more code}
    else{more code}
    
  • conditional action passed to standard action - why?

    I work with a lot of conditional actions in my file (date limit rushed, will spend actions of timeshare learning soon). All my actions conditional on the slides were working, but I had to add a few items here and there, so I've been reviewing actions to add a few lines to show/hide. I've updated 2 blades without problem, now on my third 3 slide all conditional actions, that I created have changed somehow standard action. I'm not sure what I did to make this happen, but I need to not do it again. Can anyone provide an overview?

    If it comes to Captivate 9, which I suspect the issues you MENTION, install this hotfix:

    Hot fix | Adobe Captivate questions 9

  • My conditional Actions become advanced actions?

    This happened to me like 5 times... I always use variables to create checkpoints on the subjects or the buttons, so when my student visit them all Cp invites with a Windows with something like: congratulations, you've seen then all now to the next slide, blah blah...

    BUT: The conditional actions often turn into advanced actions and some actions that I had programmed, make me start all lose... (I have backups, but very annoying sound copy slides, which causes problems of its own related actions).

    Anyone know why this happens? I understand that this only happens when I continue to make changes in my project, but I always try to leave the variables and objects involved in the action intact.

    Just sharing and looking for some toughts

    I assume you are using Captivate 9? The issue you have now detected immediately after the liberation, and there is hotfix that you have to install to prevent the conversion of advanced conditional actions in standard common action. Take a look on:

    Hot fix | Adobe Captivate questions 9

Maybe you are looking for

  • Qosmio G10-100 - need sound driver for Windows 7

    Please please please can someone help I have spend hours and hours installation charges unlike drivers and none work. I even tried to install DriveRobot and who installed a 97 RealTec but does not work. I need a driver for Windows 7 sounds for a G10

  • Printer Spooler service removed from Windows Vista Home Edition

    I have Windows Vista Home Edition and I don't know when, but in some sort my printer spooler service has been removed, whenever I try to install my printer it gives an error message that there is no printer spooler service, please help I did not one

  • Printer does not print black even if the motive of the nozzles is OK

    I have a Canon IP4500 printer connected via USB on my computer running Windows 7. Everything was fine until a few days ago, when the printer would not print anything Black even if it would print colors OK. The natural reaction is to assume a problem

  • Deployment failed: 1 error: peer not authenticated

    Hi everyone I have a problem, helps to explain the case: PlayBook OS 1.01.1630 Simulator BlackBerry Tablet OS SDK 1.0.1 for Adobe Air VMWARE OS has a player -Network with IP 192.168.1.30 briged connection -Active development mode -Password "playbook.

  • How can I play old games that run on Windows 95?

    I bought a new computer with the latest windows os; How can I play old games that run on Windows 95?