Action : On Exit

I am having a problem in Captivate 6.  I have a widget that uses cpCmndGotoSlide to go to a slide based on input from a text file.  I want some actions to occur when the user exits the slide and navigates to the slide number from the text file.  The widget is a button widget.  I want to reuse the widget and not have to change the widget every time I have a new project.  Putting the actions in an advanced action would be nice, but it won't fire "on Exit" when the user pushes the widget button. I didn't know why until now. I read on another question, that the "On Exit" action only happens when the slide reaches the last frame of the slide.  If you use a button to navigate away from that slide, the "On Exit" action may not occur.
Is there a way to make the slide go to the last frame of the slide, by setting a variable, or advancing the timeline?

Lilybiri answered this on another question discussion 
"Slide on exit action conflicts with button action in Captivate 5.5"

Similar Messages

  • Slide Action on Exit Cancelled by Length of Audio File

    Captivate 8.0
    Responsive Project
    Status:  Solution to problem works but makes no sense
    Problem:  Slide actions on exit designated in the Properties Inspector do not function.  Although the "jump to slide" action was selected, the transition at the end of the slide moves to the next slide. I encountered this problem as I was developing a series of slides that would supplement a single beginning slide.  Using click boxes I wanted the learner to be able to click on an item, go to a slide with more detail, then return to the original list on the starting slide.  I set the supplemental slides up in the Property Inspector--Actions to "Jump to slide" and selected the beginning slide number.  When I ran the project, the click boxes moved to the correct slides but the supplemental slides did not return to the beginning slide.  They only transitioned to the next slide.   
    Solution:  This makes no sense to me and is the source of my question.  I'm using text-to-speech as a temporary method of making a rough cut at timing while I am waiting on narration files.  The audio files created by text-to-speech usually run to the end of the slide and are exactly the same length as the slide.  Grabbing at straws to fix the problem, I added 0.2 secs to the slide length so the slide timing was slightly more than the audio file.  Voila!  The selected action (jump to slide X) functions as expected.  I made the same change on the balance of seven slides and the entire routine works as designed.  I have not tested slides using imported narration or narration recorded within Captivate to see if the same problem presents. 
    Why would this be?  Why would the length of an audio file prevent an exit action from functioning? 

    Lilybiri answered this on another question discussion 
    "Slide on exit action conflicts with button action in Captivate 5.5"

  • Seting action on exit of page

    Is there any way to set an action on exit of the page?
    I mean, in one window i'm uploading files to temp directory and if user presses 'correct' button it targets custom tag which deletes these files.
    My concern is that if user will leave page without either pressing that 'correct' button or 'upload' button (Both deletes files) these files will be left in the server.
    So is there any way to target my custom tag on exit of the page?
    cheers,
    Simon

    This sounds like something you'll want JavaScript for. Check out the window.onload() method. It fires whenever a user tries to 'leave' your page (i.e., when a 'page' is unloaded from the browser).
    Sample:
    <html>
         <head>
              <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
              <title>Unloading a Page</title>
              <script type="text/javascript">
                   function unloaded(){
                        alert( 'you are leaving my page...' );
              </script>
         </head>
         <body onunload="unloaded()">
              <p>Hello World</p>
         </body>
    </html>
    This is only meant as a skeleton to get you started!
    Hope it helps,
    Craig

  • How to get the Application perform actions when exits?

    How to get the Application perform actions when user clicks on the "X" icon in the top right hand corner?
    OR
    If i placed an Exit Button.... when actions that i need to use to allow my application to perform a certain action when it exits?
    Thanks

    frame.addWindowListener(new WindowAdapter() {
      public void windowClosing(WindowEvent e) {
        // do your stuff here
    });The WindowListener and WindowEvent can be found in java.awt.event package
    //David

  • Adobe Professional - link action - File Exit doesn't work as it should

    In Adobe Professional, create a new link using the following steps:
    - Create Link
    - Custom Link
    - Click Next
    - Go to the Actions tab
    - Select the 2 following Actions:
         - File>Close
         - File>Exit
    - Click Ok on the 2 dialog boxes.
    -save the pdf
    When you open the document  (in Reader or Professional) and you click the link, the File Exit action never occurs (Adobe stays open).  For certain users, the File Close action works (but not the the File> Exit).
    Please note that all users have the following configuration:
    Edit --> Preferences --> Internet --> Display PDF in Browser = UNCHECKED
    Edit --> Preferences --> Internet --> Allo fast web view = UNCHECKED
    All users are using Adobe Reader 9.2, and the behavior is the same for all.

    Marcslrois666, you are in the wrong Forum.
    this Forum covers the Adobe Connect, which server/service for live/ on-demand online training.

  • Netbeans GUI editor: Add an action on exit?

    Hello,
    I have a GUI built using netbeans GUI editor and I would like to execute some code just before the program exits. Does anyone know of a decent way to do this?
    Thanks,

    Hi,
    Just a remark. As a good practice, one should only extend Thread when one wants a Thread to have special capabilities.
    Generally, one should create a new Thread with a Runnable. So you could enhance your code as follows:
    public ShutdownRunner implements Runnable {
        @Override
        public void run() {
            USB_interface_K8055.JCloseDevice(); // Static JNI method
            System.out.println("Shutting down");
    }and
    // add shutdown hook for program
            Runtime.getRuntime().addShutdownHook(new Thread(new ShutdownRunner());Glad to be of help,
    Piet

  • Difference between dynamic actions and user exit

    Hi,
    Please help me in when to use table T588z and user exit to write code for dynamic actions.
    Thanks,
    Venkat

    Hi Prasad,
    Find the difference between Dynamic action and user exits.
    Dynamic Action                                              User Exits
    1. Here only initialization of an infotype                    1. Along with initialization of an infotype,                  depending upon other infotype                                    validation also can be done like in
        can be done.                                                        IT 16 the contract end date can not be
                                                                                    entered more than 6 months.
    2. Less time consuming to write.                             2. Require programming approch so more
                                                                                    time consuming.
    3. Table T588Z                                                       3. PBAS0001
    Br/Manas

  • Workflow step (Approve Action) calling custom Java Service and "passing params"

    Good Afternoon, Fellow Coders!
    Normally I research and do proof of concepts until I find a solution but given super tight deadlines, I just don't have time - so I need your help.
    I am trying to have an Workflow Approve Action (Workflow Exit Event idocScript call) call a Custom Component (Java Service) AND "pass" some kind of parameters (bare minimum dDocName)
    In a perfect world it would be as simple as:    processContentInfo(String dDocName, String xMyCode1, String xMyCode2);
    But since I am calling the Java Service from idocScript (via executeService) I cannot directly pass params via the API.
    Is there a simple way to do this??
    It seems like if you can't directly pass params you could at least set them in the managed container (m_binder) and just know to pick them up on the Java side via some DataBinder like m_binder.getLocal(
    Am I missing a simple idocScript function that will let you do this?
    Note: I am NOT executing the Service from a URL so the normal ?param1&param2 -> m_binder.getLocal  solution is no good.
    Also, Bex's book warns about Service Classes "not easily being able to call other UCM Services"....  My Custom Service needs to do exactly that (as well as JDBC and other stuff). Is this really an issue??
    Seems like as long as I have dDocName I could use RIDC to hit whatever I want as long as I know how to use a binder, etc - is there some mystic nuance that prevents this?  Or was he just saying it's hard UNLESS you know RIDC well??
    Any and all quality advice is appreciated!  And please, try to give me a detailed answer as opposed to something vague like "try a Service Handler", I need something I can quickly digest.
    Thanks in advance!

    You can set parameters for the service call by setting Idoc Script variables before you call executeService.
    <$dDocName="TEST12345"$>
    <$param1="09876"$>
    <$param2="ABCDEFG"$>
    These variables are then available via the service DataBinder.
    Here is information about how to execute a service from a custom component. There should not be any issues doing this.
    http://www.redstonecontentsolutions.com/5/post/2012/05/executing-a-service-from-aservicehandler.html
    http://jonathanhult.com/blog/2012/06/execute-a-service-from-a-java-filter/
    Jonathan
    http://jonathanhult.com

  • Some Questions on Advanced Actions window

    HI
    I have a couple of questions on Advanced Actions (using the CP7 trail version)
    1. What's the function of the "Continue" action?   Exit's the advanced action and advances the Playhead?
    2. What does this comment mean "Nested calls of advanced action is a nice enhancement."? Is the decision tabs at the top of an advanced action page?
    3. What's the function of the "custom" option in the IF statement - "preform action if - custom", it doesn't seem to do anything for me?
    4. Where can i get information about timeline / playhead interaction with advanced actions i.e. where the playhead goes to the start of the slide again. e.g. custom question slide - displaying button, checking answers, feedback - when all/most objects are at the start of the timeline. I'm looking more for playhead functionality infromation rather than how to set up this type of question.
    Thanks
    Donal.

    Hi Lilybiri,
    Thanks for your reply and the link to your blog.
    Continue: Can you just explain yor statement "Continue can also be a choice in a conditional action, when one of the branching commands has nothing to do special but to advance.". When you say "branching command" i'm assuming you mean "IF ELSE statements" and "to advance" is that to the next decision if there is one? and if you didn't include "Continue" would it still advance?
    Custom: I see what you mean the first is an AND statement and the rest are OR statements.
    Nested advanced actions: I picked the term up from the Adobe web site comment by "Hari" on Shared Actions, who i took to be an Adobe person. Maybe i didn't understand the context.
    http://blogs.adobe.com/captivate/2013/07/shared-actions.html
    On Demand: Is there an up to date link. I found this one but the latest recordings are May (advanced action - part 8), and there isn't much training after May so it may be while before your Shared Actions are uploaded.
    http://blogs.adobe.com/captivate/etrainings-adobe-captivate-adobe-elearning-suite-and-adob e-presenter
    Donal

  • Exit  from Webdynpro abap application in portal environment

    Hi,
    I created one custom service in Webdynpro ABAP in ESS and also integrated in the portal environment
    I need to put Exit button in every page ( OVERVIEW, EDIT, REVIEW). When user click on 'EXIT' button from any one of page , it should return back to PERSONAL INFORMATION in ESS Homepage.
    I have used Exit plug in window , but i read in SAP Library Exit plugs will not work in portal environment.
    Let me know which way i should proceed to acheive the Exit functionality.

    HI,
    Add the following code in action of exit  and also add the application parameter which gets the area page from the portal.
    Apart from this, do the configuration settings in these screens ( Define resources, Define services ) in SPRO.
      DATA: countrygrouping TYPE molga,
            arealink TYPE rhxss_ser_linkinfo_s.
      DATA:
        node_settings                       TYPE REF TO if_wd_context_node,
        elem_settings                       TYPE REF TO if_wd_context_element,
        stru_settings                       TYPE if_componentcontroller=>element_settings .
    navigate from <CONTEXT> to <SETTINGS> via lead selection
      node_settings = wd_context->get_child_node( name = if_componentcontroller=>wdctx_settings ).
    get element via lead selection
      elem_settings = node_settings->get_element(  ).
    get all declared attributes
      elem_settings->get_static_attributes(
        IMPORTING
          static_attributes = stru_settings ).
      CALL FUNCTION 'RH_PM_GET_MOLGA_FROM_PERNR'
        EXPORTING
          pernr = stru_settings-personnelnumber
          begda = sy-datum
          endda = sy-datum
        IMPORTING
          molga = countrygrouping.
      CALL FUNCTION 'HRXSS_SER_GETAREALINK'
        EXPORTING
          areagroupkey         = stru_settings-home_service
          areakey              = stru_settings-area_service
          portalcontext        = 'X'
          personnelnumber      = stru_settings-personnelnumber
          countrygrouping      = countrygrouping
        IMPORTING
          arealink             = arealink
        EXCEPTIONS
          areagroupkey_invalid = 1
          areakey_invalid      = 2.
    DATA: l_portal_manager TYPE REF TO if_wd_portal_integration,
          l_api type ref to IF_WD_COMPONENT.
    l_api = wd_this->wd_get_api( ).
    l_portal_manager = l_api->get_portal_manager( ).
    l_portal_manager->navigate_absolute(
        navigation_target   = arealink-linkpcdpage
        navigation_mode     = if_wd_portal_integration=>co_show_inplace
        history_mode        = if_wd_portal_integration=>co_no_duplicates

  • On Exit Pause doesn't work

    Hi,
    I have set a slide to pause on exit but it just won't work, it continues to the next slide and pauses. I know I must be missing something obvious but can't think what! Any help would be really apprectiated. Using Cap 7.
    Thanks,

    Hi Ryan,
    Welcome to Adobe Forums!
    You are not missing anything, you have applied the action in correct way.
    But pause on exit works in this way, it will execute the pause action after exiting the slide.
    You can also use an interactive object like click box or button on the last part of slide in timeline and set a pause on it.
    Please check this discussion on Forum: http://forums.adobe.com/message/5496225
    One of the users has suggested an advanced action to make the slide pause on last frame.
    Thanks.

  • Start/Stop Buttons and infinite loop exit

    I am trying to make a GUI with a Start/Stop and an Exit button. Initially the button will have the label "Start". When i push it, its label should become "Stop" and an infinite loop function will begin. I want the loop to run until i press the Stop or Exit button.
    The problem is that when the loop starts i can't press neither of the buttons. The "Start" button changes its label into "Stop" only if i make the loop finite and it ends.
    Here is the source:
    import java.awt.BorderLayout;
    import java.awt.Component;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    public class StartStopButtons extends JFrame{
        Component visualComponent = null;
        JPanel panel = null;
        JLabel statusBar = null;
         public StartStopButtons() {
              setSize(160, 70);
              getContentPane().setLayout(new BorderLayout());
            panel = new JPanel();
            panel.setLayout(new BorderLayout());
            getContentPane().add(panel, BorderLayout.CENTER);
            final JPanel panel_1 = new JPanel();
            panel.add(panel_1, BorderLayout.CENTER);
            final JButton startButton = new JButton();
            startButton.addActionListener(new ActionListener() {
                 public void actionPerformed(final ActionEvent e) {
                    String action = e.getActionCommand();
                    if (action.equals("Start")) {
                         System.out.println("Start Loop");
                         startButton.setText("Stop");
                         myLoop ();
                    if (action.equals("Stop")) {
                         System.out.println("Stop Loop");
                         System.exit(0);
            startButton.setText("Start");
            panel_1.add(startButton);
            final JButton exitButton = new JButton();
            exitButton.addActionListener(new ActionListener() {
                 public void actionPerformed(final ActionEvent e) {
                    String action = e.getActionCommand();
                    if (action.equals("Exit")) {
                        System.exit(0);
            panel_1.add(exitButton);
            exitButton.setText("Exit");
         public void myLoop() {
              for (int i = 0; ; i++)
                   System.out.println(i);
         public static void main(String[] args) {
              StartStopButtons ssB = new StartStopButtons();
              ssB.setVisible(true);
    }

    I works just fine. Here is the source and thanks for the help.
    import java.awt.BorderLayout;
    import java.awt.Component;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.UIManager;
    public class StartStopButtons extends JFrame implements ActionListener, Runnable{
        Component visualComponent = null;
        JPanel panel = null;
        JLabel statusBar = null;
        Thread thread;
        JButton startButton;
         public StartStopButtons() {
            try {
                UIManager.setLookAndFeel(
                    UIManager.getSystemLookAndFeelClassName());
            } catch(Exception e) {}
              setSize(160, 70);
              getContentPane().setLayout(new BorderLayout());
            panel = new JPanel();
            panel.setLayout(new BorderLayout());
            getContentPane().add(panel, BorderLayout.CENTER);
            final JPanel panel_1 = new JPanel();
            panel.add(panel_1, BorderLayout.CENTER);
            startButton = new JButton();
            startButton.addActionListener(this);
            startButton.setText("Start");
            panel_1.add(startButton);
            final JButton exitButton = new JButton();
            exitButton.addActionListener(new ActionListener() {
                 public void actionPerformed(final ActionEvent e) {
                    String action = e.getActionCommand();
                    if (action.equals("Exit")) {
                        System.exit(0);
            panel_1.add(exitButton);
            exitButton.setText("Exit");
         public void actionPerformed(ActionEvent e) {
              String action = e.getActionCommand();
              if (action.equals("Start")) {
                   startButton.setText("Stop");
                   thread = new Thread( this );
                   thread.start();
              if (action.equals("Stop")) {
                System.exit(0);
         public void run() {
              myLoop();
         public void myLoop() {
              for (int i = 0; ; i++)
                   System.out.println(i);
         public static void main(String[] args) {
              StartStopButtons ssB = new StartStopButtons();
              ssB.setVisible(true);
    }

  • Stopping a slide till user action?

    I apologize if this is self-obvious, but is there a graceful solution for stopping slides so users make use of the playbar buttons? Setting slides' action to "No Action" on exit doesn't seem to affect the slides -they still advance.
    Thanks!

    Hello again
    You need to adjust the end point of the Click Box so it ends sooner than the other objects on the slide.
    Typically objects fade in and out. If you pause at the same time the objects do, they are faded out. So you adjust the Click box so it ends (and pauses) about a second and a half before the other objects do.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Stop Web Object audio on screen exit - Cap 7

    I have a series of slides, each with one Web Object. Each is a link to an HTML page with an MP4/player. If I want to go to the next slide while the movie is playing, the audio does not stop on exit.  I can't do an action on Exit as the audio isn't from an Advanced Action but from the Web Object. Am I missing something obvious here?
    Thanks in advance...

    The JavaScript API for Captivate is different for SWF vs. HTML5 output.  Both are a mess and have inconssistencies... and there is no documentation.  I'm hoping the Adobe Captivate Dev Team will address this for Cp 8.  For SWF output, you can look here:
    http://captivatedev.com/2012/07/01/adobe-captivate-6-the-javascript-api/
    And here:
    http://blogs.adobe.com/captivate/2010/12/captivate-swf-events.html
    The HTML5 API is much more versatile where you can subscribe to the events mentioned in the last link.  I'd recommend poking around with Chrome's dev tools to see what's available in HTML5 land.

  • Unable to execute Actions for the Existed Employees in the Upgrade Server

    Hi,
    We have Upgraded from ECC 5.0 to ECC 6.04
    In ECC 6.04 we are unable to Execute  further Actions for the Existed employees where as if we create New employee its allowing to execute Actions in the system.
    Awaiting for your valuable suggestions.
    Sai

    Could you please provide more information on the error message while executing the action for exited employee ?
    Thanks
    Ravikumar

Maybe you are looking for

  • Which Replacement drive for Macbook 2.0 intel core 2 duo?

    One of my favorite Apple laptops in many years had been the early Macbook 2.0. The thing has a nice 13" screen, seems to be a very solid build, and it's worked well since the day I bought it back in June of 2006. I also have a MBPro 17" and a newer M

  • BAPI_ACC_DOCUMENT_POST - not updating in databse

    Hi,      In my program code for outgoing payments(F-53) I am passing the following values for the BAPI_ACC_DOCUMENT_POST and getting the message in RETURN table as Document Successfully Posted( S RW 605) and I am able to see the document number in ex

  • Ipod Update Won't Work (Version 1.2)

    I finally got the new Itunes 7.0 installed, and after plugging in my Ipod and trying to install the new Ipod updates INTO my Ipod, I am getting an error (Error 1417), and I can't update my IPod. This is getting very annoying... Apple has definitely d

  • SQL Server 2012 Transactional Replication with updateable subscriptioins

    Hi All, It is heard that Transactional Replication with Updateable Subscriptions is deprecated in SQL 2012 so it is not possible to configure through the wizards but we can still configure it by using T-SQL Script. Would you please share that script

  • Bootcamp needs a firmware update that i already have

    So i try to tun botocamp but its says i need to download a firmware update. ive already installed mac osx 10.4.7 and i cant find any other downloads on top of that. any ideas?