1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
| <html>
<head>
<title>Firefox + Internet Explorer</title>
<HTA:APPLICATION
APPLICATIONNAME="Firefox + Internet Explorer"
icon="explorer.exe"
SINGLEINSTANCE="Yes" CONTEXTMENU="No" MAXIMIZEBUTTON="No"
MINIMIZEBUTTON="yes" BORDER="Thin" SELECTION="No" SCROLL="No"
ID="Firefox + Internet Explorer"/>
<style>
Input,button { border:2px solid #FF6A22;
background-color:#FFFF00;
font-family:Verdana;
font-size:12px;
height:25px;
font-weight:bold;
cursor:hand; }
</style>
</head>
<script language="VBScript">
Self.ResizeTo 400,250 : Self.MoveTo (Screen.Width/2)-200,(Screen.Height/2)-200
Sub Firefox()
Set Ws = CreateObject("Wscript.Shell")
Command1 = "cmd /c Taskkill /F /IM iexplore.exe"
Command2 = "cmd /c cd ""C:\Program Files\Mozilla Firefox\"" | Start firefox.exe"
Execution1 = Ws.Run(Command1,0,True)
Execution2 = Ws.Run(Command2,0,True)
End Sub
Sub IE()
Set Ws = CreateObject("Wscript.Shell")
Command1 = "cmd /c Taskkill /F /IM firefox.exe"
Command2 = "cmd /c cd ""C:\Program Files\Internet Explorer\"" | Start iexplore.exe"
Execution1 = Ws.Run(Command1,0,True)
Execution2 = Ws.Run(Command2,0,True)
End sub
</script>
<body STYLE="font:14 pt arial; color:white;
filter:progid:DXImageTransform.Microsoft.Gradient
(GradientType=1, StartColorStr='#000000', EndColorStr='#0000FF')">
<center>
Lancer le Navigateur FireFox<br><br>
<input type="button" class="button" name="Firefox" id="Firefox" value="Firefox" onclick="Firefox()"><br><br>
Lancer le Navigateur Internet Explorer<br><br>
<input type="button"class="button" name="IE" id="IE" value="Internet Explorer" onclick="IE()">
</body>
</html> |
Partager