Click to See Complete Forum and Search --> : Executable instead of HTML file


waltharie
02-09-2005, 04:44 AM
I have a HTML file which I use to logon to my account easily It When I open it I get a normal HTML page in frond of me where I can push the button to login to my webpage.

Is there a possibility to open the HTML file and go directly into my page?

Now it uses input fields like this which are hidden:

<input type="hidden" name="username" value="The username in used here" />
<input type="hidden" name="password" value="The Password is written here" />

It would be nice if someone knows how to make a sort of a executeble out of it, so I only have an icon on my desktop which I can use to login.

This is the file in total which I use now:

<html>
<head>
<link rel="stylesheet" href="http://www.anniebeheercontract.nl/v201/themes/crystal/style.css">
<title>
E-Mail en Agenda</title></head><body marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" ><script language="javascript" type="text/javascript" src="http://www.anniebeheercontract.nl/v2/javascript/common.js">
</script>
<script type="text/javascript" language="javascript">
function hidestatus(){
window.status='Group-Office 1.13'
return true
}

if (document.layers)
{
document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT)
}

document.onmouseover=hidestatus
document.onmouseout=hidestatus
</script>
<!--Einde header-->

<form method="post" action="http://www.annienetwerk.nl/live/" name="login">
<table cellspacing="0" cellpadding="15" width="100%">
<tr>
<td align="center">
<input type="hidden" name="table_tabindex" value="0" /><table border="0" cellpadding="0" cellspacing="0" class="TableBorder" width="400"><tr><td valign="top"><table border="0" cellpadding="1" cellspacing="1" width="100%"><tr><td colspan="99" class="TableHead">E-Mail en Agenda</td></tr><tr><td colspan="99" cellpadding="10" cellspacing="0" class="TableInside" height="300" valign="top" width="100%"><input type="hidden" name="task" value="login" />
<br />
<br />
<table cellspacing="2" border="0" cellpadding="1" valign="center" align="center">
<tr>
<td colspan="2">
<h3>Klik op de knop om e-mail en agenda te starten</h3>
<br />
</td>
</tr>
<tr>
<td align="right" nowrap>
&nbsp;
</td>
<td>

<input type="hidden" name="username" value="The username in used here" />
<input type="hidden" name="password" value="The Password is written here" />

<input type="hidden" name="remind" value="true" />
</td>
</tr>

<tr>
<td colspan="2" align="center">
<br />
<input type="button" class="button" style="width: 100px;" value="starten" onclick="javascript:document.forms[0].submit();" onmouseover="javascript:this.className='button_mo';" onmouseout="javascript:this.className='button';" /> </td>
</tr>
</table>

</td></tr></table></td></tr></table> </td>
</tr>
<tr>
</table>


</form>

<!--Start Footer-->
</body>
</html>

ajkiwi88
02-09-2005, 06:05 AM
you mean so when you click an icon on your desktop it loads up a username and password box if you mean this then it would only be possible via a proper programmming language i would have though its more than easy to do iut in vb but if this isn't what you want could u have another go at explaining it

cyaz
aj

ray326
02-09-2005, 08:08 AM
Well if you had valid HTML you'd have a <body> tag in which you could put an onload action that submitted the form.

waltharie
02-09-2005, 10:24 AM
Thanks,

I just put the commandline: "javascript:document.forms[0].submit();" into the onload in the body and its working.

When I double click on the HTML file, it opens the file and sends me directly to my website.

Would it be possible to make a .exe out of this html file. I would like to give a nice icon to the file, as far as I know thats not possible now, so it looks better on my desktop.

Thanks

Rogier

ray326
02-09-2005, 02:54 PM
You could create a shortcut to the HTML file and assign an icon to that shortcut.