Jump to content

Recommended Posts

Posted

Ok.. :)

Thanks all

:whistle:

Grr the sad smiley is making me feel bad...

so i'll give you a helpful hint

Try looking in the helpfile for 'loops'

particually 'While...Wend' loops

And make sure to check the included examples

Posted

:whistle:

Grr the sad smiley is making me feel bad...

so i'll give you a helpful hint

Try looking in the helpfile for 'loops'

particually 'While...Wend' loops

And make sure to check the included examples

it made me feel terrable.

HotKeySet("{END}", "Terminate")
while 1
    $Connected = 1
    If $Connected = 1 Then
        MouseMove(632,415,0)
        MouseClick("left",632,415,1)
    ElseIf $Connected = 1
        MouseMove(996,712,0)
        MouseDown ( "left" )
        sleep(3500)
        MouseUp ( "left" )
    Else
        MouseMove(513,423,0)
        MouseDown ( "left" )
        sleep(2000)
        MouseUp ( "left" )
    EndIf   
WEnd
Func Terminate()
    Exit 0
EndFunc

so when the end key is pressed the program will stop.

there u go :)

Posted

it made me feel terrable.

HotKeySet("{END}", "Terminate")
while 1
    $Connected = 1
    If $Connected = 1 Then
        MouseMove(632,415,0)
        MouseClick("left",632,415,1)
    ElseIf $Connected = 1
        MouseMove(996,712,0)
        MouseDown ( "left" )
        sleep(3500)
        MouseUp ( "left" )
    Else
        MouseMove(513,423,0)
        MouseDown ( "left" )
        sleep(2000)
        MouseUp ( "left" )
    EndIf   
WEnd
Func Terminate()
    Exit 0
EndFunc

so when the end key is pressed the program will stop.

there u go :)

so much for this

Give a man a fish and he'll...

You know the rest. :whistle:

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...