Jump to content

Login in multiple IE tabs


Recommended Posts

Hello everyone,

I am sure someone,somewhere,sometime asked this exact question but I just can`t find it. I have a little bit of skill in programming.

I need to make a script that will open multiple tabs in IE and login to the pages accordingly,this is what I came up with;

 

 
Call ("Login")
 
Func Login ()
 
;google
Local $username = _IEGetObjByName ($oIE,"Email")
Local $password = _IEGetObjByName ($oIE,"Passwd")
Local $login = _IEGetObjByName ($oIE,"signIn")
_IEFormElementSetValue ($username ,"yourusername")
_IEFormElementSetValue ($password , "yourpassword")
_IEAction ($login, "click" )
 
 
;yahoo
Local $username1 = _IEGetObjByName ($oIE,"username")
Local $password1 = _IEGetObjByName ($oIE,"password")
Local $login1 = _IEGetObjByName ($oIE,"password")
_IEFormElementSetValue ($username1 ,"yourusername")
_IEFormElementSetValue ($password1 , "yourpassword")
_IEAction ($login1 , "click" )
 
 
 
;EndFunc
 
 
 
Obviously the script works but opens multiple IE browsers not tabs. Google and yahoo are used for refference only.
 
Any help is appreciated.
Thanks in advance
 

I can do everything and nothing

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