Jump to content

Save Form Information


Recommended Posts

How can i go about writing a script that will save a users "Input" into boxes such as "User Name" and "Password", possibly to a Ini. file?

For example, when one goes to log into GMAIL, when the user types their "username" in the "username" form, autoit will save the characters entered into that forum to be accessed later; the same should be done for the password. Is it even possible for the script to read a web page and be able to distinguish the password from the user name form?

Essentially i would like to use this knowledge to make an all around log in system for all my web accounts and forums i actively participate in. Just create a GUI and click the proper button and it will open the website, and auto-log in from previously recorded information.

For now i just need help saving the user inputs though : ) thanks for any help.

...will never learn all there is to know about autoit, no worries...i came to the forums :)

Link to comment
Share on other sites

How can i go about writing a script that will save a users "Input" into boxes such as "User Name" and "Password", possibly to a Ini. file?

For example, when one goes to log into GMAIL, when the user types their "username" in the "username" form, autoit will save the characters entered into that forum to be accessed later; the same should be done for the password. Is it even possible for the script to read a web page and be able to distinguish the password from the user name form?

Essentially i would like to use this knowledge to make an all around log in system for all my web accounts and forums i actively participate in. Just create a GUI and click the proper button and it will open the website, and auto-log in from previously recorded information.

For now i just need help saving the user inputs though : ) thanks for any help.

Look in the help for GuiCtrlRead, IniWrite and IniRead and play with the examples. There are plenty of other examples in these forums.
Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
Link to comment
Share on other sites

Understandable, but how can i utilize it to read the user input of a form embedded into a web page? or is this even possible?

Have a look at the include IE.au3 functions.
Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
Link to comment
Share on other sites

Why wouldn't you just turn on password history in Firefox or IE? Are you scraping your own passwords or someone else?

:)

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Link to comment
Share on other sites

  • 4 weeks later...

Why wouldn't you just turn on password history in Firefox or IE? Are you scraping your own passwords or someone else?

:P

I was going to take on a project of a GUI type interface in which you can click on the site name/icon and it will launch the site in Firefox and auto-log in with data SAVED when the website was previously visited, weeding out the manual entering of usernames / pwds into the app.

...will never learn all there is to know about autoit, no worries...i came to the forums :)

Link to comment
Share on other sites

Lookup _IEFormElementGetValue in the help file.

Might work for you.

Kenny

 "I believe that when we leave a place, part of it goes with us and part of us remains... Go anywhere, when it is quiet, and just listen.. After a while, you will hear the echoes of all our conversations, every thought and word we've exchanged.... Long after we are gone our voices will linger in these walls for as long as this place remains."

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