| View previous topic :: View next topic |
| Author |
Message |
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1753 Location: Space and Time
|
Posted: Wed Oct 17, 2007 5:59 pm Post subject: Send keystrokes to browser |
|
|
Is there a way I can send keystrokes to a field on a browser such as a username or password field? I have tried window send and it is not working.
thanks _________________ Chris
Http://theblindhouse.com |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
Posted: Tue Oct 23, 2007 8:45 pm Post subject: |
|
|
Do you want to open a website which will automatically login or something? In that case, you might be better of by creating the HTML page below with VDS and open it in your webbrowser. It will then automatically submit the form and the user will be logged in.
| Code: | <html>
<head>
<script>
function login()
{
document.getElementById("frmLogin").submit();
}
</script>
</head>
<body>
<form action="http://www.your-url.com/login.php?do=login" method="post" id="frmLogin">
<input type="hidden" name="extrafield" value="extravalue" />
<input type="hidden" name="do" value="login" />
<input type="hidden" name="username" value="Enter username here with the use of VDS" />
<input type="hidden" name="password" value="Enter password here with the use of VDS" />
<input type="submit" />
</form>
<script>
login();
</script>
</body>
</html> |
_________________ [ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial! |
|
| Back to top |
|
 |
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1753 Location: Space and Time
|
Posted: Tue Oct 23, 2007 8:51 pm Post subject: |
|
|
Thanks, but no. I am trying to make an on-screen keyboard. I can get it to work with most apps, but not browsers. It doesn't send the keys to the field that the cursor is in... or any field at all on the page. I have tried to find the id of the browser element and send the keys that way, sometimes I can't and when I can, it doesn't work right. I'm a little frustrated. _________________ Chris
Http://theblindhouse.com |
|
| Back to top |
|
 |
|