Forum Moderators: open

Message Too Old, No Replies

Trigger browser automatically

Plug in a USB memory Stick and browser starts automatically showing introdu

         

superleo

9:15 pm on Sep 1, 2005 (gmt 0)

10+ Year Member



Hi
This is my problem.
Im creating a multimedia presentation including flash, htm, pdfs etc. The content will be stored in a USB Memory Stick and given away to future customers. The idea is that every time the user plug their USB Memory Stick into the computer, their browser will start automatically and the introduction page will be shown. This page to be more specific

<Sorry, no example URLs.
See Terms of Service [webmasterworld.com]>

Is this possible? Can i do it with Flash or other Macromedia program?
Can a script trigger the browser as soon the USB Memory Stick is pluged into the computer?

Please guide me in the right direction.
Thanks
Leo

[edited by: tedster at 4:00 am (utc) on Sep. 2, 2005]

kaled

11:30 pm on Sep 1, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Whether a USB stick will autoplay or not will depend on various registry settings. However, if you find a cd that auto-plays, study how it works and duplicate it.

Looking at one in my PC right now....

Create a file called autorun.inf
Within that file add the following
[autorun]
open=presentation.html
icon=presentation.ico

The icon statement is probably optional.

Kaled.

vinilios

11:52 pm on Sep 1, 2005 (gmt 0)

10+ Year Member



this is prolly the simpliest way.
it will open presentation.html wich should be in the stick.

so you have to put a redirect to your site on the html file


<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<title>Example</title>
<meta HTTP-EQUIV="REFRESH" content="0; url=http://www.example.com/introv.htm">
</head>

<body>
</body>

</html>

more info bout autorun.inf can be found here [msdn.microsoft.com]

and of course here [google.com...]

[edited by: encyclo at 1:11 am (utc) on Sep. 2, 2005]
[edit reason] Changed to example.com and fixed sideways scroll [/edit]

superleo

6:37 am on Sep 2, 2005 (gmt 0)

10+ Year Member



Thank you very much
Ill give it a try and get back to you guys :D

superleo

3:11 pm on Sep 5, 2005 (gmt 0)

10+ Year Member



well after a couple of searches I came across with this sweet prog ...
Does all the hard work and works fine.
Thanks again
leo

[edited by: tedster at 6:19 pm (utc) on Sep. 5, 2005]
[edit reason] removed specfics [/edit]