Sure it should be doable. This method is a bit of a hack, and lots of things can break it...
If you are using EventGhost, then you don't need to do much other than create a command like this:
then you need an macro in eventGhost that would be triggered by that event. This macro would need to:
- launch your web browser
- wait long enough that the page was loaded (make it longer that you have to so it works when the internet is slow)
- click on the username field, enter the text
- click on the password field, enter the text, and hit enter
here's a sample that does it. note that it opens the browser to a maximized state, and then always clicks in the same place. If the design of the website changes or your browser layout changes (i.e. an extra level of toolbars) it won't be clicking in the right place anymore.
you should be able to copy and paste this text directly into the eventghost configuration tree. and then make adjustments.
<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1462">
<Macro Name="Start Program: iexplore.exe" Expanded="True">
<Event Name="login2StockMarketSite" />
<Action>
System.Execute(u'C:\\Program Files (x86)\\Internet Explorer\\iexplore.exe', u'https://sourceforge.net/account/login.php', 2, False, 2, u'')
</Action>
<Action>
EventGhost.Wait(6.0)
</Action>
<Action>
Mouse.MoveAbsolute(450, 398)
</Action>
<Action>
Mouse.LeftButton()
</Action>
<Action>
Window.SendKeys(u'james', False)
</Action>
<Action>
Mouse.MoveAbsolute(450, 430)
</Action>
<Action>
Mouse.LeftButton()
</Action>
<Action>
Window.SendKeys(u'god{Return}', False)
</Action>
</Macro>
</EventGhost>