Sign in to follow this  
Followers 0
Rydextillxixdiex

Save Form Information

7 posts in this topic

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 :)

Share this post


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

Share this post


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


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

Share this post


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

Share this post


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

Share this post


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

: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 :)

Share this post


Link to post
Share on other sites

Lookup _IEFormElementGetValue in the help file.

Might work for you.

Kenny


My Contributions _StringMultiReplace PC Builders Console - Secure PDF Creator - Cisco VPN Installer MS DNS Server Backup Script - MS DHCP Backup Script IT Admin Console - Toggle Admin Mode - MyMovies-Add Discs Script - IT Help Desk and System Information Tool - Set On Lid Close Power Option - Streaming Media Server & Website "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."

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
Sign in to follow this  
Followers 0