Jump to content
Sign in to follow this  
paragonspawn

trying to automate form submission

Recommended Posts

paragonspawn

Hi guys. I just downloaded AutoIt and it seems like a great program but I have no idea where to begin. I did read through the help tutorials and I looked at some of the functions but I don't know which to use for my script. Maybe you guys can help me out? I'm trying to fill in a form with some text (that will never change) and then copy from a text file two, i guess, variables (?) and insert those into the form as well. And then of course submit it. That's basically it.

So I guess a really drawn out way to explain the basics is this:

fill in some forms in firefox

switch the window to notepad

highlight text on a line copy it

switch to firefox and paste it in the appropriate form

switch to notepad

highlight text on another part of the line

switch to firefox and paste it in the appropriate form

submit the form

go back to the original url

fill in some forms in firefox

switch to notepad

highlight text on the next line and copy it

switch to firefox....

And so on.

Can you guys advise me on how to get started with this?

Share this post


Link to post
Share on other sites
nguyenbason

If you want to use FireFox then check out FF.au3 UDF in example scripts.


UnderWorldVN- Just play the way you like it

Share this post


Link to post
Share on other sites
paragonspawn

If you want to use FireFox then check out FF.au3 UDF in example scripts.

Ok I ran that and it didn't do anything. So, is it just supposed to be more of a guideline script where you base your own on it?

edit- oh i think i see, you sort of plug this file into what you are writing to simply and expedite your scripts creation?

Edited by paragonspawn

Share this post


Link to post
Share on other sites
paragonspawn

bump :D

Share this post


Link to post
Share on other sites
Stilgar

bump :)

Why don't you read the text direkt from the file instead of c&p with notepad?

Have you looked at the examples from the FF.au3:

http://english.documentation.ff-au3.thorsten-willert.de/

http://thorsten-willert.de/Themen/FFau3/Beispiele/files

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  

×