VBS or batch script to change setting

Discussion in 'General Discussion' started by jmsnyc, Jan 25, 2006.

  1. jmsnyc

    jmsnyc Network Guru Member

    I wish to create a shortcut to disable/enable wireless settings on my router. I tried a vbs script to automate the keystrokes but for some reason I cannot tab to the password field amd type. Can anyone provide me with a simple script to change this setting on my router?

    I tried this:
    set WshShell = WScript.CreateObject("WScript.Shell")
    WshShell.Run ""
    WScript.Sleep 10

    WScript.Sleep 10
    WshShell.SendKeys "{TAB}"
    WScript.Sleep 10
    WshShell.SendKeys "mypassword"

    Once I get to this point, I wish to set the wireless mode to disabled.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice