DUX COMPUTER DIGEST

 

Site Search

Site Info

Home » Forums » Forum Archives » Other Computer Problems » Topic # 79

How to create an AUTORUN script on CDROM?
DrJOnes666 Nov-13-00 05:54 PM
Hi.
I'm creating a simple HTML web page that I'm putting on CDROM. Is there a way to create an AUTORUN script that will open the web page when inserting the CDROM wihtout having to actually go on it, and double-click on the HTML page?


Further more, anyone skilled with HTML could help me with something else. What are the settings (and where? BODY?) that I can add in order for the HTML page to open without the Task Bars? I just want a frame.

Martin


1. RE: How to create an AUTORUN script on CDROM?
lbyard Nov-13-00 08:45 PM
In response to message 0
For autorun see September 98 of the Microsoft Systems Journal at http://www.microsoft.com/msj/defaulttop.asp?page=/msj/0998/win320998top.htm.
Larry

2. RE: How to create an AUTORUN script on CDROM?
lbyard Nov-13-00 08:49 PM
In response to message 0
I think you will need a Java script to open the browser window. See if http://www.coolnerds.com/jscript/winopen.htm helps. Larry

3. RE: How to create an AUTORUN script on CDROM?
DrJOnes666 Nov-13-00 09:40 PM
In response to message 2
Thanks!
I already knew about creating a LINK that will open a new window with no task bars...
But what I want is for the current HTML file to contain these properties.
For instance, I want to doubleclick on index.html directly on my HD; and that file would already have no toolbars. How do I do that?

Martin


4. RE: How to create an AUTORUN script on CDROM?
DrJOnes666 Nov-13-00 10:27 PM
In response to message 3
I have found a way to bypass it though... But I need some help.
I was able to create an index.html file that automatically refresh and popup a new html page with no tollbars (see havascript mentioned above).
Now, all I need to do is AUTOMATICALLY CLOSE the original index.html by itself.
What I did was add a onLoad="setTimeout(window.close, 10)" to the BODY tag. It works but... the problem is EXPLORER is asking for a CONFIRMATION to close the original window.
Is there a way to bypass the confirmation popup, so index.html would just close itself?

Thanks for you input.

Martin


| Home | Guides | How to | Reviews | Online Store | FAQ | Forums | Forum Archives |
| Links | News | Newsletter | About Dux | Advertising | Contact Info | Privacy |