Trigger Javascript before closing the window of the browser of CP8

I'm afraid that this is not possible, but here... any help would be amazing.

We recently gave me some good advice on how to trigger a Javascript action in our LMS that the Captivate file plays in the framework.

It works perfectly and on the last page triggers the Javascript code which send its use date back to the LMS and transfer the user to a page that allows them to evaluate the course.

The code was as follows:

top.code.closeSCOContent ();

closeSCOContent() there's something written in our LMS.

However the obvious problem occurs when a user closes the browser window just and for some reason our LMS doesn't save any bookmarking or any data.

The only way, it seems to do it if this function is called.

So using the window.onunload () or the DOFinish; is there a way I can edit any file in Captivate output to trigger this function when the browser is closed?

Long shot I know, but currently the best that I got is get the course for this trigger as soon as it loads rather than close the window?

Huge thanks in advance for any advice.

Are you an edition in the format swf or html5?

If the swf, you may have a widget send the info whaen a slide is entered. For HTML pages, you can do the same thing regisitering the event with the window.

I can make you a widget for a small fee. Here's the code html5 (inserted in the head section):

Tags: Adobe Captivate

Similar Questions

  • Forms hangs before closing the browser window in IE7

    Hello

    When executing our application forms in IE7, it crashes when closing the browser window.
    The same request has no problem when running in IE6.
    Customers have Windows XP. We use the webforms 10.1.2.2 and Jinitiator 1.3.1.28, which is certified against IE7 (see http://www.oracle.com/technology/products/forms/htdocs/10gR2/clientsod_forms10gR2.html).
    If first, we open the java console of jinitiator window, we are able to close the window of the browser without any problem, but this isn't a solution for users.

    Any suggestions to solve this are welcome,
    Kind regards
    Els

    Registry keys have similar permissions to how NTFS permissions behave. The data values do not have permissions. Right click on the name of the key (looks like a folder & is on the left in regedit) & go to permissions. It is very important to do this step for users who have restricted permissions on Vista/XP/Citrix systems. If users have user with power or better, you can skip this step. They will not always plant without this parameter.

  • Plugin WindowsForms without closing before closing the Acrobat window

    I have a plugin that I build that opens a Windows form, allows the user control some things and do some calculations and then to send a block of text to the PDF document.

    The problem is that if the user does not close the Windows Form before closing the main acrobat window, the program will crash because of a violation of read access to a location memory.  The problem does not occur if the windows form is closed in the first place and then the main acrobat window is closed.

    i.e.

    1. the user opens a document

    2. the user starts the shape of the window using the plugin

    3 user performs some work using the document and the windows

    4. the user is done so they close the acrobat window

    5. the user sees that the windows form is still open and close.

    6. the error occurs

    I create the windows form using Application::Run (gcnew Form1());

    In the windows form, I added this function:

    public: static void ExitCalc(){
    Application::Exit();
    }

    This function is called in the .cpp file that generates the drop as part of the PluginUnload, but the problem remains.

    I need to close the windows form object before the closure of the acrobat window.

    Thanks for the help.

    There is a notification that you can apply when a document is closing (and many others too!).   Check the documentation for more information about the notifications.

  • Will be "immediately stopped" RAS redologs to archivelogs before closing the db?

    Hi guys,.

    I have a question that I want to erase and I hope Oracle gurus here can help me out with what I don't have freedom "immediately" to test the scenerio.

    When I run the command to stop, do a journal command before closing the database? Or do we have to do it manually before shutdown? I want to make sure I'm not losing last operations when a restore of database on a different server.

    -MM

    Published by: UserMM on October 15, 2008 09:04

    No, a STOP (whether IMMEDIATE or NORMAL) does NOT cause a switch of log of the last file Log of Redo ("CURENT"). At the start of the instance, Oracle continues with the same log file in the CURRENT file.

    Allows you to encode a Shutdown trigger to force a log switch, or to write a wrapper program to run the SQL command ("ALTER SYSTEM SWITCH LOGFILE"). However, as you will need to run the ALTER SYSTEM before, all actions (restoration of transactions that an immediate stop) closing would still be in the CURRENT journal of again after the switch.

    What you could do is to:
    a. immediate stop
    b. startup restrict
    c. ALTER SYSTEM SWITCH LOGFILE
    d. Normal or immediate stop

    These could be "merged" within a script.

    Hemant K Collette
    http://hemantoracledba.blogspot.com

    Published by: Hemant K Collette on October 15, 2008 23:09

  • CS5 on El Capitan gives the message of the incident AFTER the closure in Design and Illsutrstor. Normal functions before closing the program

    CS5 on El Capitan gives message of crash AFTER closing in Design and Illustrator. Normal functions before closing the program

    CS5 is not supported on El Capitan a few glitches are expected. You can do a search for InDesign crash when closing and see what kind of solutions have been proposed in the past (what CS5 is an ongoing program), but there is no guarantee that they will always be your problem.

  • How to configure Firefox 4.01 to save all tabs when closing the browser?

    In the previous version 3.x.y to Firefox, when I closed the browser, he asked me if I wanted to save my open pages / tablets before closing. When I open the browser again, then it rebooted all previously open tabs / pages. In the version 4.01, before avant de fermer close the browser warns me that I'm closing multiple tabs, but when I restart the browser once again, it does not load the already open tabs. How to configure the browser to behave like the old version of 3.x.y, that is perfectly save all open tabs and load these new opening to restart the browser?

    Firefox stores now always the old session, and you can access it by going to the history menu and selecting "restore previous Session."

    If you always open the last set of tabs, another approach is the following:

    1. Click on the orange button Firefox, then select options to open the options window
    2. Go to the general Panel
    3. Change the setting "When Firefox starts" to "show my windows and tabs from last time '.
  • My MacBook Pro will not open documents via Adobe Reader. Says I need Aspen Aspen drive in Browzer and accept the terms and insularity first. A crossed this time 3 and got through 'Finish', closed the browser and then retried. No luck. What is going on?? H

    My MacBook Pro will not open documents via Adobe Reader. Says I need Aspen Aspen drive in Browzer and accept the terms and insularity first. A crossed this time 3 and got through 'Finish', closed the browser and then retried. No luck. What is going on?? Have no problem with the same documents on iPhone and iPad

    After finishing the installation you launch Adobe Reader in your folder/applications and accept EULA (End User License Agreement)?

    What is your version of Adobe Reader?

    What browser are using you and version of the browser?

    Thank you.

  • Can I have Firefox ask before closing the window if I hit Ctrl-W by accident.

    When filling out forms in the browser I sometimes accidentally hit Ctrl-w to muscle memory. The ctrl-w is a function of writing in another program I use. When I hit Ctrl-w window close without warning and I can potentially use an hour of work.

    Is it possible to configure firefox, then it will appear a confirmation box when I click the Ctrl-w warning me that the browser window closes.

    It's a safety device great for touch typist who sometimes moves too fast.

    Thank you.

    I thing the warning appears only when you have 2 or more tabs open in the same window if the checkbox is checked in the Options (warn me when closing multiple tabs).

    With a single tab, I fear that it is not possible to be warned: in Firefox, CTRL + W closed the tab current, different from CTRL + SHIFT + W (or ALT + F4) to close the active window.

    If this shortcut is really a problem for you, you may replace it with an add-on like customizable shortcuts.

  • Session, still on display in session form FMW after closing the browser...

    Hello
    I'm working on forms 11g (11.1.4) on windows, I saw when user exit (directly close the browser) does not the good functioning of the application it is session show an active session of forms in the FMW and also the database session are also active.

    This led to the question of locking, eg.user A updated recording and before committing there disconnect because of the failure of the network and for he reconnection and trying to update the same record there watch the lock by another user.

    Is anyway to automatically kill the session of forms in the FMW when the user disconnect?

    Thanks in advance...

    In General, when the browser is closed an attempt to have the JRE send a final message on the server telling, is that his client is being closed. This allows to make a clean stop down. This behavior has evolved over time and works better in newer versions. If you do not use 11.1.1.6 or 11.1.2.0 as well as the last taken supported JRE (1.6.0_33) then I encourage you to do so as this may fix the problem.

    REF.
    Bug 9803871

  • Closing the browser. CTRL + SHIFT + t to Noto tab.session is mainted.

    Hi experts jdev,.

    use jdev 11.1.1.5.0 - adfbc-oracledb10g mozilla firefox version 9.0.1



    My problem is:

    am running my application in my system. I have unforunat; There closed the current tab.

    My active tab holds what?

    You can ask.

    running project url is the tab current
    http://127.0.0.1:7101/RoadmapJApp-GeneralLedgerUI-context-root/faces/RJAppIndex?_adf.ctrl-state=1a7fxm29gf_87
    so I press ctrl + shift + t. to reopen closed tab.


    keep the old State (my url of the project).
    http://127.0.0.1:7101/RoadmapJApp-GeneralLedgerUI-context-root/faces/RJAppIndex?_adf.CTRL-State=1a7fxm29gf_87
    my need is such.

    If I closed unforunately my project running average tab,

    amounts in an alert.

    you don't want to not lost this session Yes or not.

    If I give Yes means your session is destoyed. message should you are prompted.


    and a more.

    If I try to open the closed tab by with ctrl + shift + t.

    It should not be opened in the browser.

    The answer to the first question, is that you can't do that. The problem is that you cannot control the behavior of the browser when you use the tab close (x) or close (x) browser. The browser closes just the tab or window without giving you anything to act on. You can play with the warning of uncommitted data, but it won't work in all circumstances.

    The 2nd issue cannot be dealt with is that you do not get an event for the tab of the fence. If you cannot invalidate the session. If you reopen the tab browser uses the last URL for the tab, which has the former state information. As you don't invalidate the session, the information is still valid and there is no way of knowing that the url was originally a closed tab.

    In summary, as long as the browser does not send an event to the application running in the browser or tab, which then can be used to stop the closure, there is not solution.

    Timo

  • Is it normal to get logged out of sync after closing the browser? In other words I have relog in there everytime I open Firefox.

    After I created an account, all set up and close the browser, next time I open firefox, it says set up sync, instead of sync. So I have to set up synchronization > I already have and account > I don't have the camera with me > etc.

    Windows 7 64-bit.

    Well Yes, "armor" passwords are saved in password under a Manager chrome: / / "the site" address (password Mozilla Services) and (Mozilla Services encryption key). Weave is the original name for the Firefox sync service, when it grew in 2009 and 2010 and uses this name for many internal files within Firefox.

  • OS5 + BrowserField: Problem closing the browser automatically on redirects

    I'm trying to create a field of browser, search for redirects and close the page, so go back to the last page. Look on the ground of the browser after you have requested a page and receive calls such as documentLoad(), I'm trying to close the screen here. But I get an IllegalStateException: called close() when not displayed.

    I have found nowhere else to listen for events from redirection. Is there a better place to find events in browserField.addListener (...)? One of the methods BrowserFieldListener.downloadProgress () event is not called.

    Have you wrapped closed with a call to invokeLater call?  See the link below for an example.

    Update a screen on the main event Thread

    http://supportforums.BlackBerry.com/T5/Java-development/update-a-screen-on-the-main-event-thread/TA-...

  • Security problem in Chrome when closing the browser (4.2.6.00.03)

    Version 4.2.6.00.03

    Hello

    I have just been informed that in Chrome (version 43.0.2357.81 m) and in the settings in the section "getting started", if "Where you stopped to continue" is selected and that the browser is closed by clicking on the 'X' in the top right and then open again the last visited page appears without having to log in again.

    chrome_settings.png


    It is of course logical based on the selection in the settings, but the Cache in the browser security is set to disabled.

    chrome_browser_security.png

    Anyone know what to do when this does not happen?

    Can what information I provide?

    Thank you

    Joe

    RecX Ltd,

    Thanks again for your help.

    I could correct this problem. I went into the properties of the Application-> Security-> Session Timeout and entered the Session idle time in the text field instead of depend on the default values of the Skillbuilder Session Timeout of the plug-in.

    Thank you

    Joe

  • No javascript code in the browser of acrobat DC IOS

    I had several PDFs with an attachment html with javascript and graphics. They worked well, but after update, the browser does not support javascript more. Why? He comes back?

    Hello

    For security reasons, we have disabled JavaScript support in the HTML preview inside the Acrobat DC iOS app.

    You should consider a different way to package HTML files or use the HTML files to a web server and provide hypertext links in a PDF document.

    Sorry for the inconvenience.

  • DROID: Closing the browser

    Since the browser seems to be a big battery Eater it is logical to close as soon as you have finished using it but I do not see the usual x on the upper right corner and no way obvious to close.

    Help.


Maybe you are looking for

  • Automator lack of place in the trash after import option

    I will put in place action folder to import photos from a dropbox folder in the Photos app ideally I'd like to make these photos to be moved to the trash after importation, but the box which doesn't seem to be an option more. Is there a solution to t

  • Error constant csc.exe 550 d NB during the shut down

    Hello! Got a new Toshiba mini netbook today and here is my problem:I always get an error of csc.exe when close my completely new installed windows7.Install microsoft .net cadre4 - as always suggested - does not solve the problem.Someone here to help

  • on nitaglv.dll

    Hello I have a project that I'm building in an application (.exe).  When you build an .exe file, I choose a VI as a start VI and two VI and three sv-libraries as always included. I chose the Support directory to be a folder that is in the same way wi

  • HPIntelPentium: keyboardbacklight

    I don't know how to activate my backlight of laptop for my keyboard.

  • Possible problem of keyboard shortcut? Toshiba Satellite L305D-S5881 w/vista

    When you play online FEAR2 through Steam after about an hour of playing my game, the screen will minimize everything suddenly when I try to move my character around the screen using the keys a, s, d, w.  It will then ask me what I'm trying to get on