Create an exit button that (really) works

Hello,
I'm using Captivate 6.
I have create a playbar with trigger zone for "previous slide" button, "next slide" button and a "home" button.
Trigger zone for previous and next slide are working perfectly in the preview and from the swf i have published.
Concerning the "Home" button, it is in fact an exit button that closes the swf (an advanced action including cpCmndExit with 1).
It is working from the preview but not at all from the swf (played in Chrome and IE9).
Kind regards,
Vincent

I just went through a very similar struggle using the variable CPcmdexit =1 here was what I found and the solution for me.  First off, this variable only seems to work when using Internet Explorer (couldn't get it to work with chrome and didn't test firefox).  Luckily our LMS standard is the users use IE so that helped me passed the hurdle.  The second part of the equation though that took me forever to figure out was that in the Reporting Settings make sure that your success criteria is being obtained.  In other words my criteria was that the user viewed 100% of the slides before being complete.  This did not work for me because I had slides past my end point that the presentation jumped and returned from.  My resolution was to set it to the number slide instead of percentage that I wanted my user to view.  So success now looks like the user viewing to slide 37 (note: It seems although I didn't throroughly test that if you have hidden slides along the way to get the end number that it throws the count off since user can't actually view it).  When that criteria is met it seems that the Cpcmdexit button functions properly otherwise it is unresponsive.
Hope that helps.
Brian

