Defined by the user variable and conditional actions

Hi all

I use 6 Captivate on a Windows machine and tries to create a scneario where the user try to break the code on a safe. I have an image of a standard numeric keypad 0-9 and an additional 'enter/submit' button and have click boxes assigned to each digit.

What I want to do is allow users to have unlimited attempts to break the 4-digit code and open the safe but I only want them to discover if they are successful or not when they hit the Enter - key, but I hit a brick wall when creating actions in order to identify the correct numbers is entered in the correct order.

As an alternative to this method, is there a way to capture the choice the user four-digit in a variable and then test if the variable resultuing score is correct?

Which makes sense for what I want to achieve?

Thank you

Simon

Of course, this can be done by JS, but it is also possible with advanced/shared actions. Since you're the COP6, joint actions are excluded. Here are some old articles that explain the use cases similar to what you want:

Sequence checking - Captivate blog

Create a keyboard Simulation using advanced Actions - Captivate blog

Tags: Adobe Captivate

Similar Questions

  • The Template Variables and advanced actions

    I created a template to 8 Captivate, which includes several variables user and advanced actions (the model was created with Captivate 7.)

    When I create a new project from the template, Captivate automatically creates duplicates of all the variables user and advanced actions changing the names slightly (add numbers at the end). The thing is now I have twice as many actions and variables, and Captivate does not allow me to delete the shares referenced by the model. How to avoid this?

    Is it possible to return to the original set of variables user and actions on my project? Thank you.

    The upgrade often cause this kind or problems. Normally, you should be able to easily remove CP8 variables, but of course, I do not avoid upgrade especially when the characteristics have changed as is now done with stocks shared in CP8. I agree that it would be easier if the upgrade still worked smoothly, but learned after so many years with the software that it is rarely the case.

    The case you describe is perfectly suited for common actions, I even used it as an example in an online seminar I did (always for CP7) and definitely want to show it again if I ever get the chance to make another or provide training. Creating a library with shared actions that you can use over and over again now is no longer a daydream. No need for a model reuse advanced actions.

    Lilybiri

  • Do not advance after incorrect answer quiz (quiz uses the user variables to show the wrong answers)

    Hi all

    Long time lurker, first time poster. I hope someone can help me.

    After watching this excellent video about adobe captivate blog "so what were the right answers in any case" I created a quiz with user variables and conditional early action. It displays a red x next to each question answered correctly at the end of the quiz.

    • I created the variable user for each question to a value of 0. On an incorrect answer, the variable would be set to 1.
    • At the end of the quiz is a blade that question and shows a red cross next to each question with a variable set to 1. uses conditional action that is triggered 'upon entry.

    It works, but my problem is when I saw the quiz (in the browser or SWF), on an incorrect answer, the legend of the failure appears but does not really advance the question when I click anywhere or press o. It works well on the correct answers.

    Can I sovle this by adding a next button, but I'd like to understand what I'm doing wrong.

    • Using captivate 6.0.1.240 (copy in box)
    • Windows 7
    • images on the quiz properties and conditional action below

    Any help appreciated.

    Concerning

    Jacob C

    quiz properties.JPG

    conditional action.JPG

    I tested this workflow on 6.1.319 and it works fine. If a little guess in the wild... No 6.0.1.240 around at the moment. Seems strange, because a simple action like your Assign action should normally release the read head. But of course, it's a question slide and they do not always behave as expected. Could you try to replace the action of the beneficiary by a standard tip with 2 statements, like this action:

    • Assign the var_question_1 with 1
    • Continue

    And please, let me know if it works? This could be a difference between the two versions, but not sure at all.

    Lilybiri

  • What is the best way to create the USER variable in BI applications?

    I just installled BI Apps and try to integrate EBS R12 with OBIEE 11 g

    We have the USER variable that is already defined in the RPD to BI applications.

    In the security context init EBS block, I need to set the USER variable, but when I would define it it... He said * 'USER' has already been defined in the variable "authentication." "" USER. "

    What is the best way to create the variable USER security context of EBS init block?

    (1) remove the existing USER variable and then set a new (in this case, all the places where the variable USER is getting used to the RPD would become < missing >)
    And told me that he shouldn't do.

    Let me know how it is possible.

    Thank you
    Ashish

    Disable the existing Init block and then double-click the USER variable and press NEW to create the new Init block

    Thank you

    Published by: Srini VIEREN on May 1, 2013 16:18

  • Variables, FPGA, defined by the user and SoftMotion 2012 + NOR 9505

    Hello

    To http://forums.ni.com/t5/Motion-Control-and-Motor-Drives/Softmotion-and-NI-950X-Module-Compatibility/... Nathan says:

    NathanK wrote:

    The glue code that connects Softmotion on FPGA LV code RT is called 'the axis interface. The version of the interface of the 2011 Softmotion axis necessary creation screw RT that exposes certain capabilities to Softmotion.

    ....

    Improvements have been made in 2012 Softmotion who has removed the requirement to write RT live. Disclosure for the FPGA happens rather on the Variables (UDVs) user-defined. It is also possible to create a kind of axis 9501 for configuration of the module as well as an axis UDV generic for other completely custom 950 x modules or axes. It is not a specific example for the 9505 yet.

    This caught my attention, as I'm trying to develop a system using LabVIEW SoftMotion 2012 and the NI 9505. I'm curious to see if there are alternative methods to write my application.

    Where can I find more information on this 'generic UDV axis' and how to implement a? Nathan says "is not a specific example for the 9505 yet", but there are examples for the other modules - how similar/different are these modules from the 9505, and it involves a lot of effort to bring examples of the 9505?

    Thank you!

    Hi JKSH,

    I have some relevant information that it is request that may be useful:

    Working with Axes Variable defined by the user (NI SoftMotion Module)

    Resource binding dialog box (NI SoftMotion)

    Configuration OR SoftMotion Axes (OR SoftMotion Module)

    Example that mentions of Nathan is the drive Stepper (9501) .lvproj (material Input and Output"Motion Control" NI SoftMotion"Device Specific" NI 950 x"OR 9501), I would take a peek at this on use of the UDVs.

  • Sharing Variables defined by the user through projects

    Hello

    I wonder if it is possible to share Variables defined by the user between projects. What I have in mind, is that I would like to have my user defined Variables configured in a central location and then insert them into my projects as variables bound so that they update automatically when I change their values. For example, I define a variable named ProductVersion , that has the value 9. Then I insert this variable in all my projects as a bound variable. After 2 months the product version changes was 10, so I change the value of the variable at 10 to the place where it is stored and it is automatically updated in all projects. Is it possible somehow? I'm new to RoboHelp and I find no answer. I tried the solution for a while using the product on the Internet without success. I even contacted Adobe Support and they redirect me to this forum I used help and manual before and how they deal with user variables was quite simple.

    Hello

    Unfortunately RoboHelp does not offer a way to let this, at least, is not directly.

    However, I think I found a way to get there, the variables are stored in a file named rhvariable.apj. So what you could do is to add this file as a file of luggage to each of your projects that will share variables.

    Now, you would create a shared location, but also a new category in your resource manager. This will create a common location to store the file apj.

    Add the file of baggage to the location. Repeat for all the projects that share variables.

    Now, when the variable is changed in any of the project participants, it should be to update the shared location and you can achieve the goal.

    Note, however, that although you'll get what you want, it will be always open each of the participating projects, synchronize the APJ file and generate the output in order to to refresh all. No way, I am aware of escape that.

    Cheers, Rick

  • Can I get several variables defined by the user in a slide?

    I used the variables defined by the user in the past to collect information on the results of the quiz, as well as for the certificate of quiz.  I would like to re - use variables in a few areas.  in my project, a slide invites you the user name (variable, I created), second will prompt you for the user ID (variable, I created).  I would like a third screen that reads 'Confirm your previous entries', and I want to show him the two variables.  I see only one.  Is it possible to get them both to display?

    I also want to re - use both in the quiz at the end certificate.  If I change the certificate in Flash widget, will be the two variable display?

    This quiz brings to me by email (we have no LMS).

    Any suggestions?

    Cyndi Nagel

    Hi again

    You reduce the screen shot before you download? You are right. It's barely legible.

    If the variables are inserted into more than a legend, double have you checked the timing? Maybe something is pause the slide before one of the legends has a chance to appear.

    See you soon... Rick

    Useful and practical links

  • Variables in the user - PDF and email

    Hi all-

    In my presentation, I have a learning journal where users to answer several questions - answers are stored in the form of user variables and subsequently displayed in a summary screen.  I would like to introduce the possibility of having this summary form available to download in PDF format well formatted or to receive the table of contents by e-mail.  But I am running into a wall in the measure of how I would accomplish that.  All the resources that you all could direct me to?

    Thank you!

    Captivate currently does not have this function.  Your only hope is to find a clever programmer who has created a widget that has done this.  But will need you a substantial budget to pay him for his time, and I'm guessing hoping for a solution which involved no that?

  • defined by the user is not displayed correctly the variables

    Hello, I use the variables defined by the user in Adobe Captivate 9. I am having the users to enter text in a text box entry, then view their entry on another slide. When I test the project the user defined variable displays only partially what I have typed in the text entry box. Someone at - it solutions?

    You must do so via the properties panel.

    See you soon... Rick

  • PCM - data import and fields defined by the user - model import or the XML API?

    Hello

    I am currently partially by an implementation of the PCM with my business and have created a few user-defined fields in the application companies. I have data from a form on the internet into a CSV file that I want then to eye-ball before loading of PCM.

    I created a copy of the "export contracts report template ' to include these fields defined by the user, but when I try to re - import the data, the user-defined fields are not populated.

    No one knows if the user-defined fields can be updated in PCM, and if so does to do through the functionality of the XML API?

    Kind regards.

    Published by: 914327 on February 14, 2012 03:39

    The simple answer is that the built-in import utility is designed to import a preset list of fields only and will not import your custom fields even if they are added in the import file, and you will need to use the API to import these fields.

    However, there are unsupported methods to import this data directly to the database, or to add custom fields as options available for import. I can tell you more about these methods on the forum offline if you are interested.

  • Com.oracle.httpclient.HttpRequestBuilder and http header defined by the user

    Hello

    In Java ME embedded 8, I would like to send an HTTP request containing an identifier defined by the user in the (X-header type) http header, using the com.oracle.httpclient package.

    HttpClient client = clientBuilder.build ();

    RequestBuilder (http://my_uri) client.build = HttpRequestBuilder;
    requestBuilder.setHeader (HttpHeader.ACCEPT, "text/plain");

    Here, I would like to add a header as user-defined value:
    requestBuilder.setHeader ("MyHeader", "myHeaderValue");

    It seems there only predefined values for the headers in the com.oracle.httpclient.HttpHeader class.

    Is it possible to add a header defined by the user in the application?

    Thanks in advance.

    Bruno

    Hi Bruno.

    have you tried myHeader = new HttpHeader ("MyHeader") Httpentete;?

    / Sergey

  • Display multiple lines of data collection defined by the user in an e-mail message

    I created a collection defined by the user that displays several lines of data. I created a custom rule and have linked this collection set by the user to this rule and configure an e-mail action. Variable Seveity, I have defined it in the rule to contain the column values. But it will only contain the first line of data. How can I display multiple lines of data in the alarm itself as well as the e-mail? Any help is appreciated.

    The example query in the collection defined by the user is less;

    Select the type, status, queuename, count (*) from PSAPMSGPUBHDR

    Union

    Select the type, status, queuename, count (*) from PSAPMSGPUBCON

    Union

    Select the type, status, queuename, count (*) from PSAPMSGSUBCON

    Result:

    Number of status type Queuename

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

    HDR profil_utilisateur error 1

    PUB                  PERSON_BASIC                    New                                 4

    PUB WORKFORCE_SYNC error 1

    -3 rows

    I have defined the variables of gravity and the alarm message is something like this; (It is fetching only the first row of data) how do I loop through to get all the rows of data and display it in the message of alarm/email (alert) action must be written of the groovy script code to achieve this goal? If Yes can you please provide me examples?

    Alarm message:

    "Request message queue is:

    Type: @UDC_type

    QueueName: @UDC_queuename

    Status: @UDC_status

    County: @UDC_count

    Thanks in advance

    JAI

    Hi Jay,.

    fine I could help you. Please mark the thread as "Answered" when the issue has been resolved and do not hesitate to open a new thread for questions.

    Concerning

    Jochen

  • Adding the user variable to test the result message - Captivate v4

    Captivate v4, Windows XP.

    I have a test that begins with the variable user to enter the name of learners etc.

    I created a 'pass' certificate that only those who are successful will see. (FYI... Allowing for the learner to print their certificate in the landscape of the Cap 4 is another challenge, not covered on this thread, but if someone has the free answer, please let me know).

    I wish that the learner to see on the slide of test results is their outcome variable name user at the start of the project. EG.g < Noel > Bravo, you have succeeded, where < Christmas > is the user variable.

    I see that you can "change" the messages of success/failure via the control box on the screen of test results... but how do I insert the user variable, so the message says something like... Bravo < Noel >, you spent...

    Noel (in hope)

    Hi Noel,

    Published articles on advanced actions, using variables. A few months I am blogging about Captivate (for the most part about 5, but some comments apply to the 4 as well). Here is the link to my blog:

    lilybiri s posterous

    I recommend you start with the two reviews/articles on the variables.

    I know you dislike the CP5 and are still working with CP4. The user in CP4 for advanced actions interface is somewhat awkward (one of the reasons why I really appreciate more CP5). But in your case, it should work. Will try to explain the steps (if I could just insert a CP - SWF here, sigh!):

    1. Make sure you have the text entry box to request the name and associate it with a user variable p.e. v_Name
    2. Create the collar and the failure of the text in the slide in score captions; You can insert the username, by inserting the v_Name as explained by the other user. don't forget to put in invisible by using the properties. To better explain, I tagged FailText and PassText legends
    3. Create an advanced action (see screenshot):
      1. Project, Actions, tab advanced; Actions Create a new action; the label of the action, e.g. TestScore
      2. Double-click Add statement, you will see a red "declaration", open the drop-down list by using the SPACEBAR
      3. Choose Condition, pane will fill with a whole bunch of lines which are the structure of a conditionial statement
      4. Click on the first red 'Select a variable' and use the space bar to open the drop-down list
      5. Scroll down to cpQuizInfoPointsScored and select
      6. Open the drop-down list "is equal to" using the SPACEBAR (may be it opens automatically) and choose ' greater than or equal to ".
      7. Open the drop-down list for the third (able to open automatically too) and choose 'value', you'll be able to type in the required minimum score (I put in '12') - your report is created
      8. on the third line, under Begin, select and open the drop-down list with the space bar, select action Standard, then choose show, in the object list, you choose PassText
      9. similar workflow after otherwise, Begin, but now show FailText
      10. You don't have to bother on the statements to add superfluous, they will not disrupt your script
    4. Go to the slide of Score, open its properties and change the action on enter to "Action run advanced ', choose the action you just created TestScore
    5. Try previewing

    Try it, Christmas, simple tip action can really extend the possibilities of Captivate - but are much easier to CP5, don't shoot me please!

  • Alarming - alarms defined by the user not appearing is not in history

    Hello

    I use the DSC module to create alarms.  I can successfully configure an alarm for a shared variable.  I use the alarms.vi of reading to read the current alarms.   I am able to recognize and to disappear which removes them from the list.  I also see a history of them when using the "alarm and event Query.vi.  Now, I do the same with user-defined alarms.  I have created alarm using the "user defined Alarm.vi value.  The alarm are displayed in the list (read alarms.vi).  I can acknowledge the alarm and it disappears from the list.  Now when I use the 'alarm & Query.vi' the user defined alarm does not appear in the list.  Only shared variable alarms are displayed.  Is this correct?  Is there a good example of what I'm doing?  The example of "User defined DSC alarms Demo.vi" does not give an example of reading historical alarms defined by the user of the database.

    Thank you

    Matt

    I removed the DSC module and re-installed which includes SQL Server.  That did the trick.

    Thanks for your help Caleb

  • function defined by the user in the package

    Hi all

    is it possible to return a value greater than 1 when you use the function defined by the user in the package?

    You must declare variables US1 and US2 as well. I also modified your code a little more assing numbers directly rather than using select.

    First of all,

    Your package body and specifications should have the same input parameter names. Your spec is seen cid and your body with ccid. Has changed.

    CREATE OR REPLACE PACKAGE creator.marco_function_clienttype
      IS
    
      -- 0 - not found
      -- 1 - small business
      -- 2 - corporate
      -- 3 - individual
    
       FUNCTION f_clienttype
         (ccid number
         )
         RETURN NUMBER;
    END;
    / 
    
    CREATE OR REPLACE PACKAGE BODY creator.marco_function_clienttype
    IS
    
    FUNCTION f_clienttype (ccid NUMBER)
       RETURN NUMBER
    IS
       us    NUMBER;
       us1   NUMBER;
       us2   NUMBER;
    BEGIN
       --officialtype = 2 - corporate, officialtype = 3 - individual
       SELECT ct.officialtype
         INTO us1
         FROM contragenttype ct, contragent d
        WHERE d.ID = ccid
          AND ct.cid = d.contragenttypeid;
    
       ---
       IF us1 = 3
       THEN
          us    := 3;
       ELSE
          --ENTERPRISETYPE.id = 910 - small business
          SELECT dd.enterprisetypeid
            INTO us2
            FROM contragent dd
           WHERE dd.ID = ccid;
    
          IF us2 = 910
          THEN
             us    := 1;
          ELSE
             us    := 2;
          END IF;
       END IF;
    
       RETURN NVL (us, 0);
    END;
    END;
    / 
    

    G.

Maybe you are looking for