You can try the following:
{{get-the-applet}.browse-url {url "javascript://window.close()"}}
But it might not work for all browsers, operating systems, etc.
The better solution is to use a script:
{curl 3.0 script}
//open windows
{event-loop}
//end of script
Write a simple batch file that start the script file (for Windows):
C:/Programs/Curl Corporation/surge/4/bin/curl.exe myscript.xcurl
Alternatively, from Curl 4.0 there might be "detached applets" available
that won't run in a browser but in its own window.
Friedger
[EMAIL PROTECTED](B schrieb:
> Hi gurus,
>
> Can the blowser closed from applet?
> I'm designing a applet which is a part of a enterprise system
> and has no GUI,only launching other classes instance that shows
> its own windows.
>
> When a user orders to exit the system,
> I want to automatically close all windows launched
> and ,if possible, close the browser which the applet is executed
> at once.
>
> Can you tell me that there is the way to do that
> or any alternative ideas?
>
> Thanks for reading.
> Regards.
>
>
*******************************************
To unsubscribe from this list, send a mail to:
mailto:[EMAIL PROTECTED]
To contact a human list administrator, send a mail to:
mailto:[EMAIL PROTECTED]
To recieve a list of other options for this list, send a mail to:
mailto:[EMAIL PROTECTED]