K4iTO Posted September 5, 2007 Share Posted September 5, 2007 Hello I'm kind of new on Autoit3 and Need some help. I'm trying to build a simple program that will add me a website to website directory. Exemple directory http://airwalk.pl/ It shoud have Choose category choose sub-category or make new one if not exist Type e-mail type Tiltle Type Url:Http:// Kaywords It realy don't have to be GUI form. I found somthing like that: expandcollapse popup#include<IE.au3> ; Set Variables ;============================================== $message = "Your message here" $to = "someone@coolness.com" $from = "billgates@microsoft.com" $from_name = "Bill Gates" $subject = "Wow!" ;============================================== ; End Veriables $oIE = _IECreate(0) _IENavigate($oIE, "http://www.fake-mailer.com/fmlite/") ; get pointers to the login form and username and password fields $o_form = _IEFormGetObjByIndex($oIE, 0) $o_name = _IEFormElementGetObjByName($o_form, "name") $o_to = _IEFormElementGetObjByName($o_form, "to") $o_subject = _IEFormElementGetObjByName($o_form, "subject") $o_from = _IEFormElementGetObjByName($o_form, "from") $o_message = _IEFormElementGetObjByName($o_form, "message") ; Set field values and submit the form _IEFormElementSetValue($o_name, $from_name) _IEFormElementSetValue($o_to, $to) _IEFormElementSetValue($o_subject, $subject) _IEFormElementSetValue($o_from, $from) _IEFormElementSetValue($o_message, $message) _IEFormSubmit($o_form) while 1 if Winexists ("Email was sent - Microsoft Internet Explorer") then exitloop if winexists("http://www.fake-mailer.com/fmlite/sendMail.php") then WinKill ("http://www.fake-mailer.com/fmlite/sendMail.php") MsgBox(16,"Email Sender","Error Sending Email") exit endif wend MsgBox(64,"Email Sender","Email Was Sent") WinKill ("Email was sent - Microsoft Internet Explorer") But it's onlly a form of sending fake e-mail. I don't know how to move around categories and how to create new and so on. First time i Was trying to move by {tab} but hmm.. not always good idea. Please can You help me? (ps. Sorry for my english ps2. Polish help can be on pw) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now