how to automate login to this site

Discussions and Tech Support related to automating the iMacros Browser or Internet Explorer from any scripting and programming language, such as VBS (WSH), VBA, VB, Perl, Delphi, C# or C++.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
satish_k
Posts: 15
Joined: Wed Sep 13, 2006 9:18 am

how to automate login to this site

Post by satish_k » Mon Sep 18, 2006 1:51 pm

Hi all,
Can anyone tell me how to automate login to this site
http://elf.meterpower.co.uk/login.asp

using imacros and vb script

also a site wherein I can find imacro scripting tutorials

Satish
User avatar
Tech Support
Posts: 4947
Joined: Tue Sep 20, 2005 7:25 pm
Contact:

Re: how to automate login to this site

Post by Tech Support » Mon Sep 18, 2006 3:07 pm

Hi,

recording the macro will result in in something like this:

Code: Select all

VERSION BUILD=5200814     
TAB T=1     
TAB CLOSEALLOTHERS     
URL GOTO=http://elf.meterpower.co.uk/login.asp       
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:form1 ATTR=NAME:groupid CONTENT=group 
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:form1 ATTR=NAME:userid CONTENT=id 
TAG POS=1 TYPE=INPUT:PASSWORD FORM=NAME:form1 ATTR=NAME:password CONTENT=C05ED68F887C75C45F21031B42378B9291BD38981532E9970CA664B8B710A9F0 
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:form1 ATTR=NAME:Enter&&VALUE:Enter  
'Comment: New page loaded    
If you always use the same username/id/password, starting the macro is all you need.

For scripting, http://iopus.com/imacros/support/index.htm#tutorials may be of interest.



Best,

Hannes Michalek, iOpus Support
satish_k
Posts: 15
Joined: Wed Sep 13, 2006 9:18 am

how to automate login and navigate to next page

Post by satish_k » Tue Sep 19, 2006 5:38 am

Hi ,
what is the format in content
05ED68F887C75C45F21031B42378B9291BD38981532E9970CA664B8B710A9F0.
In case my password is "Mobile" ,how do I automate the login with the password provided and to navigate to next page.

Regards
Satish
satish_k
Posts: 15
Joined: Wed Sep 13, 2006 9:18 am

Post by satish_k » Tue Sep 19, 2006 8:03 am

after automatically clicking the enter button cursor should navigate to next page that is
http://elf.meterpower.co.uk/sp_main.asp

Regards
Satish
Hannes, Tech Support

Re: how to automate login and navigate to next page

Post by Hannes, Tech Support » Tue Sep 26, 2006 2:51 pm

satish_k wrote: what is the format in content
05ED68F887C75C45F21031B42378B9291BD38981532E9970CA664B8B710A9F0.
In case my password is "Mobile" ,how do I automate the login with the password provided and to navigate to next page.
This long string is the password, encrypted with 265 bit AES (cf. http://www.iopus.com/imacros/help/security.htm). If you record a login session, iMacros stores your password in this encrypted way in the macro. To get yours, simply record a login session and have a look at the recorded macro.

Using your login data (group, id, and your encrypted password) in the script above should result in a successful login (including using the "Enter" button with the last TAG command).


Hannes
Post Reply