Jump to content

IE Automation


Generator
 Share

Recommended Posts

Hi,

I am looking for a script that will log on to a site via IE7 and then install the Certificate for that site.

I was trying a keyboard macro, but the little widget that pops up only accepts input from a mouse.

Any help would be appriciated.

OldDog

Please provide more information such as a website and user account to test with.
Link to comment
Share on other sites

  • Replies 55
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

http://www.mapquest.com/directions/main.adp?bCTsettings=1

you have to enter in street, city, zip, state

(Check your PMs generator)

Not sure how you want to do it, because i saw there's a save setting, so you can just load it everytime, other than that send me PM with more Info.

Updated for SteveO NeoPet forum reply, only works for english version of the website

Link to comment
Share on other sites

also,

can you figure out how to maybe join a group with facebook :), thanks

edit: this is what i got so far but i can't seem to do the very last step.

_JoinGroup($Mail, $Pass, "THEY ARE TRYING TO SHUT DOWN FACEBOOK - PETITION TO KEEP IT! INVITE ALL!Global", 5000)
Func _JoinGroup($oEmail, $oPassword, $oGroup, $oTimeout)
    Local $oIE3, $oForm, $oQuery, $oSubmit, $oElement, $oObj
    _IEErrorHandlerRegister()
    _IELoadWaitTimeout($oTimeout)
    $oIE3 = _IECreate("http://www.facebook.com/", 0, 1, 1)
    $oForm = _IEFormGetObjByName($oIE3, "loginform")
    $oQuery = _IEFormElementGetObjByName($oForm, "email")
    $o_Query = _IEFormElementGetObjByName($oForm, "pass")
    $oSubmit = _IEFormElementGetObjByName($oForm, "doquicklogin")
    _IEFormElementSetValue($oQuery, $oEmail)
    _IEFormElementSetValue($o_Query, $oPassword)
    _IEAction($oSubmit, "click")
    _IELoadWait($oIE3, $oTimeout, $oTimeout)
    _IENavigate($oIE3, "http://albany.facebook.com/s.php?ref=search")
    _IELoadWait($oIE3, $oTimeout, $oTimeout)
    $oForm = _IEFormGetCollection ($oIE3,1)
    $o_Query=_IEFormElementGetCollection($oForm,0)
    _IEFormElementSetValue($o_Query, $oGroup)
    $oForm = _IEFormGetObjByName($oIE3, "Search")
    _IEFormSubmit ($oForm)
    _IELoadWait($oIE3, $oTimeout, $oTimeout)
    
EndFunc

this is a method you can do by joining a group by name, if you give me the last step i can do directly by putting in the address ;)

Thanks in advance

Edited by SleepyXtreme
Link to comment
Share on other sites

Maybe add this to first post :):

Gunbound Login with a processbar and hidden window ;)

#include<IE.au3>
$Account=""
$Password =""
$Timeout=5000
_Login($Account,$Password,$Timeout)

Func _Login($oAccount, $oPassword, $oTimeout)
    Local $oIE, $oForm, $oQueryUser, $oSubmit, $oElement, $oObj, $oQueryPassword
    ProgressOn("Gunbound Login", "Starting up", "0 percent")
    _IEErrorHandlerRegister()
    ProgressSet( 0, "0 percent")
    _IELoadWaitTimeout($oTimeout)
    for $x = 1 to 20
        ProgressSet( $x, $x &" percent")
        sleep(100)
    Next    
    $oIE = _IECreate("http://gunbound.ijji.com/", 0, 0, 1)
    ProgressSet( 20, "20 percent")
    _IELoadWait($oIE, $oTimeout, $oTimeout)
    ProgressSet( 40, "40 percent")
    $oForm = _IEFormGetCollection ($oIE,1)
    $oQueryUser=_IEFormElementGetCollection($oForm,2)
    $oQueryPassword=_IEFormElementGetCollection($oForm,3)
    ProgressSet( 60, "60 percent")
    _IEFormElementSetValue($oQueryUser, $oAccount)
    _IEFormElementSetValue($oQueryPassword, $oPassword)
    ProgressSet( 70, "70 percent")
    _IEFormSubmit ($oForm)
    ProgressSet( 80, "80 percent")
    _IELoadWait($oIE, $oTimeout, $oTimeout)
    ProgressSet( 90, "90 percent")
    _IENavigate($oIE, "java script:void(getLaunchScript('u_gbound', ''))")
    for $x = 91 to 100
        ProgressSet( $x, $x &" percent")
        sleep(100)
    Next
    ;_IELoadWait($oIE, $oTimeout, $oTimeout)
    _IEQuit($oIE)
    ProgressSet(100 , "Done", "Complete")
    sleep(500)
    ProgressOff()   
EndFunc   ;==>_Login
Link to comment
Share on other sites

  • 4 weeks later...

the Forum Login wont work at me :S

If i double click on it it wont do anything :S

It wont open a site or anything

I just hear 2 click sounds

Minesweeper

A minesweeper game created in autoit, source available.

_Mouse_UDF

An UDF for registering functions to mouse events, made in pure autoit.

2D Hitbox Editor

A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.

Link to comment
Share on other sites

  • 1 month later...

A bot for the application on facebook called StarCraft Pride.

#include<IE.au3>
Dim $Action[2]
$oEmail = ""
$oPassword = ""
$oTimeout = 3500  ;in million secs

_IEErrorHandlerRegister()
_IELoadWaitTimeout($oTimeout)
$oIE = _IECreate("http://www.facebook.com/", 0, 0, 1)
WinSetState(_IEPropertyGet($oIE, "hwnd"), "", @SW_HIDE)
$oForm = _IEFormGetObjByName($oIE, "loginform")
$oQuery = _IEFormElementGetObjByName($oForm, "email")
$o_Query = _IEFormElementGetObjByName($oForm, "pass")
$oSubmit = _IEFormElementGetObjByName($oForm, "doquicklogin")
_IEFormElementSetValue($oQuery, $oEmail)
_IEFormElementSetValue($o_Query, $oPassword)
_IEAction($oSubmit, "click")
_IELoadWait($oIE, $oTimeout, $oTimeout)
_IENavigate($oIE, "http://apps.facebook.com/starcraftic/base.php")
_IELoadWait($oIE, $oTimeout, $oTimeout)

While 1 
    $Action[0] = _IEGetObjByName($oIE, "action", 0)
    $Action[1] = _IEGetObjByName($oIE, "action", 1)
    _IEAction($Action[Random(0,1,1)], "click")
    If @error Then _IENavigate($oIE, "http://apps.facebook.com/starcraftic/base.php")
    _IELoadWait($oIE, $oTimeout, $oTimeout)
WEnd
Edited by Generator
Link to comment
Share on other sites

  • 4 weeks later...

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...