Tip action that run only once

Hello

Question: What is the best way to get a tip action to execute only once during the lifetime of an execution?

My script: I have a project with 80 slides in there to learn. Slide 10, 20, 30, 40, 50, 60, 70, 80, 90, 100, I use onEntry event to perform actions advanced designed for each of these numbers. Given that users are allowed to go forward and backward slide, slide 10-100 event are executed several times, depending on how much time users visit these specific slides. My question is, what is the most effective way to ensure that a tip action is executed only once. Say a user reached slide 10 and advanced action "foo10" is executed. If this user has decided to return to slide 10, I don't want to foo10 advanced action to be executed again.

My solution: I would create Boolean variables for each of the advanced actions. foo10 ... foo100. If the corresponding var bool is false, do not run the action, run another action assigned.

Question: What is the best way to get a tip action to execute only once during the lifetime of an execution?

Thank you.

If it was a success (for an interactive object) event, you could disable this object with the same action as the advanced conditional action. Using the system variable LastVisitedSlide will probably exclude not all possible situations. A Boolean variable is probably the best choice. Since you're on 9 Captivate, make sure to use shared instead of shares advanced actions, you will save time (and the size of the file).

Tags: Adobe Captivate

Similar Questions

  • While the loop within a box Structure runs only once a target FPGA

    I have a card OR cRIO-9012 RIO for the HIL system. I have a target FPGA file when I use a While loop within a while loop I use the box Structure to check a real condition inside I have the function of activation of the ports and selecting the analog and digital ports. But for my code the code runs only once on repeted times that we have in the LabVIEW environment.

    I also need help to optimize the code. I've seen people using While loop timed in the FPGA target I don't use in both cases.

    I've attached my FPGA with the Version of LV2012 file.

    Waiting for your comments.

    Thank you and best regards,

    Ganesha Moorthy

    You have while loops inside the structure to deal with a constant of false cable to the stop condition. These loops will obviously never stop so browse your outside while loop (containing the case structure) can never.

    This has nothing to do with the FPGA target, the same thing will happen in the development environment.

  • My new Publisher El 12 runs only once after restarting the PC - how to fix?

    My new publisher of 12 items, runs only once after restarting the PC and seems to work well. I did a "clean install" repeatedly (cleared Temp files, shut down all applications, including Norton Antivirus and then installed DVD after a clean reboot). I can launch organizer of 12 elements several times, but the photo that editor runs only once. After that, I have to restart the PC, and then I can run the Editor again, but once again, only once. I also first 12 items for video files - no problem, he launched several times. I see that Alfredo has a similar problem: How can I fix?... is it a bug of El 12?... Thanks for your help... k-paul

    Thank you very much Peru Bob... your statement works... of course, this stitching is 12 items of closing/out not really closes it (which is why I could not re - start it), so there's always a problem... I can live with that, but why would the program stops not when I close?... k-paul

  • The initialization Code: run only once at T = 0?

    Hello

    Is it possible to run some ActionScript only once at the beginning of the flash application?

    There are GIFs that I need to download dynamically from the server that once that will be used on the buttons. When we go to another scene and return, the GIFs are downloaded again.

    Thank you
    FG

    #initclip and #endinitclip must be applied to a movieclip. If this movieclip is on stage as part of the _root timeline and governing has played more than once, your code initialization, attached to the timeline of the movieclip would run only once.

    Anyway, there are some easier ways to accomplish what you want directly. for example, the following code in the conditional runs, at most once little matter how many times the frame is played:

  • Haw to find the element in the table that appears only once

    I have a table like this 2d:

    1 2 3 4 5 0

    5 6 2 4 7 2

    8 3 6 0 9 4

    5 6 7 7 3 2

    And I need to find items that appear only once in this table

    In this case, 8 and 9

    I also need this elements (row and column) position

    Are integers

    I tried to remodel the table and use the find but no result.

    Your best bet is to remodel a table 1 d do your seaching and use 'Quotient & rest' to convert location (index) in the table 1 d back to the index in table 2D. Use "Array Size" to get the number of rows and columns of the table 2D.

    The histogram only works on 1 d arrays.

    Or reshape a 1 d table. For each digit (0-9), use 'Search 1 D Array' twice. If the first 'search' finds a match (does not =-1), use the offset to start the 2nd search beyond the 1st index discovery. If 2nd 'search' returns-1, then one and the SAME time happens

    The index of the first 'search' to calculate the index (Quotient & rest") line and collar of the 2D array.

  • Getting the name of the Action that runs this script

    If I create an action in photoshop to run a script named "test script", how can determine within the "test script" what name of the action started to run this script?  I am writing a script to resize my images.  The scale will be determined by what Action ran this script.

    Example of

    Action names are 5 x 7, 4 x 6, 8 x 10

    Reproduced above action will run the same script, called "scale me."

    In "scale me ', the java code will determine that 4 x 6 started running" scale me. "

    "Level I" will go to the section in the java code to the scale of the image loaded into Photoshop for a 4 x 6 size.

    The reason for writing the code "scale me" in this way, is that I can keep only one script to resize my images.

    Any suggestion or help would be appreciated.

    Raymond

    I don't know of all average direct to determine the name of the action that began a script. You can find the name of the action highlighted / selected with this code.

    var ref = new ActionReference();
    ref.putEnumerated( charIDToTypeID("Actn"), charIDToTypeID("Ordn"), charIDToTypeID("Trgt") );
    var desc = executeActionGet(ref);
    var actionName = desc.getString( charIDToTypeID("Nm  ") );
    var actionSetName = desc.getString( charIDToTypeID("PrNm") );
    alert( 'Current selected action is: '+actionName+'\rin the action set: '+actionSetName );
    

    But it is not infallible.

    A better solution would be to set up your script to make it recordable action. The details are in the script as "JavaScript"resource guide. It you have that in place any action that registers the script you will store the values used. When the action is played again once you get these the app.playbackParameters calues. Image and layers of export files are two Adobe scripts that use a javascriptresource section.

  • the event structure cannot combine with other events and run only once

    Why it will always get stuck when I combined the 'new user add' event to the event of 'Login '?

    It works for me when I separate the two, but the 'Add a new user' button can work but only once for the structure above, program will be blocked on the second time that I press the button "add a new user".

    It has already been said, you must use that a single structure of the event and not 2. Also, avoid using local variables (better store data in a shift register and not in an indicator) how you do it, it can cause bad racing conditions.

    Actually here you just don't another data storage since you have a file. Don't store data file to the root of the C drive, you do not have write permission. Use the default data folder or the folder of the application.

    I have attached a simple example. I guess that's a work at home? Please make my account help: try to understand why your VI does not work and try to find a solution by yourself. Modify my sample and play with him. This is how you learn LabVIEW. If something is not clear, post here, and we can explain/help.

    Edit: has the 'connection' event, I don't check against whether the file exists or not. Difficulty of this part, gives too little practice.

  • Tip action to show only a previous button on a slide so the learner clicked on the button Submit on Drag and Drop

    I am a user of long date Captivate and have dabbled with advanced Actions and Variables, so know just enough to get me in trouble. Hoping someone can help me with what I hope is a simple tip action:

    I am currently using CP8 and created a training where learners click on a map of building to go to different "rooms" to complete an interaction drag-and - déposer a certain topic related HR. The problem is that some of my learners test forget what 'rooms' they have already read and will click on those they have already visited. I added a back button, so that they can return to the map if they made a mistake, but now they are able to leave the slide without completing the interaction drag and drop.

    Basically, I need to hide the back button unless the learner has already completed (for example, the user clicks on the button submit to) the Drag and Drop interaction, but I'm not sure how to set up. Can anyone help?

    Thank you!

    Hide the button back to begin with. A tip action can be triggered by an event the success and failure of the & slipped. I guess that you will need at least two commands:

    • View the "back" button
    • Go to the next slide.

    It seems the simplest solution. You can also ignore the slide D & D when they enter a second time, but then you will need a Boolean variable to be turned on/off by these same events and a conditional action on which checks this variable and immediately jumps to the next slide when it is set to 1.

  • Agent script - runs only once.

    Hi all

    I wrote a custom script agent that uses a file of DOS commands to run a powershell script that creates a text file, then type this file on the screen.

    The content of the text file is here:

    TABLE PT_GBES02_USER_COUNT

    START_SAMPLE_PERIOD

    Host.String.id = ukstrgbes02.peroot.com

    PT_GBES02_USER_COUNT = 410

    END_SAMPLE_PERIOD

    END_TABLE

    The batchfile BACK content: (PT_GBES02_USER_COUNT. BAT)

    off @echo

    PowerShell-folder e:\Scripts\CountUsers.ps1

    type e:\scripts\usercount.txt

    Content of the powershell script.

    $usercount = (get-ChildItem E:\PST-filtre "GMS-BlackBerryServer *.pst.db"). County

    Clear-Content E:\Scripts\UserCount.txt

    E:\Scripts\UserCount.txt Add-Content "TABLE PT_GBES02_USER_COUNT".

    Add content E:\Scripts\UserCount.txt "START_SAMPLE_PERIOD".

    Add content E:\Scripts\UserCount.txt «Host.String.id = ukstrgbes02.peroot.com»

    Add content E:\Scripts\UserCount.txt "PT_GBES02_USER_COUNT is $usercount".

    Add content E:\Scripts\UserCount.txt "END_SAMPLE_PERIOD".

    Add content E:\Scripts\UserCount.txt "END_TABLE.

    I created the agent and deployed the agent on the server. The agent runs the script once but not again. I need to run periodically.

    Every time I have stop and start the agent running the script once but again its not repeated. I do not also the agent Agents/hosts with agents screen

    but it is visible in the agent status page.

    I have written other agents of script (even if not using powershell) and they all seem to be normally repeats.

    The only messages in the log file are

    2012-11-09 09:25:36.934 ECHO VERBOSE [IncomingMessage-4444] com.quest.glue.core.agent.AgentInstance - starting data collection

    2012-11-09 09:25:37.293 ECHO INFO [IncomingMessage-4444] com.quest.glue.core.agent.AgentInstance - started data collection

    No idea what I did wrong?

    Hi John, it is resolved. It was the command line I used to start PowerShell

    I replaced the bottom and everything works fine now

    PowerShell - ExecutionPolicy RemoteSigned-NoProfile interactive non - command -.<>

  • producer consumer loop run only once?

    Hello here

    In my VI, the loop of the producer seems to operate continuously, but the loop of consumer only run once.

    I did not use producer/consumer patterns before, could someone give me some ideas why this is happening?

    My code is attached.

    Thank you in advance.

    Faouzi

    It would be the wrong choice to use a structure of the event into the loop of the consumer.  As it is configured, you must generate a leave mouse or mouse event enter on the graph of waveform for the loop of consumer to complete its first iteration.

    Remove the structure of the event.  you don't need to update a chart.

  • JavaScript to run only once

    I need to make several calls javascript from my Captivate 6 project, but anywhere, I put the javascript calls (OnEnter for a slide, OnSuccess for click box or the button), the javascript code is only run the first time.  It is a major wait up for me, and it makes no sense.  I can add a second slide and place a javascript call and it also works a long time that I did no other call javascript to this day.  It's SO frustrating, and unless I'm missing something, this is obviously a bug in Captivate. It is easy to reproduce the problem.  all you have to do is to create a new project and add the 2 boxes and add javascript both calls.  Then click on one, then the other.

    Huh, I got the flex project and put it on the Web server, and it works.  There must be a problem with it being in charge of Flex.  Sorry!

  • Timed loop runs only once with pulse train?

    It is a VI that attempts to drive a loop timed with a train of pulses 6608 OR map attached.  My timed loop never appears to run more than one cycle.  No error is reported.  I suspect it's because I'm not set up correctly with NOR-DAQ.  Any help would be most appreciated.

    WB

    Hi Wb,

    Take a look near the timed loop, I can see that the value of dt period is set to 1000. This period is used to scale based on synchronization source units. In this case, the clock contains 0.5 second pulses. Change the dt to a value of 2 has allowed me to see the timed structure to go as planned. See the image below for more details:

    I hope this helps. Let me know if this behaves that way even on your system.

    See you soon!

  • the animation code runs only once

    Hi all

    import bb.cascades 1.2
    
    Container {
        Container {
            layout: StackLayout {
                orientation: LayoutOrientation.LeftToRight
            }
    
            Label{
                overlapTouchPolicy: OverlapTouchPolicy.Allow
                text:"Initial Text"
                minWidth: 600
                animations: parallelAnimation
            }
            Container {
                overlapTouchPolicy: OverlapTouchPolicy.Allow
                layout: DockLayout {
    
                }
                ImageView {
                    overlapTouchPolicy: OverlapTouchPolicy.Allow
                    imageSource: "asset:///images/hotels.png"
                }
                ImageView {
                    overlapTouchPolicy: OverlapTouchPolicy.Allow
                    id:imgsource
                    imageSource: "asset:///images/hotels.png"
                    opacity: 1.0
    
                }
            }
            gestureHandlers: TapHandler {
                onTapped: {
                    if(parallelAnimation.isPlaying()){
                        parallelAnimation.stop();
                    }
                    parallelAnimation.play();
                }
            }
    
            animations: [
                ParallelAnimation {
                    id:parallelAnimation
                    TranslateTransition {
                        id:translate
                        toX: -20
                        toY: -300
                        //duration: 1000
                    }
                    ScaleTransition {
                        id:scaletransition
                        toX: .2
                        toY: .2
                        //duration: 1000
                    }
                    FadeTransition {
                        id:fadetransition
                        toOpacity: 0
                       // duration: 1000
                    }
    
                    onEnded: {
                        console.log("On ended parallel animation");
                        translate.toX = 0
                        translate.toY = 0
                        scaletransition.toX=1
                        scaletransition.toY=1
                        fadetransition.toOpacity=1
                        //parallelAnimation.stop();
                    }
                }
            ]
        }
    
    }
    

    I made the image to translate into original poision in onEnded ParallelAnimation but its not working. The label is visible only after tapping the container again. And further taps plays not the animation.

    Please help me with this.

    use a sequential Animation:

    first run your ParallelAnimation

    then the following reset of translations

  • Transformation of Scripts that run only on the selected Tables

    I'm relatively new to Data Modeler, but found almost everything to be very intuitive. I'm now doing use custom transformation scripts to dynamically add custom DDL elements. I wrote a transformation script that adds a sequence at the end of my DDL trigger successfully, and I'm happy with the results. The problem I run into is that we have two different categories of tables that require slightly different sequence triggers, but as my model is set to the level of database, my transformation scripts are applied to all arrays regardless they come what schema. Do you have any suggestions on how to limit the tables which proceeds by a transformation script? I thought to add if statements to check what schema tables are coming from, but if I have a situation where I have two different tables that require two different processing scripts, but they are in the same pattern, how can that I manage that? Ideally, I'd like to just pick a table and apply a transformation script for this table individually. Is this possible?

    I work in a relational model with Data Modeler 4.0.

    to dynamically add items customized to DDL

    you need to check the custom of DDL in DM 4.1 features - "tools > rules and design transformations > Table DDL transformations"-DM 4.1 comes with example to generate tables of the newspaper and associated trigger.

    . I wrote successfully in a transformation script that adds a sequence at the end of my DDL trigger

    Data Modeler can generate the sequence and relaxation for you - you need to define the column as 'auto increment' / identity and set in preferences, you want "trigger" put in place. 4.1 DM added support for z/OS, DB2 LUW DB2 and MS SQL Server 2012.

    Do you have any suggestions on how to limit the tables which proceeds by a transformation script? I thought to add if the instructions to check the schema, the tables are coming, but if I have a situation where I have two different tables that require two different processing scripts, but they are in the same schema

    Well you need to sort it out on yourself - you can use classification types, dynamic properties user defined properties (in DM 4.1) or put paintings in various subviews or use the search feature (4.0.3 DM / DM 4.1 comes for example how to use the search results to create subview).

    Ideally, I'd like to just pick a table and apply a transformation script for this table individually. Is this possible?

    Here is an example of how get selected tables:

    appv = model.getAppView();
    dpv = appv.getCurrentDPV();
    //check there is a diagram selected and it belongs to the same model
    if(dpv!=null && dpv.getDesignPart() == model){
     tvs = dpv.getSelectedTopViews();
     for(var i=0;i
    

    Philippe

  • Is there a tip action that will open and close the table of contents?

    I like that in CP5, Adobe has allowed users to change the icon associated with opening and closing of a Table of contents in layers.  Having said that, unfortunately, they show if small, I don't see what I created.  So, I was wondering, is there an advanced action or an action script that I could assign to a button that will allow my users open/close the table of contents?

    Thoughts?

    Eric

    I created a quick and dirty AS3 widget that can be used in Captivate 4 and Captivate 5 projects to open / close a table of contents in overlay with your own button mode.

    http://www.cpguru.com/2010/10/14/free-TOC-button-widget-for-Adobe-Captivate-4-AS3-and-Adob e-Captivate-5.

    Have fun; (o)

    / Michael

Maybe you are looking for

  • SL510 cannot upgrade processor

    Hello I just got a second hand SL510 the model is 2875RG with T4400 2 GB ram DDR3 I update successfully ram to 8 GB (2 x 4) as well as the DVD - RW with a Blue Ray combo player BUT when I tried to upgrade the processor P8700 laptop when I press the p

  • Kodak ESP5AIO printer ink cartridges ok but print very faintly

    Printer ink cartridges ok but feel very low, troubleshooting says everythings ok. Any ideas?

  • Reinstall the audio device

    Computer says I have no audio device and that I should reinstall.  Where it is and how I reinstall.

  • Losing files encryption ranging from NTFS to FAT32 or FAT16?

    I was wondering if encrypted files created on NTFS formatted drives lose encryption if moved to FAT32 or FAT16 formatted drives?

  • TSR HP MediaSmart TV does not

    I have a HP Pavilion dv7 Notebook PC that was given to me in working condition.  The listed warranty start date is 17/04/2011 so I know he's not that old.  I think that I am always active on Windows 6.0, well until recently.  From my understanding, W