Re: how to open a web page and logon?

Tech-Archive recommends: Fix windows errors by optimizing your registry




"LJB" <.> wrote in message news:uZp0Yt5%23HHA.1188@xxxxxxxxxxxxxxxxxxxxxxx
Is it possible to script something to open a web page and logon? The web
page I want to open places the cursor in the userID box by default. I'd
need something to enter the userID + <tab> + password + <tab> + <enter>. I
have to open the page many times per day and its a nuisance to type all
this in every time.

thanks
LJB


Use a script file to launch your browser, then send it the
required keystrokes like so:
Set ws=CreateObject("WScript.Shell")
ws.sendkeys("{Home}")
wScript.Sleep(500)
ws.sendkeys("LJB{Tab}")
wScript.Sleep(500)
ws.sendkeys("password{Enter}")
wScript.Sleep(500)


.



Relevant Pages

  • Re: Hyperlinks and various browsers
    ... and when the cursor moves away from the hyperlink it changes back to ... The following browsers do not handle hyperlinks normally, i.e. the cursor ... If the browser window is active, the cursor changes when I mouseover a hyperlink. ...
    (comp.sys.mac.hardware.misc)
  • Re: Drawing in CHtmlView
    ... represent the other person's cursor, so this cursor is what I want to draw ... other person's browser. ... All the drawing is done by and in that control. ... In order to draw something in that window you will have to replace that ...
    (microsoft.public.vc.mfc)
  • Re: Drawing in CHtmlView
    ... represent the other person's cursor, so this cursor is what I want to draw ... other person's browser. ... All the drawing is done by and in that control. ... In order to draw something in that window you will have to replace that ...
    (microsoft.public.vc.mfc)
  • Re: Using JavaScript to Customize Mouse Pointer Graphic??
    ... As I said, I don't know of browser support for that feature, the IE ... cursor: url, auto; ... files supposed to end in ".cur" for some reason?? ...
    (comp.lang.javascript)
  • Re: CSS trouble. Hand or Pointer?
    ... the hand cursor or pointer cursor, ... IE supports the 'hand' cursor and not the 'pointer' ... What I am looking to do, is instead of identifying the browser, I would ... This will also ensure that my script remains compatible with most ...
    (microsoft.public.windows.inetexplorer.ie6.browser)