Closing brower window

I am using
WEB.SHOW_DOCUMENT('javascript:window.close()','_self');
in post form trigger to close the browser window when exited from forms using exit_forms. However I am getting the following error.
FRM-92020: Invalid URL javascript:window:close()sent to
browser with target_self
Full Details: unknown protocol: javascript
Any ideas what is this error about ? Any solutions ?

I created close_window.html, the code in close_window.html
is as follows
<html>
<head>
<script>
function closeBrowserWindow(){
Window.close();
</script>
</head>
<body onLoad="closeBrowserWindow();">
</body>
</html>
I have saved close_window.html file on the C drive.
In the form on POST-FORM trigger I am using
WEB.SHOW_DOCUMENT('file:///c:\close_window.html','_self');
It looks it closes the browser window(of form) however I can still
see c:\close_window.html with a blank page on the browser.
I want even this browser window to be closed also.
Any ideas?

Similar Messages

  • Why does captivate hang when it is closed in window 8.1 professional ? How is it solved?

    Why does captivate hang when it is closed in window 8.1 professional ? How is it solved?

    Hi,
    Do you see the issue every time you close captivate or is it only in some scenarios? Does it show any error messages? What captivate version are you using (64 bit or 32 bit)? Can you provide some more information or screenshots which can help us reproduce the issue.
    Tamish

  • Closed Captioning Window slow to open

    We have a team member using CP7 on a Win7 machine having a delay when he opens the closed captioning window.  It can take up to 10 seconds for the window to open. 
    We just put him on someone elses machine and it didn't do that even when logged in with his credentials.  He says it has done that through all the versions of Captivate that he's used on the XP and Win7 platforms and on previous computers.
    Does anyone have an idea of what might be causing this?
    Thank you,
    Susan

    Here's the fix to which I was referring, supplied by a colleague on Linked-In:
    "There are 2 instances of a codec that need to be turned into a .bak file.
    First you go into C/program files/Adobe Media Encoder CS5/MediaIO/codecs to find a file "SurCodeWrapper.vca" Change it to "SurCodeWrapper.vca.bak" do the same thing in C/program files/AdobePremiereProCS5/MediaIO/codecs with the "SurCodeWrapper.vca file there too. This WILL fix the lag. I think you lose surround sound encoding by doing this, but this hasn't been a problem for me."

  • When closing Firefox windows, I would like a warning before the last window closes. The about:config settings do nothing. There is a warning for multiple tabs..

    When closing Firefox windows, I would like a warning before the last window closes. The about:config settings do nothing. There is a warning for multiple tabs... why not for the last window? I do not use tabs... just windows... I have a mouse button programmed for that. It is really irritating to have to restart Firefox all the time and then open the history window because no warning was issued!

    This is ridiculous. I've had this problems for years now and I'm finally walking away from Firefox. I use my keyboards more than my mouse, and how many times does your finger slip and hit Command Q instead of W. How come FF can't reset something as trivial as this? So many people are having problems with this?
    Feels like FF has become too big, too slow and just not cooperative anymore. What a shame, I've been using Netscape/Firefox for 13 years. This is silly.

  • When I close and reopen firefox, it restores my tabs, but it restores tabs from hours or days ago, not the ones that were open when I closed the window - why?

    I normally keep my Firefox window open for long periods of time because I have a lot of active tabs. When I close the window and reopen it, I am still able to restore tabs, but as of a few weeks ago, it has stopped restoring the most recent version. Normally, when I would close and reopen, the tabs would be the same ones that were open when I closed the window. Now, it restores to a version from a few days ago instead of the current version. I have to revert to pulling my more recent tabs out of the recent history. I checked my options and I can't figure out any way to control this. How can I fix it so that I can count on my Firefox window to restore the tabs that I actually care about?

    You can check for problems with the sessionstore.js and sessionstore.bak files in the Firefox Profile Folder that store session data.
    Delete the sessionstore.js file and possible sessionstore-##.js files with a number and sessionstore.bak in the Firefox Profile Folder.
    *Help > Troubleshooting Information > Profile Directory: Open Containing Folder
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    Deleting sessionstore.js will cause App Tabs and Tab Groups and open and closed (undo) tabs to get lost, so you will have to create them again (make a note or bookmark them).
    *http://kb.mozillazine.org/Multiple_profile_files_created
    *http://kb.mozillazine.org/Session_Restore

  • How do I move a group of tabs before closing a window?

    I recently lost all my custom settings on Firefox after an aggressive tech support person "cleaned" my browser settings. When this happened, I lost the ability to move my open tabs to a new group before closing the window they were in.
    Previously, when I had multiple windows open, and I initiated an "Exit" or "Close" command on one of the open windows, 2 things happened:
    (1) First I received a warning message asking me if I wanted to close the window
    (2) Then I received a second warning message asking me if I wanted to move my tabs before closing the window.
    Now, I only receive the 1st message, and I am no longer offered the option of moving my tabs to a new window before closing the current window.
    I've tested this both with and without the Tabs Group Manager which I was using prior to the time my browser was "cleaned", and I still have not found a way to restore this missing feature.
    Unfortunately, I don't know if this feature/option is:
    -- provided as a default in Firefox
    -- a customizable feature in Firefox, or
    -- a feature in a Firefox add-on.
    Can anyone tell me where/how to restore this option to move a group of tabs before closing a window?
    Thanks,
    Metta

    Thank you, guigs2, for your feedback, and my apologies for the confusion. After rereading my question, I realize I made a couple of typos in my original help request which cannot now be corrected. Specifically, the 2nd sentence in the first paragraph should have read:
    "I lost the ability to move GROUPS of open tabs to a new WINDOW before closing the window they were in."
    This means that, as far as I can tell, neither of your plugin recommendations applies:
    -- Apparently, Tab Mix Plus only applies to manipulating tabs WITHIN the existing window and, unless I am missing something, I did not see any reference to the option I'm looking for -- specifically, an automatic prompt offering to move groups of tabs to a new window before closing the existing window.
    -- Unfortunately, the other plugin you mentioned (Tag Cloud) appears to be non-functional in the current version of Firefox, based on the most recent user reviews.
    In light of this, I will consider the possibility of resubmitting my question with the typos corrected -- and, in the meantime, if there is any additional feedback that you (or anyone else) can offer, I would be most grateful!

  • Acrobat.exe closed by Windows & "invalid annotation object"

    While I am editing comments with Acrobat 9.3.1, I get a Windows error "acrobat.exe ..... closed by Windows"
    Then when I open the PDF document, I get "invalid annotation object" error, and the file is corrupted and not usable any more.
    Please advise me what steps I need to take to this frequent errors on my computer.  Thanks.

    I too had a Multi Page PDF that had the same "invalid annotation object".
    I was able to open & use the damaged  using Tracker Software - PDF Viewer - PDFXCview (free software - Google it)
    The file opened without error in PDFXCview and I was able to save it, but reopen in Acrobat still had the error.
    I re-opened it in PDFXCview and deleated the comments on the page that Acrobat reported the "invalid annotation object", and was able to save the file, which now opens in Acrobat without the error.

  • Is there a way to designate automatically returning to your homepage when closing other windows/files/tabs etc.? Could do it on the Mini, but haven't found magic spell for new iMac. Thanks!

    Is there a way to automatically return to homepage after closing other windows/files/tabs etc.? Was able to do this on Mini, but have been unable to find setting to do it on new iMac. Thanks in advance!

    If you were able to do it on the Mini  you should be able to on an iMac, they use the same versions of OS X. You just have to recall how you set it up.

  • On closing Acrobat Windows detect an error "Data Execution Prevention has closed Adobe Acrobat".

    Hi,
    I developed a plugin which captures Before/After open, close and save events and perform some operation inside these events.
    I tested the plugin in Windows XP and Acrobat 9.0.0 and 10.0.0 and everything works fine. But when in test my plugin on Windows Server 2008 Standard 32 bits, then windows detect an error while closing the acrobat and shows the following message:
    "Data Execution Prevention has closed Adobe Acrobat"
    I am using Acrobat 10.0.0 for testing in Windows Server 2008 operating system. Also, debugging the program shows no error but plugin does not produce the desired result when tested on Windows Server 2008 Standard 32 bits operating system.
    Can anyone please giude me how to resolve this issue??
    Thanks in advance!

    Are you really using 10.0.0?  You've installed no updates to it??
    From: poortip87 <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Mon, 6 Feb 2012 21:46:02 -0800
    To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
    Subject: On closing Acrobat Windows detect an error "Data Execution Prevention has closed Adobe Acrobat".
    On closing Acrobat Windows detect an error "Data Execution Prevention has closed Adobe Acrobat".
    created by poortip87<http://forums.adobe.com/people/poortip87> in Acrobat SDK - View the full discussion<http://forums.adobe.com/message/4190399#4190399

  • Problem in Closing Browser window from an Applet.

    I have wriiten a small Applet progarm that calls a Javascript function in the opening window, to close the window in which it is loaded.The Applet window is a PopUp window from one of my application's window.
    First time I start my application and load that Applet and then close the frame window,it works fine that the browser window will close, when the frame window is closed.It calls the window closing event in that applet stop method is called and In stop methd a closeLaunchedBrowser method will called this has a Javascript method and the Method closes the window using the self.close() method.
    But now if I continue this process of launching applet and then closing frame window, initial 1 or 2 steps it has know problem when I continue this, after 3 or 4 steps, it result in browser hang/crash.
    I am using java version 1.4.2_01 or higher and IE or Firefox(any other NetScape based) browser to load applet.It works fine with IE but getting problem in case of Firefox(any other NetScape based).
    The error dialog information and related event log generated is shown below :
    The dialog which is displayed before crashing of firefox has information :
    "firefox.exe has generated errors and it will closed by windows.you will need to restart the program.
    An error log is being created."
    The error log information :
    Source : Browser Event ID: 8032
    "The browser service has failed to retrieve the backup list too many times on transport \Device\NetBT_Tcpip_{611A64A2-8F4B-409E-9AB2-0D9BF741E791}. The backup browser is stopping.
    The code related to this is given below.
    import javax.swing.JApplet;
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    import netscape.javascript.JSObject;
    public class TestApplet extends JApplet {
    protected JSObject win = null;
    private JFrame frame = null;
    private boolean alreadyClosed = false;
    public void init(){
    this.win = JSObject.getWindow(this);
    frame = new JFrame("Test Frame");
    frame.setSize(300, 400);
    frame.addWindowListener(new WindowAdapter() {
    public void windowClosing(WindowEvent e) {
    System.out.println("windowClosing");
    TestApplet.this.stop();
    frame.show();
    public void stop() {
    if (!alreadyClosed) {
    alreadyClosed = true;
    closeLaunchedBrowser();
    System.gc();
    System.runFinalization();
    private void closeLaunchedBrowser() {
    final TestApplet thisObject = this;
    Runnable r = new Runnable() {
    public void run() {
    try {
    JSObject win = (JSObject)JSObject.getWindow(thisObject);
    if (win != null && win.toString() != null) {
    //win.eval("top.opener=self;self.close();");
    //win.call("close", null);
    win.eval("self.close();");
    } catch (Exception e) {
    Thread t = new Thread(r);
    t.start();
    }If any one know solution regarding how to aviod this crash of browser please let me know. I will be very thankful to you.
    Thanks.

    Right, I sort of tracked down some code that uses getMethods to allow me to invoke a Javascript command. It is not pretty and took a little bit of editing to get to work but it does the job without putting JS stuff into my HTML.
    However it is causing some problems. If I open one of my other applets it will only let me close that window and the previous applets ceases to respond at all. I think this may be because the invoke gets the JSObject which is the window and somehow having more than one applet open in different windows is causing it to get confused and is locking the first window and only responding to the second.
    I have seen a much simpler method that uses:
    import netscape.javascript.*;
    and JSObject to get the window but my compiler complains about the import. Any further suggestions or an example would be welcome as my current solution is a bit limited as you can effectively only have one window open at a time which doesn't suit my needs.
    Many thanks.
    Mark.

  • How can I add comments in genius bar reservation after closing the window?

    I was typing my additional comments in the genius bar reservation for servicing my Macbook Pro but i accidentally closed the window. Is it possible to get back to the reservation window and type in my comments??
    Thanks a lot.

    Call the Apple store where you are having your computer serviced.  Give the comments over the phone.

  • Hacking into the form values file to retrieve a post after closing a window

    Okay, I'd just finished editing and re-editing a very long post and was doublechecking some of the links when I inadvertedly closed the entire window instead of merely closing the tabbed page I'd brought the new link up on to test it.
    I poked around and found a long binary file called "Form Values" in library/safari directory and I would just bet this has my full post in it. I copied it to the desktop because I had a feeling that if I opened another form with Safari, the info would be rewritten and lost forever. So I do have a safety copy now.
    Anyone have any idea at all how I could retrieve that information, and convert it from binary back into text form so I would not have to spend another two hours remembering and rewriting the post?
    Or a way of getting Safari to recognize it and read it into a new post form?
    Boy, recovering data with a menu item like "undo close window" or a reopen sure would be a nice feature... I bet I'm not the only person that's done this.
    THANKS!!

    I just downloaded Hex Editor and gave myself a trip down memory lane (hadn't used one of these editors since my DOS days). Anyway, as I expected, it looks like the Form Values file is encrypted - there are no recognizable text strings to extract. In any case, this file contains the data you used to fill out forms at particular sites, it does not carry the entire page or form.
    You could try Retrospective to see if you can find the page with the form in Safari's cache. If you do find it, the form could be filled out as when you closed the window or it could be blank as when it was last loaded into Safari - I don't know which because I haven't searched the cache with this puspose in mind before.

  • I was trying to change my password and somehow it automatically reset the password for me and I closed the window and now I can't log in. What do I do?

    I was trying to change my password and somehow it automatically reset the password for me and I closed the window and now I can't log in. What do I do?

    HI,
    This post in in iChat (forum) but I have no idea from what you posted if it is about iChat and if so what account type you were changing the password on.
    9:25 PM      Wednesday; June 12, 2013
      iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.4)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • I accidently closed my window with all my app tabs, now the only window that opens was a 2nd one I had open. How do I get back all my app tabs from the previous window, and why didn't it give me the usual warning you are closing more than one tab?

    I accidently closed the window with all my frequently used app tabs, now the only window that opens was an extra one I had opened. How do I get back all my app tabs from the previous window, and why didn't it give me the usual warning you are closing more than one tab? edit
    Details

    Then the (App) tabs from that window are lost unless you can restore an older copy of the sessionstore.js file (Time Machine?) that has that lost window.
    *http://kb.mozillazine.org/sessionstore.js

  • Closed Project Window Stays Open

    I have one project out of three where this is a problem.  I can end the project but the window does not close.
    I am using Captivate 4 and I have gone to preferences and changed end of project to be Close Project. Even at that, the last slide wants to keep going. I want it to freeze so it can be read. I put a button on it to stop the slide and then had to put a dummy slide at the back to close the project once the viewer hits the Close button.
    On the other projects, I can just let the slide fade out. Why does the window stay open? Is there a solution? I could not find this listed in the forum but was sure this was an issue in versions 2 and 3 as well.
    Thanks.
    Jeffrey Riley

    Do you mean like this?
    Indeed, that is the new behaviour. You have to make a selection, before closing the window.
    The new GarageBand does not quit, when closing the main application window. This way you faster switch between projects. You do not have to quit and relaunch.
    If you want GarageBand to quit, use the quit command ⌘Q instead of closing the main window.
    -- Léonie

Maybe you are looking for

  • Opening an ID file in AI

    I have a file from a customer that was built in InDesign. I have ID, but do not use it much. I tried exporting it as an eps file and opening it in AI since that is what we use to send our art to film for screen printing. It opens fine, but there is a

  • How to scan using the Laserjet 100 color MFP m175nw printer

    Hello, My printer stopped printing suddenly so I downloaded the ePrint and it worked. . . but now I cant scan ! I  dont have the option to scan. Please help!

  • Is there any possible to change the shape of the gauge?

    i want to change the shape of the gauge. for example, i hope to chang it from rectangle to rotundity. is there anyone konw about this? thank you for your help . onceaway

  • Automator: Cannot convert multiple .doc files to PDF

    Hi everyone! I can't get my automator to print PDF files correctly. Once I have run the workflow I try to open the files and they are "messed up" preview and adobe both tell me that the "File cannot be opened. It may be damaged or use a file format t

  • All photos are deleted but phototheque take 3.5 Go Memory !!

    Hi everybody, I deleted all photos, but when I look in usage of phototheque it takes 3.5 Go of memory. Any idea o how to liberate this frozen memory ???? Help needed. thx comiv