Jump to content
SerHenning

Brpwser login using different accounts from an file

Recommended Posts

Hey, I'm fairly new to AutoIT, i've tried my luck with python but didn't really like it.

So what I want to do is to setup differenct email accounts in a file (something like excel or whatever fits autoit) and then log in one after the other systemetically.

How do I set up AutoIT to read such a file?

Also quick question on the side, can I still use Firefox, as I heard that mozrepl doesnt get updated anymroe.

yours Henning

Share this post


Link to post
Share on other sites
Posted (edited)

Hi @SerHenning, and welcome to the AutoIt forums :welcome:

2 hours ago, SerHenning said:

something like excel

Take a look at Excel UDF in the Help file.

2 hours ago, SerHenning said:

How do I set up AutoIT to read such a file?

File* and oor _File* functions.

2 hours ago, SerHenning said:

can I still use Firefox

Take a look at FireFox UDF on the Forum :)

Edited by FrancescoDiMuro

Click here to see my signature:

Spoiler

Thoughts:

  • I will always thank you for the time you spent for me.
    I'm here to ask, and from your response, I'd like to learn.
    By my knowledge, I can help someone else, and "that someone" could help in turn another, and so on.

/*--------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/

ALWAYS GOOD TO READ:

 

Share this post


Link to post
Share on other sites
1 hour ago, FrancescoDiMuro said:
3 hours ago, SerHenning said:

can I still use Firefox

Take a look at FireFox UDF on the Forum :)

Actually, that UDF is the one that uses the now defunct MozRepl. He's better off using either WebDriver UDF or IUIAutomation.

3 hours ago, SerHenning said:

So what I want to do is to setup differenct email accounts in a file (something like excel or whatever fits autoit) and then log in one after the other systemetically.

Will the be done in a single tab or multiple tabs? What will you do once you login to an email account?

Share this post


Link to post
Share on other sites
4 hours ago, SerHenning said:

So what I want to do is to setup differenct email accounts in a file (something like excel or whatever fits autoit) and then log in one after the other systemetically.

Could you please explain the purpose of all of this?

Jos  

PS; everybody else stay out please until it's clear.


SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

First, thanks @FrancescoDiMuro and @Danp2

@Jos the purpose of all that will be, to be able to launch all my junkmail addresses I used to register on different webistes quickly and at the same time (I got more than 10 by now xd) and then quickly go through the tabs to find certain emails (keeping track of subscirptions, cancelations and so on). It actually won't do more than just login, Ill go through them manually, because I don't think im capable of doing any kind of AI haha . I'm trying to get into autoit, so ) I try to start with something (I hope) simple, that I can kind of use.

I'll use the Multi-Account Container plugin for firefox.

Share this post


Link to post
Share on other sites

My suggestion would be to use iuiautomation see link below 

  1. Within UIA.CFG you can make a section with emails like
    [emails]
    address1=me@site1.com
    address2=me2site1.com

     

  2. With simplespy you build your first script to understand the concept read some examples
  3. Example 32 will give you details on how to recognize firefox definitions
  4. Your email addresses defined you can reuse like below
    _UIA_action("browser1.emailaddress","setvalue",  _UIA_getvar("emails.address1"))

     

Share this post


Link to post
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

×
×
  • Create New...