No announcement yet.

Need MACRO-like funcionality for browser

  • Filter
  • Time
  • Show
Clear All
new posts

    Need MACRO-like funcionality for browser

    Hey guys, I need some help.

    Is there any program out there that will let me do the following on a schedule?

    -Open a web browser (if not, I cant leave it open).
    -Open the specific URL (it can be left at the location).
    -Fill user/pass form fields (using predetermined values)
    -click on a form button (login)
    -click log off link (or send logoff command)

    Thanks for any ideas you might have.
    Occam's razor ♥♥♥♥♥♥♥♥♥

    There is always WSH (Windows Scripting Host) with VBscript. you can automate just about anything with it.
    Gigabyte Ga-MA78GM-S2H
    Athlon 64 X2 2.9ghz
    4 gig ram
    ATI HD 3200

    Optorite 52x24x52 cd/rw drive,Optorite DD1205 12xDL DVD+-RRW
    ASUS DVD for Lightscribe
    Canon Du120F scanner and Canon I960 photo printer
    Hanns G 19" LCD
    Altec Lansing 120 speakers


      True WSH, but I wouldn't know exactly where to begin creating my own script. I have some knowledge of .vbs and .js but probably not enough to create this.

      Let me be a bit more specific

      - Upon being clicked, wait predetermined ammount of time (ex, 30 min)
      - The script wold need to open site
      - Populate LOGIN + PASSWORD fields, click login button.
      - when page loads, find a specific form button, then click update form button.
      - send logoff command (logoff link)

      I could of course have separate scripts for different times, one for 30 min wait, one for 15, and so on. I wish I knew more to write my own.
      Last edited by NEODARK; Jul 16, 2007, 06:22 AM.
      Occam's razor ♥♥♥♥♥♥♥♥♥


        Ok, this is what I have so far:

        Set objIE=WScript.createobject("internetexplorer.application","objIE")
        objIE.visible = True
        objIE.TheaterMode = False
        objIE.AddressBar = True
        objIE.StatusBar = False
        objIE.MenuBar = True
        objIE.FullScreen = False
        objIE.Navigate "about:blank"
        Do Until objIE.ReadyState = 4
        WScript.Sleep 100
        Set shl = WScript.CreateObject("WScript.Shell")
        shl.SendKeys "% X"
        URL = ""
        which opens the browser, and gets me to the site. So now I need to figure out the sendkeys command to populate the login/password boxes.

        This should also give me the scheduled delay. Now to figure out the rest.
        Occam's razor ♥♥♥♥♥♥♥♥♥