Advanced Actions on Print Widget?

I am using Adobe Captivate 5 and this seems like such a simple thing but I can't figure it out:
On the second to last slide of my project I have a certificate slide with a print widget button that prints the current slide. I want to be able to jump to the final slide after the user prints. The item name of the print widget is Widget_3. Is there a way for me to say onclick of Widget_3 jump to next slide? I don't see an easy way to attach an action to this widget.
There's also the issue of the print dialog. It would be even better if the project jumped to the final slide when the user clicked OK in the print dialog rather than the jump occurring right when the print dialog pops up.
Anyone have any suggestions or a workaround? Thanks.

I'm not sure if you can use Advanced Actions for this purpose to be honest but I'm sure that Lilybiri will be pop in here and answer that for you.
If you have access and knowledge about Adobe Flash you could modify the Certificate widget. The source files are available and you could add some code that will make the widget send your project to the relevant slide once the printing is finished. You are able to "listen" after the print job status so you could make it execute a function when the print job is succesful (e.g. printed).
/Michael
Visit my Captivate blog with tips & tricks, tutorials and Widgets.

Similar Messages

  • When should you use widgets rather than advanced actions?

    HI,
    We have a few very complicated projects using lots of advanced actions and widgets that simulate laboratories.
    1/ Should you always use advanced actions if it possible OR
    2/ Should you use widgets when you reach a certain level of complexity ?
    Are there any differences in the field in terms of reliability ?
    regards Renovator

    Hi Renovator
    I'll take on the last thing you asked about. Differences in terms of reliability.
    Unfortunately the answer to that one is actually a question.
    The question? How long is a piece of string?
    Of course the answer to that is "it depends". Likewise, whether an Advanced Action or a Widget is more "reliable" depends on how the code was implemented. Folks can create Advanced Actions that don't work as they think they will. The same can be true of widgets. So I'd say that they are on equal playing ground when it comes to "reliability".
    Cheers... Rick

  • How to get an advanced action to respond to text selection in dropdown widgets

    I want to provide a user with a set of dropdowns containing text strings, and if they select the right combination of dropdown entries, give them a Continue button, and if they don't select the right combination then give them an error message and solution.
    The trouble I'm having is I don't understand how to get the action to read the widget selections. I'll go through a demo to show you what I'm doing so far.
    (Context: CP5, and JavaScript/programming ignoramus.)
    Objects in the demo
    My steps so far
    1. Set up two user variables
    2. Create two dropdown widgets (Widget1 and Widget2) each with labels "Right" and "Wrong" and point them to the two variables.
    3. Add a Continue button and a text box labelled Wrong, each set to invisible.
    4. Add a Submit button with advanced interactions to show Continue or Wrong depending on what is chosen in the widgets.
    The full set of conditions and actions are:
    IF vTestWidget1 is equal to Right
    AND vTestWidget2 is equal to Right
    THEN Show Continue
    ELSE Show Wrong
    The problem
    I run this and only ever get the ELSE response (i.e. I can select two Rights and the Submit button still displays the Wrong text box).
    Possibilities
    I'm missing some sort of formatting around the text?
    I need something like a submit button for each widget to prompt an update in their associated variables?
    Can anyone help?

    Thanks, for the help guys. However...
    I have triple-checked my variable naming and can't see any problem.
    What I did do was eliminate the "Choose" option from the head of each widget. The demo suddenly worked perfectly!
    BUT  that perfect outcome seems accidental.
    The demo seems to work ONLY when the Advanced Action's success conditions refer to the first entry on each dropdown. That is, if the dropdowns contain values Right and Wrong, IN THAT ORDER, and the Action looks for "Right" and "Right" then you can click Submit and it produces the Continue button.
    However, for example, if you reverse the order of the entries in one widget, so Widget2 contains Wrong and Right, and YOU DON'T TOUCH ANYTHING ELSE, then selecting "Right" and "Right" and clicking the Submit button produces the Wrong text box response.
    So the order in which entries are listed in the widget has an impact, at least for me.
    When you guys replicated my use case, did you replicate the Choose entries in the widgets, or did you simply have two top-level Right responses?
    I've uploaded my first demo, without any other changes, to Google Docs, if you want to check it:
    https://docs.google.com/leaf?id=0Bz2ZZ5mfN3BkMjc1N2U3ZjgtZWZmMC00MmVlLWE3Y2UtZTczMzM5ZjI1N GMx&sort=name&layout=list&num=50

  • Using widget variables in advanced actions

    Hello,
       Is it possible to access widget variables from the advanced actions pane? Specifically, I after users click a checkbox and, after this, click on a button, I would like to have something else appear. Is this possible? If so, how can I access the widget variables from within the advanced actions pane to use them in if statements.
    Thanks,
    Dan

    Daniel, this question is too general... Some widgets have associated user variables (you have to create them) that can be used in advanced actions:  TextArea, ListBox, Checkboxes, Radiobuttons are some examples. I have several examples on my blog.
    But if you are talking about controlling that variable for Checkboxes, Radiobuttons, TextArea widget, you'll need the extended versions created by Jim Leichliter and those are Flash only. If you do use CP7 and are now pointing to the Interactions (Checkboxes, Radiobuttons), who can also be used for HTML5 output, then you are stuck again. I have been pleading to have the extension by Jim included in those interactions, but my begging was apparently considered too exotic.
    Have a look at the articles in this list: http://blog.lilybiri.com/widgetsquestions-source-list
    Lilybiri

  • Widgets buttons no advanced actions

    help me...
    I've started a project for this company and they are using cp5 for theri e-learning tool, its my first time using it, although i have made other e-learning packs with CP2/3
    i wanted to use the fancy new widgets and have swf buttons on my menu page but I'm having problems with them not actioning and pausing the slide. I tired everything but they don't seem to jump to the correct slide, or pause the slide.
    There is no advanced action option in the widget so I can't command them that way and when I hit the back button the the hold movie play with no pauses at all...
    what wrong with it any ideas.
    JSP

    Hi,
    I think i need to understand how button widgets pause a slide before it continues, I have a next button on my slide and its a flash version from the widgets panel. just a standard button on from captivate 5 library, but when i go into the options to say on click go to slide whatever it doesn't pause the slide and there is no way to adjust the pause on the button. On a normal button you can just add advanced option to progress when the delegate click or to hold until they do so. but here we have no such options
    so all I need to understand is click button to move forward - not automaticly- and when i go back click button to move forward again not play all slide until then on
    jas.

  • Advanced Action works 2 times and stops working

    Hi Everyone,
    I'm creating a Captivate 4 (4.0.1 Build 1658) presentation of a simple LAN setup with 2 hosts.  I have a caption showing setup parameters for the hosts (IP and Hostname) and a dropdown box allowing for selection of which host to configure parameters in the upper right (screenshot below).
    My advanced action executes when the submit button next to the IP field is clicked (Host Name will be next once I figure this little issue out). It checks which host is selected in the dropdown widget and assigns the IP address (HostIP) to the respective host.
    As the subject states, this works 2 times and then stops working.  Here is the code:
    Check If ( HostSelection is equal to Host 1 )
         begin
              Host1IP := HostIP
              rdcmndGotoFrame := 20
         end
    Or Else
         begin
              Host2IP := HostIP
              rdcmndGotoFrame := 30
    end
    The rdcmndGotoFrame assignment seems to be the only way I can reliably pause the presentation after the button is clicked.  Not sure if this is contributing to the problem or not.
    I've done this type of thing before but I can't figure out why this isn't working.  Any help would be greatly appreciated.

    Hello,
    To keep the playhead from moving on, use the expression:
    rdcmndGotoFrame = rdinfoCurrentFrame -1
    Sometimes the -1 is not necessary, you will have to check yourself. I do not know why you choose the absolute frame numbers to go to. And I do not really catch the issue for the rest.
    Lilybiri

  • How can I display the elapsed time of the course using Advanced Actions in Captivate?

    I have a Captivate course which is approximately 35 minutes in length. On each slide I would like to display to the user, the current elapsed time.
    EXAMPLE:
    25/35 minutes complete
    The 35 would remain static, so I have been working with the elapsed time system variable in CP: elapsed:$$cpInfoElapsedTimeMS$$
    I can't seem to get the variable to properly display the elapsed time in minutes, rather than miliseconds. Attached is a screen shot of my advanced action.
    Can anyone provide guidence regarding how I should structure this differntly?

    I talked about that Timer widget in that blog post and pointed to another one:
    http://blog.lilybiri.com/timer-widget-to-stress-your-learners
    If you are on CP7, you'll have this widget also as an interaction, which means it is compatible with HTML5 output. Amd there is also an hourglass interaction, with similar functionality but... did not blog about that one
    PS: Check Gallery\Widgets to find all widgets. Default path is set to Interactions

  • How can you trigger more than 1 advanced action?

    I wonder if someone can answer a very quick question for me that I'm struggling with at the moment
    I have 6 stacks of 16 images. I have the user select the name of the image they want to show in each stack, and then I have an advanced action that runs to show only the image they have selected. Currently I have 6 actions, one for each stack of images.
    What I need to do is to run all 6 advanced actions as the user enters a page so they only see the 6 images they have selected on the previous slide. My problem is that I can only seem to run one advanced action upon slide entry (or from a button or anything else). Is there a way to combine advanced actions, or to run more than one action from a single command? Or does this require a different approach?
    Thanks in advance for your help.
    James

    Thanks Lilybiri and RonWard,
    I guess I could have been clearer in my question.
    I'm using Cp5 and to give you an idea of what I'm doing I've pasted an image of the slide I'm playing with below.
    Each image you see here is actually a stack of 16 images that are hidden on slide enter. There is a combo box under each stack that allows the user to choose the name of the image they want to use, and the button triggers an advanced action that shows the image that has been selected.
    Ultimately what I intend to do is to move the combo boxes to the previous slide, and on slide enter only the 6 six selected images will be shown. I'm then going to use a drag and drop widget to create a question about of all of this. The teacher will select which 6 images are relevant to their students, enter some information (definitions, quotes etc) that are related to each image, and the students will have to drag them to the correct image / icon.
    So... I've created 6 advanced actions, one for each stack of images. (I suspect that was my mistake).
    I've attached an image of the action. For each Action there are 16 parts to it. One for each image. You can see here that the action is fairly simple. It just checks the variable that comes form the combo box, and if it has been selected, then it shows the appropriate image. If not it just moves onto the next part of the action which checks for the next image being selected.
    There is one action for each stack of images - so 6 actions. If there was a way to combine them it would be very helpful - but I'm suspecting that's not possible. Alternatively if there was a way to trigger all of them together that would work - but again I don't think that's possible. So what are my options.
    Finally, and here's the biggy that I don't think can be done. As I eluded to above. The idea here is that a teacher will set this up and a student will then complete the activity. Is there anyway for the teacher, without Captivate, to select these images and enter some other variables, and have that information propagated across a network so many students can use the project with the variables the teacher enters just once?
    Thanks heaps for your help. This forum is great. I'll spend some time reading the blogs mentioned also. I'm so thrilled that Captivate is finally letting me do some of the elearning things I've wanted to do for years. I'm a teacher by training and now consulting and building resources for schools.
    Thanks again
    James

  • Fill in the blank and advanced actions

    Hi everyone,
    I'm wondering whether this can be accomplished with fill in the blanks standard quiz question or whether I need use Advanced Actions.
    I have a graphic of a form that needs to be correctly filled out with specific values. There are multiple fields on each graphic/slide. I want all fields to be filled in correctly to get the question (slide) correct. I also want to be able to adjust to fields to have an invisible border and no inset so they are invisible on top of the the graphic.
    Is this possible using a standard fill in the blank question slide (I couldn't really figure it out) or is this something that I should be looking at Advanced Actions to accomplish? If Advanced Actions will be required, does anyone have an example?
    I appreciate the assistance!

    Hello,
    With the default FIB you are a bit limited especially concerning the field to be filled in. Advanced actions will give you more control. Would need some more details, but I did blog about constructing all kinds of questions. Here is one link to a post that has a FIB question:
    Extended TextArea widget for custom questions
    This will not be exactly what you are looking for, but perhaps give you some idea about what is possible. Are you familiar with advanced actions?
    Lilybiri

  • Display selection of user variables later on in project - can't get advanced action to work

    Hi all,
    I'm working on a sales training with Captivate 5, based on PPT. I want to do the following, but can't figure out how to design the advanced actions to do it:
    The learner is asked to choose 1 of 3 products he wants to work with (ok, that's easy).
    For that product he's asked to provide 10 features in TEBs (so far so good, 10 user variables created for each feature).
    As a next step, he needs to choose the top 3 features with which he wants to work further. The chosen 3 display a check mark when the respective clickbox is clicked, when he chooses the 3rd, a 'done' button & a caption 'click here...' appear. Advanced actions working ok, see below what they look like. If there's an easier way to do that, please let me know - took me hours to get this to work!
    One issue I face is, that I don't know how I could allow the user to change his choice, i.e. 'un-check'. Currently, checked is checked - no way for the learner to change his mind.
    But even more importantly:
    I need to display the content of the 3 checked/selected variables at a later stage in the project. So, say the learner choses feature 2, 3 & 6 as the most important by checking the respective clickboxes behind the displayed variables (v_neo_f1 to f10) - how do I need to change my advanced action, so that I can generate variables v_neo_chosen1 - 3?
    As you see in the screenshots above, I've tried to do that by creating an additional variable for each of the 10 features and assigning the value 1 when it's checked. That way I could check later in the project, which of those variables has the value 1 - but I don't know how to link this variable (v_neo_f1_check) then to the variable for the feature in which the text I need to display is stored (v_neo_f1).
    This got me a major headache & hours of frustration already - can any of the guru's help me out here?
    If anybody is interesting in creating the necessary actions for me at a reasonable rate, please let me know. I'm bordering desperation.
    Happy new year,
    Anja

    I'm not sure I fully followed exactly what you are trying to do, but essentially what I got from your post is that its pretty complicated and you want to create new variables on the fly.
    For that sort of thing I would suggest that advanced actions may not be advanced enough for what you are trying to achieve and that you should go for a Flash Widget instead.
    For anybody getting started on widgets, I throughourly recommend the Widget Factory by the Widget King, which can be found at:
    http://www.infosemantics.com.au/widgetking/
    I also strongly recommend the following video:
    http://www.adobe.com/cfusion/event/index.cfm?event=register_no_session&id=1719643&loc=en_u s
    Alternatively, as Lilybiri suggests, there may already exist a widget that does what you want it to do.

  • Can I rock an "else if" in advanced actions.

    Hey all,
    Is there a way to add an "else if" statement to conditional actions in the captivate advanced actions dialogue?
    The if>then>else is obvious but I want if>then>else if>then>else.  And I don't want to have to build a widget or write JS if I can avoid it.  If I do have to dust off my limited JS skillz, can you point me to a quick/easy tut on using the "execute JS" window re: accessing CP and user variables etc.
    Thanks in advance

    LIlybiri,
    Thanks for the quick response as always.  First, I'm in Cap 7.  I'm making a basic unit conversion slide using the dropdown widget and text entry box.
    I've given the dropdown the var name "convertFrom" and the text entry box the var named "convertNum."  There are three possible selections in the dropdown (XXXX, YYYY, and ZZZZ) and three labels reference variables and will change once you hit the go button: $$displayXXXX$$ $$displayYYYY$$ and $$displayZZZZ$$.
    normally I'd do an:
    if (convertFrom = XXXX){
      do math;}
    else if (convertFrom = YYYY){
      do math;}
    else if (convertFrom = ZZZZ){
      do math;}
    What would you suggest that gives me the flexibility to publish both a swf and html5 lesson (which is why I want to keep it in advanced actions).

  • Add advanced action to submit button and setting different objectives score for the same course

    Hi, i would like to increase a counter in a quiz slide when the user press the submit button, using advanced actions.
    It's like if the submit button is somehow inhibited from certain options, and i cannot find how to add an advanced action to it.
    what i need, is to allow unlimited attempt until the user selects the right answer. each time the user click on submit, a counter increases by one. When user finally select the right answer, we read the counter value and assign a different score, depending on the attempt (for example: 1st attempt=20 points, 2nd attempt=10 points, 3rd attempt=0 points)
    After that, i need to save all score obtained for a certain group of quiz slide separately from the "main score" (i think the main score is stored in cmi.objectives.0.score)  to have partials scores for a course. I examined the "advanced interactions" panel and i noticed that for each quiz slide there is a specific interaction ID and each quiz slide is associated typically to the same Objective ID. What i need is to associate different groups of slides to different Objective ID's.
    In Storyline i was able to do this by passing to the lms a cmi.objectives.n.score (where "n" is the place in the objectives array) and i did it by executing a javascript on success for each question slide. (each javascript added the score of previous slides in the same group to obtain the total score of the group to be passed to lms with a specific function).
    examining captivate scorm functions in the published scormdriver.js i found the following function
    function SCORM_SetObjectiveScore(strObjectiveID,intScore,intMaxScore,intMinScore)
    so i think it can be done the same way in captivate executing javascript in the right way.
    Is there also an easier solution to write different scores to different obectives in the same course?
    many thanks for any help!

    Have a look at:
    Question Question Slides in Captivate - Captivate blog
    Question Question Slides - Part 2 - Captivate blog
    Indeed, Submit button is part of the Question slide, not a normal button. You can add a custom shape button, but it will never replace what happens when the Submit button is clicked: validation of the answer, showing captions, adding to score etc. Making the score depending on the attempt is not possible with default functionality, it is possible with custom question slides, but then the reporting to LMS is another issue. You should try to do it by JS, or if you only need SWF-output you could use the Master widget by InfoSemantics.
    Link score to attempts in Custom questions - Captivate blog
    Lilybiri

  • Controlling the Display of Animations using Advanced Actions

    Hi,
    I'm using Captivate 5.5 and having a bit of difficulty being able to control animations that are conditional on variables. I'm not sure what the best workflow is...
    I have set up five questions using the enhanced radio buttons widget and there is a 'tick' animation and a 'cross' animation next to each question which I want to play depending on whether the answer was correct or incorrect.
    In advanced actions I have set up five conditional actions so, for instance, IF 'question1variable = correctAnswer' then show the tick animation and hide the cross animation (Else... vice versa). These actions are linked to a 'check my answers' button.
    I have all the animations set to play for the duration of the slide, and this works fine except the playbar moves on (I need it to pause so that the students can keep reattempting the questions).
    How do I stop the playbar from moving on, so that the student can reattempt the questions as many times as they like, and each time the 'check my answers' button is pressed, the correct animation plays? I've tried things like rdcmndGotoFrame = rdinfoCurrentFrame - 1 (and variations of!) however, in this case the playbar will pause but the display of the animations becomes unpredictable and buggy
    Any solutions or ideas would be most appreciated
    Thanks in advance
    Rick

    Don't know if you can make this work but I did a similar thing using an action. I made the slide jump to slide=itself, eg if the question is on slide 17, I set it to jump to slide 17, in effect looping the slide -- but the user wasn't aware that was what was happening.There was a button to move on when done, but they could play all day. My questions were set to give rather complex feedback for both right and wrong answers. User could check each question and see the feedback on each choice. Don't know. Maybe.....  I used to do this using a javascript but now (5.5) you can select the current slide -- MUCH easier.

  • Cannot Edit Advanced Action (Captivate 5)

    One of my projects has a conditional advanced action that Captivate will not let me edit. I can select its name in the "Existing Actions" drop-down list in the "Advanced Actions" window, but then neither the "Action Name" field nor the other fields in the window get populated with the values for that action.
    I tried restarting Captivate in case that resolved the problem, but it did not.
    Can anyone suggest a solution?

    Hello,
    About your point 1: do not even know what you are pointing at, never keep track of that kind of numbers (not an accountant) because I feel them being unimportant. I'm happy if I can help some users out with issues and do learn a lot myself by trying to solve problems.
    Thanks for introducing a feature request. Of course I have done that multiple times concerning advanced actions. I also would like to have a search and replace function (for object ID's principally), to add comments, to print (not possible directly now) and to be able to construct a library with actions that can be opened like the external library of another project. Those are only a few of my long wish list.
    I'm glad that my idea for re-using scripts with a template has at least one 'follower'. If you have time, would love to see your comment on that particular blog post, could be inspirational for other users. Here is the link:
    Template for reusing scripts
    Lieve

  • Applying Standard Advanced Action to a Button Type

    Hi. Does anyone happen to know if it's possible to apply a Standard Advanced Action to a Button Type that will be used on multiple slides. My project has Home, Back and Next Buttons that I've used on most slides. I've created a Standard Advanced Action for these buttons, but haven't figured out how to apply the advanced action without going through each slide and selecting it from the very long list of Advanced Actions I have for the project. If anyone knows of an easier way to do this it would be very helpful for me. Thanks.
    Kim

    Kim,
    Which version do you use? In Captivate 6 this is possible if you use Shape buttons: you can put them on the Main master slide (or on individual master slides), or time for the rest of the project. Blogged about them:
    http://lilybiri.posterous.com/why-i-like-shape-buttons-captivate-6
    If you are on a previous version, I'm sorry but a normal button cannot be displayed for the rest of the project, nor put on a master slide. However there is a static button widget that has not as many functionalities, navigation however is possible, advanced actions not. Maybe that widget can help you, it is static which means that you can display it for the rest of the project (be sure to check the option 'Always on top') or even use it on a master slide.
    Depending on the exact content of your standard actions, maybe the action can be used without editing on each slide. Then it is just copy+paste work with regular buttons.
    Lilybiri

Maybe you are looking for