Advanced actions in CP6 combination

It seems so simple, that I'm almost embarrassed to post.

(1) is it possible to use [if, else if, elseif, else] structure in conditional actions?

(2) is it possible to call several advances in stocks of a trigger (eg. entering a slide)?

(3) is it possible for a tip action call advanced further action?

What I'm trying to accomplish:

At the end of the quiz, display a rating grid (several legends of text) and automatically highlight the part of the scale that corresponds to the way in which the user has made. Assume that the user has marked a 3.  The scale can have 3 Legends: caption1 = [0-2: below average], caption2 = [3-4: average], caption3 = [5-6: above average].  Users see the same 3 legends, but the appropriate legend should be highlighted (I set its Alpha to 100% and the other legends at 50%).

What I tried:

(1) to build a conditional action: If score > 4 then highlight caption3, elseif score > 3 then highlight caption2, otherwise select caption1. Unfortunately I do not see how to use the elseif construction.

(2) create 3 separate actions advanced conditional and call each of them entering a slide: (A) if there are 5 < = score < = 6, then highlight caption3 only. (B) if 3 < = score < = 4, then highlight caption2 only. (C) If 0 < = score < = 2, then highlight caption1 only.  Unfortunately I can not understand how to call all advanced actions when the user enters the slides

(3) create an advanced standard action that will call the above 3 conditional actions in order. Unfortunately I don't see a way to call advanced actions of in a tip action.

The goal seems so simple, but I am at a loss on how to do it. Help please.

Hello

The workflow in the conditional shares advanced is a bit different from normal programming languages. You have the possibility to create and/or conditions and have a series of decisions (the buttons without a title at the top) with different conditions in each decision. But be aware that Captivate will always evaluate all decisions, in order. So I recommend especially for complicated situations create a flowchart with the logic before you create the action.

No, you can use only a single trigger action. But it is possible to combine in a single conditional action. To mimic a standard action, you use a condition which is always filled as "If 1 is equal to 1"

It is not possible to call a tip for any other action action, no subroutines. There is also no loops, without tables.

I have many examples on my blog for advanced actions use cases: http://blog.lilybiri.com

Your example is quite easy:

Decision 1 "Excellent".

IF cpQuizInfoPointsscored is greater than or equal to 5

Apply the effect...      to the proper shape

Decision 2 "average."

IF cpQuizInfoPointsscored is greater than or equal to 3 AND

cpQuizInfoPointsscored is less than 5

Apply the effect...      to the proper shape

Decision 3 "Low".

IF cpQuizInfoPointsscored is less than 3

Apply the effect...      to the proper shape

Tags: Adobe Captivate

