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.

Tags: Adobe Captivate

Similar Questions

  • 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.

  • 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

  • Captivate 9 corrupt conditional Actions

    One of my co-workers recently updated to Captivate 9. When it opens files created in Captivate 7 and 8, they view, edit, and preview well. But once she saves them (convert to Captivate 9) all conditional actions get deleted. They are from the Cp7 or Cp8 conditional actions convert all in stock Standard. (If) conditions and the other information are lost, and all sub scripts get pushed in a standard action column. All variable assignments are also hidden.

    If someone else hit this problem and if so, is there a solution? I have over 200 different courses spanning four languages. I can't afford to have 9 Cp corrupt all the.

    It is everywhere in this forum, you must have missed it. A fix is available,

    You can google for the hotfix in Captivate 9?

  • Advanced conditional action does not work when I add the second condition

    I use CP 8. I can't understand why I'm running on this problem. I have a series of If-Then conditional actions, but I am running into problems. I narrowed down it to this problem.

    It is a simple check box that must show either the box or not.

    Action1.jpg

    As long as I have only one condition, it works fine. As soon as I add the second condition, it stops working.

    Action2.jpg

    Any suggestions? I appreciate the help!

    Rick and I tried to explain that a conditional action is always executed completely. This is the reason that the second decision has been reset what had been done in the first in your first question. I have a lot of articles on my blog where I point out that bad sequence in the decision (or) is causing most of the problems with conditional advanced (shared) actions.

  • How can I get the action to hide the table of contents to work as part of a conditional Action?

    GOAL: when a user takes the Quiz and fails, I wish they were able to get back underway and reviewing the materials before taking the quiz. As noted in other discussions, I have created actions advanced conditional and standard to achieve this:

    • Quiz results Slide Property executes the standard action "ResultsSlideVisitedAction", affecting a variable (AssessmentVisited) to 1, an indicator that the result slide has been visited.

    ResultsSlideVisited.PNG

    • If a user clicks the Retake Quiz button, instead of going to a "knowledge management", a quiz question classified early in the race with zero points, it goes to the first real quiz question. The slide to check knowledge runs the 'ExcludeKCAction', a conditional, looking to see if the result slide has been visited, which means that the quiz taken. If so, he jumps at the 1st question of the quiz slide.

    KCExclude.PNG

    • I changed my Quiz message fail to tell the user to click the button Retake (which works fine) or navigate using the table of contents to review topics and then resume the quiz. The problem with this is that if a user uses the table of contents and gets to go to the slide to verify the knowledge to conditional action, they are sent directly to the Quiz.
    • So, I took a different tact and decided to ask the user to use a "Back in the race" button to review the course and then resume the quiz. Because you cannot add buttons to the slide of results, I created an invisible button to reset the AssessmentVisited variable to 0, so when the GET to the verification of knowledge, they are not sent for the quiz. I did this by adding the image on a button, and then by superimposing an invisible rectangular shape on top of the button image. This allowed me to add advanced invisible form actions. It worked!
    • The last thing I want to do is to hide the table of contents, so there is no chance of the user to return without resetting the variable. I tried to add the action to hide the table of contents, but it doesn't seem to work. Is this possible?  I tried to move the TOC to hide as actions of 1st, 2nd and 3rd and sill does not. Here is a screenshot of the conditional action that runs when a user clicks on my return to the button a course:
    • ReturnToCourseCondition.PNG

    I appreciate any thoughts on a solution to hide the table of contents as well. Thank you.

    Hide the TOC works only for OCD in overlay, you use a table of contents separate?

    With respect to the Score slide buttons, you make it very complex, it is possible since version 6: buttons on Question/Score 6 Captivate Slides?-Captivate blog

  • As part of a conditional action glow effect

    I have a glow effect that is a decision of a tip action blocks. After the object is lit, I want that he stop glowing and return to its normal state. Is this possible?

    Hi Jay,.

    I guess you try ApplyEffect action with 'ColorEffect-> SetGlow' and checking output swf. Please correct me if I'm wrong.

    Effects that start with the prefix 'set' in the category 'Effects-> ColorEffect' will be in effect at all times. So in your case, the glow disappears not the legend.

    Please change your conditional Action advanced by changing "ColorEffect-> SetGlow' as 'filters-> Glow.

    Please change the action as ApplyEffect ObjectName Glow

    When you click the button, effect will be applied on the legend and the glow disappears after a while. Let us know if it solves the problem.

    Kind regards

    Alexis

  • Variable/conditional Actions and a table of contents slide

    The Adobe eLearning Summit, I sat in class Advanced Action Joe and Lily, and I saw how we could add a checkmark (or indicator) to a table of contents slide.  I should take better notes, because I'm working on it and not get anywhere.  My logic may be simple.  So here's what I did.

    (1) I have created a user for Chapter 1 (v_chap1) variable and set it to 0.

    (2) on the 3 blades that make up chapter 1, I have an exit Action on where v_chap1 is incremented by 1.

    (3) on the Table of content slide, I have a hidden check box (named: check mark).

    (4) the box is controlled by a conditional action where if v_chap1 = 3, then show the check mark.

    Of course, it did not work.  I place the variable in a text on the blade of my OCD caption, to see if he could increase and it is not, it remains at 0.  So basically I'm stuck at step 2.

    Any help would be appreciated.  I'm on: v6.0.1.204

    It's crazy to get me to explain as well advanced and shared actions within an hour. Have a 6 hour workshop ready where this kind of use case is one of the subjects, but never have the opportunity to do so. Too bad...

    Begin to wonder if online training would attract enough participants? Suppose not.

    Preparation of a book of recipes for advanced actions, and this will certainly be one of these use cases. Problem is not the content but the format of the book and distribution, this is where I'm totally stuck.

    I have this model TOC ready for 6 and 7, but I offer it for free any more as I did for CP5 and 5.5.

    Take a look on: http://blog.lilybiri.com/template-for-reusing-script

    And my blog has a lot of use cases.

    Some tips: never use an action on the release, see: http://blog.lilybiri.com/events-and-advanced-actions

    Lilybiri

  • Help conditional Action.

    Ok.. so I found a video on creating a conditional action on ADOBE TV... Excellent. However when I get to the part where I apply it to a button I encounter THIS problem.

    wtf.jpg

    ADOBE TV video is on the left... my screen on the right. As you can see, it applys the conditional action to the button using the 'ACTION' of the object properties section, but when I look for the same 'ACTIONS' menu in my CP7, apparently does not exist.

    More Grrrrr...

    Same question: How can I request a conditional action to an object such as a button... If I insert an object "button... How I bind it to a text field?

    PS. I tried with just a 'button', but that didn't work either.

    You can find the settings for captions to show lower in the properties panel, under 'Options '. (Assuming that Captivate 7 has the same general layout than previous versions.)

  • 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

  • Problems of Windows 8 with Action Center

    Greetings,

    I use Windows 8.
    I have problems with my services of Action Center, which denies my access to manually turn on Windows Defender, a long with error code 0 x 80070424 firewall.
    Earlier my wscsvc services missing actually, but I found a thread that allows me to re - import return.
    One thing I'm afraid however, wscsvc.dll file could be a version of Windows 7 - I'm not sure.
    Anyway, after getting the file back wscsvc, I am able to run Windows Defender. However, the option that allows me to turn on and off the center of the Action seems to have disappeared. And I still cannot turn on my firewall manually.

    I found some malware on my computer earlier and he was able to successfully get rid of them with Malwarebytes Anti-malware, I guess this is one of the reasons why wscsvc was missing.
    I would like to ask for help on how I could solve this problem. Thank you very much!
    Cara
    PS: I found a few posts on restoring my registry with the CD thing: but I don't know how since I don't have a CD of WIndows 8. (my computer has been pre-installed with Windows 8, and the CD only I can find the ASUS driver CD or anything...)

    Greetings,

    Then I did the scan, but he can't find anything...
    So, I tried to scan my computer with Malwarebytes Anti-virus and tdsskiller and aswMBR and esetsmart... I seem to have got rid of the virus, and after restart twice Windows Defender works again, after his auto-scan, firewall is back to normal again.
    It's really weird and hope everything goes well with the computer more...
    anyway thanks a lot for your help and your time!
    Cara
  • 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

  • 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