Similar Messages

  • How can I create a submit button that only saves?

    Our end users will save the completed form and later upload it to anotherg place.  I created a save button that works fine, but without a Submit button there is nothing to trigger the reminder to go back and answer required questions.  I don't want to lose that part.  Thanks in advance for any help you can offfer!

    Would something like this work for you?
    var OKToSave = true;
    if (tfSomething.isNull) {
              tfSomething.border.edge.color.value = "255,0,0";
              OKToSave = false;
    else tfSomething.border.edge.color.value = "255,255,255";
    if (!OKToSave) app.alert("Please fill in all required fields");
    else app.execMenuItem("SaveAs");

  • Exit button doesn't work

    On .swf files, the Exit button in the skin doesn't close the
    file (it works just fine if the file is .exe). All the other
    buttons work fine. Any ideas?

    Hi, I know this issue was a long time ago, but I am experiencing the same problem with a course that has been loaded into the LMS, the exit/close button on the playbar isn't working.  I am using Captivate 5.  I have published using AICC rather than SCORM, as there were some issues with the passing over of scores from the e-learning programme I'd built to the LMS which were resolved by using AICC.  The close/exit button however did work when it was originally published using SCORM!
    I'm considering just removing the exit/close button on the programme and putting a message at the start and at the end to say just close browser window to exit the programme.
    I'd be very grateful if anyone could advise if there is anything else anyone could recommend trying?
    Thank you
    Sarah

  • Button that always works when Unde the Enter key to record the information?

    Hello everyone,
    How do Oracle Express, a button that always works when Unde the Enter key to record the information
    and every time I write some information that the cursor is placed back into the Text Field item only on my screen
    order to optimize this process
    I appreciate your cooperation and attention ...
    good day ...
    Reynel Martinez Salazar

    Hi,
    First, you should change your text item to a "Text Field (Always submits page when Enter press)" item. This adds a call to the submitEnter() javascript function which will submit the page when you press Enter while in the text field.
    Second, on your page, edit the Page definition. In there is a setting called "Cursor Focus" - set this to "First Item on Page". When the page is loaded, this will put the cursor into the text field.
    Andy

  • Exit button that close me the window in personalize

    Hi forum:
       I have one dynpro application in the personalize window of the EP6.40, when i give click in this link an windows is open, So, in my application in to this window i need to put an EXIT BUTTON, that close me the actual window, what can i do to do it?.... The password change application in that windows has it.. and do it..
    please help
    Joshua

    Hi Joshua,
    Are you familiar with close main application window in WD for Java ?
    Best regards, Maksim Rashchynski.

  • Windows exit button doesn't work

    Hi,
    Does anybody know why the windows' red exit button doesn't work for my program?
    Thanks

    Hamed_47 wrote:
    The close button is set to be in the menu, so I it's not in tle list of this close control.
    Sorry, I did not understand what you mean.
    The ring control lists all the controls you have on the panel, and usually there is a QUIT ot EXIT button. You may want to select this one.
    What this ring control does is equivalent to setting the ATTR_CLOSE_CTRL programmatically, i.e. you define the ID of the control for which a commit event is generated when you select the Close item in the Windows system menu.

  • Create a clear button that will clear a jpanel

    so i have two classes. One being a frame, and the other being a panel.
    On the panel, i can draw various shapes with various colours etc. The frame contains the panel, and also a north panel containing various buttons to achieve this.
    What i would i need to do is create a clear button that will clear the panel.
    I know i can go and set it so it's draws a rectangle the same colour as the background but that would be cheating.
    I will post a section of the paint just so you get an idea.
        public void paintComponent(Graphics gPanel) {
            if (this.buffer == null) {
                Dimension d = getSize();
                this.buffer = new BufferedImage(d.width, d.height,
                        BufferedImage.TYPE_INT_ARGB_PRE);
                myLineColour = new Color(0, 255, 0);     // initial colour for drawing
                this.g2Buffer = (Graphics2D) this.buffer.getGraphics();
                this.g2Buffer.setColor(Color.white);
                this.g2Buffer.fillRect(0, 0, d.width, d.height);
                // This time we'll draw with a broad pen 
            g2Buffer.setStroke(new BasicStroke(myLineWidth));
            if (myShapeFlag == 1){{
                this.g2Buffer.setColor(Color.white);
                g2Buffer.setXORMode(myLineColour); //go into the overwrite mode
                g2Buffer.drawLine(xStart, yStart, xOld, yOld); // undraw last
                g2Buffer.drawLine(xStart, yStart, xEnd, yEnd);     // draw new
                g2Buffer.setPaintMode();          // out of XOR overwrite mode
                xOld = xEnd;                    // store last end point
                yOld = yEnd;
            if(mouseReleased) {          // final time through
                g2Buffer.setColor(myLineColour);
                g2Buffer.drawLine(xStart, yStart, xEnd, yEnd);     // draw final
                mouseReleased = false;
            gPanel.drawImage(this.buffer, 0, 0, this); }Any help on this would be much appreciated

    no idea how to do this.. sorry...
    for the jbutton action listenener i'm not sure.
    I think i'm on the right tracks with a method
        public void clearPanel(Graphics gPanel){
                g2Buffer.fillRect(100,100,100,100);     // draw final
                gPanel.drawImage(this.buffer, 0, 0, this);
    }but again i think i'm way off the mark..

  • Is there ANY car stereo that REALLY works with an iPhone 3GS?

    Right now I use an older iRiver MP3 player with an older Pioneer headunit in my car. I have to control the player directly, which really ***** when you want to find a certain song while driving. Very unsafe.
    I want to integrate a digital media player with a car stereo (to be controlled with a wireless remote or steering wheel remote). I also plan on getting an iPhone 3GS hopefully in the next few months. I don't want to mess around with multiple devices, so I would prefer to put my music on the iPhone and use it as an iPod.
    I've been looking at several car stereos from Pioneer, Alpine, Clarion, Kenwood, etc. that come with iPod control built-in and a USB cable for connecting the iPod or iPhone to the stereo. Most of these advertise iPhone compatibility, but many reviews I've read says the iPhone compatibility, especially the 3GS w/ newer software/firmware is spotty at best.
    I really don't want to deal with issues like this, so I'm wondering if there's any particular models that really work WELL with an iPhone 3GS, preferably in the $350-under range.

    I went to the Apple Store and they told me that there wasn't a cord that would allow me to play my music from my iPhone to my car stereo.
    So...
    I bought an iPod because I wanted my music in my car.
    I also bought this Kensington Digital FM Transmitter/Auto Charger for my iPod as well. I found a radio station and it worked perfectly.
    I thought to myself, why not try to hook my iPhone up to that cable and see if it worked.
    Well it did and so I took my iPod back and now am able to use my iPhone in my car using the Kensington cord!!
    Here is the link to that cord:
    http://store.apple.com/1-800-MY-APPLE/WebObjects/AppleStore.woa/wa/RSLID?mco=F92 F7BFD&nplm=TD145LL/A
    It just goes into your cigarette lighter and then you set a radio station on the cord and then tune onto the radio station on your car.
    Hope that helps,
    Sam
    P.S.- Your iPhone is going to tell you that the product is not compatible with the iPhone and would like to know if you want to put it into airplane mode.
    Well just select "NO" and then your phone will work like normal and play your music through your speakers and it will still be able to receive calls while listening to your music, the music will just fade out while you are driving and allow you to answer your call and then once you are done, continue playing your song right where it left off.

  • I have a problem with safari, when I open new tab the tabs don't have the exit button that it used to be on the left corner of each tab and i used to close the safari with command Q witch is not working anymore ! what am I supposed to do ?

    how can I fix this problem ? I cant close the safari with command Q anymore and the tabs don't have the exit botton that used to be on left corner !

    Use cmnd+w to close the tab.

  • Exit button code not working in published captivate file

    Hi,
    I have created a elearning module in captivate 8. I have an exit button at the end of the module. The button has the inbuilt code ''on success - exit''. When I publish this file to swf or AICC format, this exit button doesnot work. Please help!

    have you confirmed that this javascript code ( only
    javascript code in html, no swf) works?
    in some cases the window.close() statement works only for
    popup windows. so make sure of it.

  • Captivate 7 exit button does not work when published to LMS

    I recently published a course using Captivate 7 and uploaded it to our LMS.  During the review of the course it was noticed that the Close or Exit button on the controller did not work in IE.  However, it did work in Chrome.
    I have looked through this forum and found that there were similar issue with older versions of Captivate.  However, we have course published with Captivate 6 on our LMS in which the Close or Exit button does work.
    Does anybody have a solution for this problem?  Do we know if there is an update scheduled to fix this problem?
    Please let me know
    Dawn

    1.  Create a button in Captivate and assign a javascript call to "MyExit()"
    2.  Create a .js file called CourseExit.js.
    3.  Place the following code into that file.
    function MyExit()
      var SD = window.parent;
    if (blnReachedEnd == false && confirm("Would you like to save your progress to resume later?")){
    SCORM2004_CallSetValue("cmi.exit", "suspend");
    SCORM2004_CallSetValue("adl.nav.request", "suspendAll");
      else{
    SCORM2004_CallSetValue("cmi.exit", "");
    SCORM2004_CallSetValue("adl.nav.request", "exitAll");
    Unload(true);
    4.  Place the CourseExit.js into the "assets/js/" in the published folder
    5.  Add "<script language="JavaScript1.2" src="assets/js/CourseExit.js"></script>" to the html file that was output on the publish.
    I was able to set this up on the set up files on the local hard disk but so all I had to do was create a button and add the "MyExit()" code to the button, but when the next update came out it reset the hard disk files.  So, I have just resorted to updating the output file as seen above.
    Hope this helps.
    Garrett

  • Adobe Form Exit Button does not work

    When I select a PCR from the Portal and review the Adobe Form - when I click on the exit button - it does nothing.
    How can I fix that problem?

    Hi
    are you using  standard MSS and Homepage frame work for PCR form or created your own iview in portal?
    what is ther version of Software using?
    thanks
    Gopal

  • Create an Exit button

    Does anyone know how to get an exit button to work. I selected New under the Execute javaScript commands, but I'm guessing the timing of the button needs to be set to something to get it to work. Not really sure why it's not working, just guessing at this point. Is there specific javaScript that I need to add and, btw, the tutorial is being designed for IE 8 users.
    Thanks out there in Captivate land!

    I linked to the exact spot on the page where the issue surrounding exiting the movie is discussed. The thing is, as much as we would like to think there is, there quite simply is no hard and fast "this does it every time" method.
    Everything hinges on the combination of browser, browser version and method used to open the page.
    I'd say forget about mucking with JavaScript. That's just an exercise in futility and frustration for most Captivate authors.
    The simplest approach is to configure the movie to close when it ends (in project settings) and if you want a button on the slide to close it, configure the button to point to the last slide. Time the last slide for .1 seconds. The bottom line should then be that the button is clicked and the last slide is visited. *IF* the movie can be closed, it will then close. You might have some text advising the user to close the movie in the event that it cannot close on its own.
    Cheers... Rick

  • In Editable ALV the BACK/CANCEL/EXIT buttons are not working?

    Hello,
    I wrote a editable FM based ALV, working fine that when user changes the data and press SAVE button, values are transfering into prog. But, i need to put a validation that, if user changes the values and press BACK/CANCEL/EXIT button, i need to popup the message that "Do you want to save changes", my PF-STATUS is good(because, SAVE is working).
    But, its not working that when user done changes and press BACK button (forgot to press SAVE button), system taking me to selection screen/screen 0!! I my code is as below,
    FORM pick USING v_ucomm     TYPE syucomm
                                         it_selfield TYPE slis_selfield.
      DATA: v_answer TYPE char1.
      READ TABLE it_z_tbl  INDEX it_selfield-tabindex
       INTO w_z_tbl.
      CASE v_ucomm.
        WHEN '&IC1'.
            " working fine this functionality
          ELSE.
            MESSAGE i000 WITH 'Double click on key field'.
          ENDIF.
        WHEN 'SAVE'.
            " working fine this functionality
        WHEN BACK' " OR 'CANCEL' OR 'EXIT'.
          PERFORM popup_for_user_decision CHANGING v_answer.
          CHECK v_answer = '1'.
          PERFORM now_update.
      ENDCASE.
    ENDFORM.     
    when i put the break point on the first line of this piece of code, its not stopping on pressing BACK/CANCEL/EXIT buttons!! (its stoppig for SAVE press or double click)
    Its stopping at this point,
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'.
    EXPORTING
    i_callback_user_command  = 'PICK'
    IMPORTING
    EXCEPTIONS
    IF sy-subrc <> 0 =================> its stopping at this point!
    ENDIF.           
    Pls. let me know why system is not recognising that i hv a PICK form (SAVE and Double clicks are working fine)?
    Thank you

    Hi,
    Actually BACK is standard user command so it is not stopping and going to selection screen.
    Give some other use command like 'BCK' and try....

  • How to create a radio button that changes colors

    I'm using Acrobat X and ID CS5 on Mac OS X.
    A couple of years ago someone on the forums explained to me how to create a button that changes color with each click. You can view a sample PDF at https://dl.dropboxusercontent.com/u/52882455/colorcycle.pdf. They gave me the document JS and showed me how to set the properties of the button. I've integrated the button into a particular series of PDF forms and it's worked out very well.
    Now I would like to do the same thing, but using a circle instead of a square. Can anyone tell me the best way to do this? Can I somehow set a radio button to cycle through colors in the same way? I design my forms initially in ID CS5 and then activate and format the fields in Acrobat X. I've tried using circles instead of squares in my ID document, but when I export to an interactive PDF, they're converted to squares.
    Any ideas?

    I understand how to make buttons cycle through colors-- the problem I'm having is that I'm trying to figure out how to make a circular button cycle through colors. When I export my ID document to PDF, my round button maintains it's original appearance, but when I click on it to cycle through the colors, it behaves like a square (see new PDF at https://dl.dropboxusercontent.com/u/52882455/colorcycle2.pdf).
    If I use a radio button, I can get it to cycle through colors, but I don't want it to have a black dot in the middle. Is there a way to format the radio button to not show the black dot when clicked?

Maybe you are looking for