Sign in to follow this  
Followers 0
EasyCo

Need some help with looping.

4 posts in this topic

Example of what im attempting to do shown below:

Posted Image

If there are any example scripts that would fall into what im attempting here please let me know :)

otherwise any help appreciated!

Thanks

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Good job eating bandwith. Why put a huge ass picture that explains nothing?

Is this what your looking for.........?

HotKeySet("{INSERT}", "Hit")
$i = 0
While 1
Sleep(50)
WEnd

Func Hit()
$i=$i+1
Send("{delete}")
If $i=20 Then
Sleep(20*60000)
Send("{delete}")
$i=0
EndFunc
Edited by d2addict4

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

[/code]
HotKeySet("{ESC}","Terminate")
Func Terminate()
    Exit 0
EndFunc
While 1; <-------while function
$cords = PixelSearch(455,392,628,496,0xcccccc)
If not @error then
    MouseClickDrag("left", $cords[0], $cords[1],842,258,10000000000)
    EndIf
WEnd; <--------- repeat while function
[code]

use the while functions to loop its the easiest loop function out their! :(

ps:that picture isnt very helpful use words plz :)

Edited by TnTProductions

"FREEDOM is not FREE""Its a good thing war is so terrible, or we grow too fond of it" -Robert E. Lee[quote]Firestrom: global $warming = False[/quote]My scripts:Desktop Cleaner---->Total Downloads:167;;;;;;;;;;1;;;;;;1;;;;;;;;;;;;;11;;;;;;;;;;;;;;;;1;;;;;;1;;;;;;;;;;;;;11;;;;;;;;;;;;;;;;1;;;;;;1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;111111;;;;;;;;;;;;;;11;;;;;;;;;;;;;;;;1;;;;;;1;;;;;;;;;;;;;;11;;;;;;;;;;;;;;;;1;;;;;;1;;;;;;;;;;;;;;11;;;;;;"a wise man once said why use your skills when we have technology"

Share this post


Link to post
Share on other sites

Good job eating bandwith. Why put a huge ass picture that explains nothing?

Is this what your looking for.........?

HotKeySet("{INSERT}", "Hit")
$i = 0
While 1
Sleep(50)
WEnd

Func Hit()
$i=$i+1
Send("{delete}")
If $i=20 Then
Sleep(20*60000)
Send("{delete}")
$i=0
EndFunc
I apologize for the pic being oversized. I figured it may help explain.

and yes that looks like it may work. thanks

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