Maybe you are looking for

  • How can I see a Firefox window is in private mode

    Hello so I think that the new design is very easy on the eyes, I finance a gap I've had in previous versions. I often open windows, some are in private, some in normal mode. Not always, I remember what window that was. In older versions, private mode

  • HP ENVY x 360-m6-aq005dx: Downgrade from Windows 7 Ultimate.

    Hi guys. I recently bought the HP ENVY x 360-m6-aq005dx (P/N W2K41UA), which is OEM with Windows 10, I would like to change to Windows 7 Ultimate and I want to know if the drivers Windows 10 works with Windows 7. I'd appreciate your help. Your Erick.

  • Whenever I have the same log file opens in a window of windows Explorer

    I'm running Windows XP Professional on a computer Dell laptop, whenever I connect to my account on this computer, a windows Explorer window opens to the folder C:\Program Files\Microsoft. I close this window, and the next time I login it opens again.

  • I reinstalled Windows XP. How long will it take me to download and install SP1?

    Can you please HELP me On a three days a go, that I had installed XP Home Edition, not something I want to do again, but I had to. My only concern is that the last time I have done that I had to wait three months to get the service Pack 1. It will ke

  • How to uninstall a program that says that's not exsist?

    I'm trying to uninstall a program that will let me out a pop up, but it tells me that the program doesn't exsist and the pop up is still there. I tried to restore my computer, but it doesn't have a date of restoration until after the program has been