Jump to content

WIFI / Internet


Recommended Posts

HI,

I'm a newbie at AutoIt, and am working on a script that will do the following:

OS (Windows XP) and IE 7

1) Open the WIFI Connection and choose a specific wifi... "MyWifi" <--- Need help with this area

2) Open Internet Explorer and connect to our company's wifi policy page and accept the policy <---- This works

3) Accept the "There is a problem with this websites Security certificate.. continue on to this website <---- cant get this part to work

MsgBox(64, "WIFI", "Manually Verify you are connected to a WIFI Host")

#include <IE.au3>

;Accept the WIFI Policy

$oIE = _IECreate ("Enter URL HERE")

_IELoadWait($oIE)

$oForm = _IEFormGetCollection ($oIE, 0)

$oAccept = _IEFormElementGetObjByName ($oForm, "Accept")

_IEAction($oAccept, "click")

$oForm = _IEFormElementGetObjByName ($oForm, "continueToSiteAlign")

_IEAction($oAccept, "Click")

any help on this is much much appreciated.. thank you!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...