Jump to content

Help cleaning up this messy script


Recommended Posts

OK heres my code im only new and its a bit messy can someone help me clean it up,like for example why i have all those sleeps is because im estimating how long it will take for the page to load but i dont know the funcion for wait untill page loads all it does is open up firefox goes to zipspam.com and makes a email account then opens notepad and pastes the email address and password

Run("C:\Program Files\Mozilla Firefox\firefox.exe") 
Sleep(4000)
mouseclick ( "{left}" )
Send("{ALT down}");Holds the Alt key down
Send("{d down}");Holds the A key down
Send("{ALT up}");Holds the Alt key down
Send("{d up}");Releases the d key
Send("http://www.zipspam.com/{ENTER}") 
Send("{ALT down}");Holds the Alt key down
Send("{d down}");Holds the A key down
Send("{ALT up}");Holds the Alt key down
Send("{d up}");Releases the d key
Sleep(4000)
mouseclick ( "left" ,197, 480 ,1 ,90)
mouseclick ( "left" ,240, 507 ,1 ,90)
Send("freeaccount")
Send ( "{TAB}" )
Send("freeaccount")
Send ( "{TAB}" )
Send("duffy")
Send ( "{TAB}" )
Send("{ENTER}") 
Sleep(7000)
MouseClickDrag("left",393, 446, 218,398)  
Send("{CTRLDOWN}") 
Send("{c down}")
Send("{CTRLUP}") 
Send("{c UP}")
Run("notepad.exe")
mouseclick ( "left" ,688, 348 ,1 ,90)
 Send("{CTRLDOWN}") 
Send("{v down}")
Send("{CTRLUP}") 
Send("{v UP}")
Send(" - freeaccount")
Edited by Duffy
Link to comment
Share on other sites

Moin,

;Run("C:\Program Files\Mozilla Firefox\firefox.exe")
ShellExecute("http://www.zipspam.com/")
Sleep(5000)
;Send("!d"); ALT+D

;Send("{ALT down}");Holds the Alt key down
;Send("{d down}");Holds the A key down
;Send("{ALT up}");Holds the Alt key down
;Send("{d up}");Releases the d key
;Send("http://www.zipspam.com/{ENTER}")
;Send("{ALT down}");Holds the Alt key down
;Send("{d down}");Holds the A key down
;Send("{ALT up}");Holds the Alt key down
;Send("{d up}");Releases the d key
;Sleep(4000)
mouseclick ( "left" ,197, 480 ,1 ,90)
mouseclick ( "left" ,240, 507 ,1 ,90)
Send("freeaccount")
Send ( "{TAB}" )
Send("freeaccount")
Send ( "{TAB}" )
Send("duffy")
Send ( "{TAB}" )
Send("{ENTER}")
Sleep(7000)
MouseClickDrag("left",393, 446, 218,398)
Send("^c") ; copy (STRG+C)

;Send("{CTRLDOWN}")
;Send("{c down}")
;Send("{CTRLUP}")
;Send("{c UP}")
Run("notepad.exe")
mouseclick ( "left" ,688, 348 ,1 ,90)
Send("^v") ; paste (STRG+V)
;Send("{CTRLDOWN}")
;Send("{v down}")
;Send("{CTRLUP}")
;Send("{v UP}")
Send(" - freeaccount")oÝ÷ Ù«­¢+ÙIÕ¸ ÌäíèÀäÈíAɽɴ¥±ÌÀäÈí5½é¥±±¥É½àÀäÈí¥É½à¹áÅÕ½Ðí¡ÑÑÀè¼½ÝÝܹé¥ÁÍÁ´¹½´¼ÅÕ½ÐìÌäì¤(íM¡±±áÕÑ ÅÕ½Ðí¡ÑÑÀè¼½ÝÝܹé¥ÁÍÁ´¹½´¼ÅÕ½Ðì¤)]¥¹]¥Ð Ìäíé¥ÁÍÁ´¹½´´5½é¥±±¥É½àÌäì¤(íM±À ÔÀÀÀ¤()µ½Õͱ¥¬ ÅÕ½Ðí±ÐÅÕ½Ðì°ÄäÜ°ÐàÀ°Ä°äÀ¤)µ½Õͱ¥¬ ÅÕ½Ðí±ÐÅÕ½Ðì°ÈÐÀ°ÔÀÜ°Ä°äÀ¤)M¹ ÅÕ½ÐíɽչÐÅÕ½Ðì¤)M¹ ÅÕ½ÐííQ  ôÅÕ½Ðì¤)M¹ ÅÕ½ÐíɽչÐÅÕ½Ðì¤)M¹ ÅÕ½ÐííQ   ôÅÕ½Ðì¤)M¹ ÅÕ½ÐíÕäÅÕ½Ðì¤)M¹ ÅÕ½ÐííQ ôÅÕ½Ðì¤)M¹ ÅÕ½Ðíí9QIôÅÕ½Ðì¤()]¥¹]¥Ð Ìäíé¥ÁÍÁ´¹½´´5½é¥±±¥É½àÌäì¤(íM±À ÜÀÀÀ¤)5½ÕÍ
±¥­É ÅÕ½Ðí±ÐÅÕ½Ðì°ÌäÌ°ÐÐØ°ÈÄà°Ìäà¤)M¹ ÅÕ½ÐíyÅÕ½Ðì¤ì½Áä¡MQI­¤()¥±]ɥѡͭѽÁ¥ÈµÀìÌäìÀäÈí½Õ¹ÐѹÑáÐÌäì°
±¥ÁÐ ¤µÀìÅÕ½Ðì´É½Õ¹ÐÅÕ½Ðì¤((íIÕ¸ ÅÕ½Ðí¹½ÑÁ¹áÅÕ½Ðì¤(íµ½Õͱ¥¬ ÅÕ½Ðí±ÐÅÕ½Ðì°Øàà°ÌÐà°Ä°äÀ¤(íM¹ ÅÕ½ÐíyØÅÕ½Ðì¤ìÁÍÑ(íM¹ ÅÕ½Ðì´É½Õ¹ÐÅÕ½Ðì¤

Greetz

Greenhorn

Edited by Greenhorn
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...