Similar Questions

  • Show and hide multiple items using wildcards in advanced Actions?

    Is there a way to show or hide multiple items at once by using a wildcard character in advanced Actions?  Ex: Hide all the boxes to click in the presentation that begin with click_ *.

    I'm trying to find a good way to use the same CBT to show me Mode (demo video with audio and no interaction) and the practice Mode (interactive simulation with boxes to click and prompt text box for interactions).

    I saw a few business solutions have the ability to have 1 source file that publishes on multiple formats (demo, simulation, quick guide).  However, they are a little more than 800 $de Captivate.

    Micky

    If I want to create a combination, I capture in all modes search and then copy and paste what I want one of the files? An example, but it's on a Dutch version of my blog, watch movie (power of lightning, hope, that you will always be able to see SWF?):

    http://captivatenederlands.posthaven.com/classic-tutorials

    Lilybiri

    PS as for your original question: no wildcard in advanced actions. You can filter drop-down lists on "click_" and only objects will appear then (in CP6/7) but you will still need a single statement by click box unless you group boxes click on a slide (impossible to group objects sitting on different slides).

  • Launch of Advanced Actions on a slide

    I use 7 Captivate and publishing as a SWF file.

    I have a test project with only a slide in which the user clicks on the two buttons in any order, and after the second button is clicked, a graph pops up saying that the user has completed the task. I have an action "on entrance" attached to the slide that will run an advanced conditional Action that will check if the variables are equal to '1' (the variables have been initially set at '0'.), and if so, the graph is displayed. On each button, I have a Standard Tip Action to assign each variable to '1 '. However, I can't the graphic to appear after clicking on the two buttons.

    It probably wasn't because I never "entered" the slide (since there was only a single slide) to run the on enter Advanced conditional Action?

    Indeed, you create a conditional advanced action triggered by buttons, which combines the standard and the conditional action. I posted the workflow many times on this forum. Here we go (again):

    First decision "always."

    IF Me is me

    Assign the v_one with 1
    ...

    Second decision "CheckIt".

    IF v_one is equal to 1 AND

    v_two is equal to 1

    View the chart

    The sequence is important!

  • Advanced action scripts - y at - it a variable that tells me which button is clicked?

    Lilybiri gave me some great tips on the use of conditional tip action scripts. Now, I have another related question.

    I have three buttons A, B and C. Each button performs exactly the same series of actions to hide everything on the page, but shows another group of objects depending on which button was clicked - that is, to display the Group A and Group B group C.

    Currently, I have a separate advanced action script for each button (in fact a lot more than three) because of this difference, then want to combine in a single conditional script. However, I can't understand how I would like to know which button was clicked.  In other words, I think that my conditional script should look like this:

    The condition "always."

    If 1 is equal to 1

    [Script to hide all]...

    Continue

    Condition 'has '.

    If MyButton is equal to 'A '.

    See the group_A

    On the other

    Continue

    Condition 'B '.

    If MyButton is equal to 'B '.

    See the group_B

    On the other

    Continue

    Condition 'C '.

    If MyButton is equal to 'C '.

    See the group_C

    My problem is that I don't know how to set or get the value of MyButton to perform conditional tests. Is there a system variable that returns the value of a selected object? I looked at all the variables, and I don't see one. Or y at - it another way to do what I'm missing?

    You probably can find with Javascript, but not with advanced actions. All the available system variables that can be used - there are more - are in a table that you can download here: System variables in Captivate 8 - Captivate blog

    I have several articles on the shared use of stocks. You apply the same instance of a common action several times and don't have that to indicate parameters, in your case these parameters will be for most groups and objects. I hope that stocks shared will expand more in the future. They have several advantages: given that you use multiple instances of the same action that they do not increase the file size as duplicate advanced actions. In addition, you have them in the library that makes management much easier.

  • Advanced actions - trying to show a text caption

    I have a slide with 5 legends from intelligent forms, and 5 click boxes. All 5 active forms are hidden. I have 5 variables, which are set to zero. When a click box is clicked, the corresponding chip shows form and the value of the first variable user is set to one. When another click, click on the corresponding box shape smart shows and the following user variable is set to 1. Each area of the click is configured in a similar way. I created 5 Advanced actions, and the action of success for each of the boxes click use one of 5 Advanced actions. The action for each click box looks something like this (I use generic names for this example):

    IF variable1 is equal to 0

    ACTIONS

    See the textCaption1

    Assign variable1 with 1

    Reading Audio sound.wav

    Continue

    It works very well and the corresponding smart forms are evidence as it should when each of the boxes to click is clicked on.

    But I have a comment text caption additional I want to show after all 5 intelligent forms are showing. I tried implementing a tip action that looks like this:

    IF

    Variable1 is equal to 1 AND

    variable2 is equal to 1 AND

    Variable3 is equal to 1 AND

    variable4 is equal to 1 AND

    variable5 is equal to 1

    ACTIONS

    See the feedbackTextCaption

    But even once all the boxes click user clicked (which must define each of the 5 variables to 1), the legend of notes text is not displayed.

    Can anyone help with a suggestion?

    @Sreekanth, which is not the right approach, because a user can click 5 times on the same box of click and see the final text caption. Only when you turn off an already clicked interactive object that can be used. Jay was right to choose five different variables.

    @Jay how you trigger this last conditional action? In which cases do you use? You explain that the first described action is triggered by the click box, but not what triggers the conditional action.

    I suspect that you will have to combine the two actions and assign them to each click box. This means a conditional action with two decisions:

    'Always' first decision needs the condition "If 1 is equal to 1", to create a simulated standard and must action be the text caption, set the variable to 1 and play the audio. I don't know why you added "continue?" If the boxes to click on break at the same time, do not add continue, let the playhead in the same place.

    Second decision "Checker" is conditional action you've written, check the values of the 5 variables, and if they all have the value 1 for display text in comments.

  • Can I use conditional and advanced actions on the same button?

    I'm fairly new to Captivate, but come from a flash background and I do of Captivate to do certain things, that I expected to be straightforward and a normal requirement.

    I want to create a screen with a number of interactive objects, in this case photos, it's the learner clicks on to display a text element.

    By clicking on the following image, the first piece of text is hidden and a second piece shown.

    There are 6 images/buttons which have to work in this way.

    However, I also want to determine if all the buttons have been used, as we force the user to view the entire slide before you continue.

    I can do the hide/show text and buttons, and I wrote a conditional action to check the variables for each button. However I do not know how and when to appeal to this action.

    I was hoping that in my Advanced action for each button, I could add in a call to the conditional action "record"variables", which would be very well fulfil this requirement, however this doesn't seem to be the case."

    I also animation/effects on the timeline before the images are on the meaning of screen I want to go back to the beginning of the timeline to use an event "on enter.

    I am surprised that this isn't something that people most need because while it may be frowned upon outside in the field of e-learning, disabled navigation is frankly not will disappear and working for a large corporation will be a must.

    If anyone can shed some light on this, or perhaps suggest a better approach then I'd appreciate it.

    Thank you.

    Of course, it is possible. This is the approach I explained (for previous versions):

    http://blog.lilybiri.com/template-for-reusing-script

    The models that I offered it, were invited to a lot of times and are used all over the world, which is funny

    I also have templates for CP6 and 7, but has stopped offering everything for free. And 7, you can have all the shares shared in a library that can be used as external library... just a tip: http://blog.lilybiri.com/new-features-in-captivate-7-dot-01

    Agreement on controls on effects for paths, please submit a feature request as many have already done to have the most control over the coordinate without having to change the XML file.

    It would be nice to have timed events. Jim Leichliter has a widget (only for the SWF) which allows some scripted events. The interaction of timer that can do as well, but is not very accurate because after that time there is always a lag of about 2 seconds.

    http://blog.lilybiri.com/events-and-advanced-actions tells us about the available events.

    Sorry for all these links, but advanced actions are my passion, since they appeared with 4. They are limited, all right, but I managed to convince many users to give them a try at different levels. Would love to train more users for this "point-and-click" approach that does not really need programming skills, but only a logical mind.

  • Advanced actions do NOT appear to work ONCE the user fills in a questionnaire?

    Advanced actions do NOT appear to work ONCE the user fills in a questionnaire?

    In my project, I have disabled the Quiz results slide and manually set the actions of success/failure to "go to" a customized results slide:

    pass-fail.png

    On results carts custom pass/fail (as well as all the slides that follow), I need to disable the playback bar so that the user cannot use the navigation controls. I have created a tip action to disable the playback bar and set it on every slide that follows the Quiz:

    showPlaybar.png

    The tip action fails to disable the playback on my personal results slides bar; but I know that the action does not work correctly because it works on all the slides that follow my personal results slides. This leads me to believe that there is something about the function "go to" success/failure that is causing my Advanced action not to function. Is there a work around for this?

    Just checked out, and it works for me. I combined the jump and turn off the bar reading a success and failure action:

    SuccessAction

    • Jump to drag the success
    • Assign the cpCmndShowPlaybar with 0

    FailureAction

    • Jump to slide fail
    • Assign the cpCmndShowPlaybar with 0

    Why you split? He was not even the need to create an advanced action.

  • A few Questions about the advanced Actions window

    Hello

    I have a few questions about the progress of the Actions (using the version of track CP7)

    1. What is the function of the action to "continue?"   Out of the peak action and advance the playback cursor?

    2. What does mean this comment "Nested calls to action advanced is a nice improvement."? Is the advanced decision at the top of a page of action tabs?

    3. What is the function of the option "custom" in the IF statement - "preform action if - custom", it doesn't seem to do anything for me?

    4. where can I get information about the timeline / playhead interaction with advanced actions, i.e. where the playhead is going again at the beginning of the slide. slide custom question - display button, e.g. verification of responses, comments - when all the objects are at the beginning of the timeline. I'm looking more for the read head of infromation functionality rather than how to implement this type of question.

    Thank you

    Donal.

    Continue: If an advanced standard action is triggered by a button, this will not trigger the playback head. If you want out, you can use continues. Continue can also be a choice in a conditional action, when one orders branching has nothing to special, but in advance. Continuous is also the "dummy" statement/command (this is the official name of a line in the dialog box advanced actions) If a statement has become unusable due to some reasons, it will be replaced by continue

    There is no nested call stocks advanced possible right now, one of my many feature requests. It would be sort of a subroutine that you can use over and over again, instead of having to create each time when necessary.

    A decision is one of the conditions to be an advanced conditional action. They allow to create more complex actions, as a loop or arrays are not possible. All decisions are executed in sequence and always.

    Custom: is a combination of or but it is rather limited, because you cannot use parentheses.

    I guess you'd better visit my blog if you want to learn more about the advanced actions.

    http://blog.lilybiri.com/

    I also did several Webinars on stocks advanced, last this afternoon (on the sharing of the actions) for Adobe. They are all available on request.

    Lilybiri

  • Use advanced actions to hide any object of a certain type

    I am building an interaction where learners click an image (button_puzzle1) to reveal a legend (caption_puzzle1). I'm creating a scale by which effect the button_puzzle1 skin button_puzzle1 and watch button_puzzle1a click. Then by clicking on button_puzzle1a will hide again the legend and show button_puzzle1. But there is no way to force the learner the subtitle, before they click on another piece of the puzzle, which opens another legend.

    So when the student clicks on another piece of the puzzle, I need some legend can show to be hidden before she reveals the related legend. For example, if the student clicks on button_puzzle1 to bring up the caption_puzzle1, then click on button_puzzle2, I need caption_puzzle1 to hide before caption_puzzle2 can be demonstrated.

    All the legends to sit on top of the other, so a work around would be to have the 'active' Legend pop up, but it is not a first Front tip action.

    Here is a screenshot:

    2013-03-13_2139.png

    Thank you!

    Thank you!

    Hi, you use CP6, right?

    It's my solution (take a look at the Youtube link):

    • All the legends group, will be the label of the Gr_Captions group
    • In each advanced action triggered by a click box, insert the statement 'hide Gr_Captions' before the statement "Captionx Show"

    Here is the link: http://www.youtube.com/watch?v=Sy09xPoP69A

    Lilybiri

  • Working capital and advanced Actions - Keep Alpha slidelets

    Hi all

    I have a question about the slidelet in combination with advanced actions. What I want to do is the following:

    When a user points to a specific item on my image, I want to set the alpha of everything that surrounds this item to 25% while keeping this element to 100% for the duration of the bearing (mouse over the rollover area).

    So I cut my image into different elements and use Advanced Scripting in the elements of specific bearing to say: on the overthrow, apply the effect-> image_surrounding_element-> Alpha = 25%.

    I do it for all images that are not part of the element that is subject to the substitution.

    However, here's my problem. I can keep the text in the rolling element very well for the time that I put. But when I rollover, the alpha Gets the value 25% but after a second, or 3 it of like the screen then resets and all alpha is 100%.

    How can I set the duration of the fast action to last as long as I want? Or at least so that the mouse away from the rollover area?

    Best,

    Frank

    Welcome to our community

    Personally, I would take the easiest road with that. I would like to size of the rollover area that is presented when you smile more basically to cover the entire screen. Can I insert a highlight box object and its size to be what you want the overthrow of sound. Then, use the option in the shadow of the outer part of the highlight box.

    There is no way I know to remove the X. However, I wonder if you tried what I suggested above if the X seems to be deleted because it would be at the edge of the screen.

    See you soon... Rick

    Useful and practical links

    Captivate wish form/Bug report form

    Certified Adobe Captivate training

    SorcerStone blog

    Captivate eBooks

  • How can you raise more than 1 Advanced action?

    I wonder if someone can answer a question very fast for me that I am struggling with at the moment
    I have 6 batteries of 16 images. I have the user select the name of the image that they want to show in each stack, and then I have a tip action that runs to display only the image that they have chosen. Currently I have 6 actions, one for each stack of images.
    What I have to do is to run every 6 Advanced actions when the user enters a page so that they see only the 6 images they have chosen on the previous slide. My problem is that I can't just run an advanced action upon entry of the slide (or a button or something else). Is it possible to combine advanced actions or to run more than one action from a single command? Or that requires a different approach?
    Thanks in advance for your help.
    James

    Hello James,.

    I'm a teacher also and was "seduced" by Captivate when I discovered its possibilities.

    Your situation is a bit clearer now, though... will have a few more questions later.

    First question: you can change the schedule for all the images "for the rest of the project. Then the image chosen on the first slide will be made visible by your advanced actions and will appear on the second slide etc. You're lucky, because in Captivate 5, it is possible to hide objects on another slide then where they sit really (hope you understand). So, if you don't need the images more, e.g. the third slide, you can create a tip on this third slide action to hide all of the images. It will be a very long standard advanced action, because you'll have to hide all of the images. So far you don't really store image that was selected on the first slide.

    Second question: to have the teacher to choose the images. This would mean that the SWF published for students is not the slide with the batteries? It is here that the situation is not yet clear to me. You could create 6 user variables, a set to be given by the teacher:

    • v_stack1 could get a value between 1 and 16 (you could also choose the name of the image, but he needs more typing and typo-risk) and this value would be chosen by the teacher
    • similar you will have values for v_stack2... v_stack6
    • you change the decisions in your advanced actions Image1 IF is equal to v_stack1
    • in this case, you will not have a second slide, but could trigger the tip action at the entrance to the first slide.

    You will need to tell the teacher how to change variables, which must be done in the Captivate file. But maybe this isn't the way you want to go? You want it to be possible for teachers who do not have access to Captivate? Next, you need to create text input areas (or a drop-down list if necessary) to fill in the variables. But the published file will remain the same for students, you see the problem? It takes more time to think about it, if you try to clarify or confiim my intuition?

    Lilybiri

  • fatal error when you access preferences, advanced actions, project preview and other functions.

    I get a fatal error when you access preferences, advanced actions, draft preview and other functions. I reinstalled, reimagee my machine according to different scenarios and may not get this problem solved I use version 9.0.1.320 is there a fix or a solution to this problem.  Thank you

    Try to update your PC version to 9.0.2

  • JavaScript advanced action

    I created a tip action that I called "showMe".

    Then, I tried to trigger JavaScript. I tried

    cp.runJavascript ("showMe");

    cp.runJavascript (showMe);

    and

    cp.runJavascript (cp.model.data.showMe.oca); (I guess).

    but they give just JavaScript errors.

    How to call and advanced action Cp 9 using JavaScript?

    The cp.runJavascript needs another "_self" argument, but it still does not work.

    The Advanced "showMe" action name exists in the IDE, not in the output of HTML5. The only thing that exists in the code is all JavaScript or cpCommands that make up the tip action, that is to say:

    CP. Show ("Something");

    cp.runJavascript ("someFunction () ', '_self'")

    cp.jumpToNextSlide)

    You are on the right track by using the "oca", but does not have the implementation. You have to find the item that has the specific property "oca".

    cp.runJavascript (cp.model.data.slideID.elementID.oca, "_self");

    If you have a button called 'cc_btn' which is configured to display the rest of the project, it would be:

    cp.runJavascript (cp.model.data.cc_btn.oca, "_self");

    It all depends on what is triggering the fast action. You will first need to obtain the id of the slide, once you have that you can browse the 'if' to get the item and property ownership "oca".

  • Hide advanced action does not work after that triggered the effect

    I have a pretty simple step action that does the following:

    Hide banner

    Apply motion effect to 3 SmartShape from right to left

    Cache: SmartShape3


    SmartShape 3 is essentially half a rectangle rounded, which acts as a banner with text. At the beginning of the slide, it is hidden and sitting almost out of the scene. When you click a button, it does the following:

    See the banner

    Show: SmartShape3

    Applies the effect of movement from left to right to SmartShape

    This gives the illusion that it slides in from the left. The reason why I had it sat a little on the scene at the beginning, is that the effect is slow, so this makes it speed up as it has less distance to travel.

    The idea is the action above in blue is triggered and the banner slide from the left on the stage. Another button is pressed and the Red action is triggered sliding off the stage. But once the motion effect has been run, it does not seem to hide, leave the end of the rounded rectangle visible on the stage.

    I tried to adjust the break lines in the buttons that trigger these actions further pushing them to the bottom of the timeline, but it has no effect. I actually expected to start the path and then hide the shape so fast, that you wouldn't see in fact a large part of the effect as when stocks advanced spear they are super fast.

    Am I missing something or is this just a limitation with effects using advanced Actions?

    You have a misunderstanding about the actions. All orders in a fast action are executed in sequence, but immediately. The effects also have a duration, you don't say how long you have applied.  Can you post a screenshot of the timeline? Have you checked the length of the path, is it enough? You do this using the same temporal effects. BTW, I often apply such an effect using micronavigation instead of applying it. In my last blog, you can see an example:

    More in a... hyperlink - drop-down Menu - Captivate blog

  • Video Autoplays despite advanced actions

    I have several videos embedded in a module, and each one is programmed to pause until the user clicks play.  But the video to the FIRST slide of the autoplays module, regardless of the advanced action related to it. (Note: this only happens when published as a swf file.) In HTML 5, it is very good, and in preview mode, it's fine.) The video is moved to the bottom of the timeline to avoid playing automatically. What is going on??

    Can give you more detail than "advanced action" related to the first slide.

    In any case: personally I never would put something "heavy" on a first slide in a course. Have you tried to insert a title slide or (short) Intro before the first slide? If the measure of progress is initiated by the event on entering this slide, the reason could be that the loading is not completely finished and that causes the action not to run as you want.

Maybe you are looking for