Jump to content
Sign in to follow this  
frostyflip

Help me for my script

Recommended Posts

frostyflip

Can some1 modify my script plz x.x just add key to start and pause my script then when i press it again it start de script

My script ---->Sleep(3000)

While MouseMove(277,173)

MouseClick("Left")

Sleep(2000)

MouseMove(277,193)

MouseClick("Left")

Sleep(3500)

Wend

Share this post


Link to post
Share on other sites
Valuater

; Press Esc to terminate script, F9 to "run/pause"


Global $Paused
HotKeySet("{F9}", "TogglePause")
HotKeySet("{ESC}", "Terminate")


;;;; Body of program would go here;;;;
While 1
    Sleep(100)
WEnd
;;;;;;;;

Func TogglePause()
    $Paused = Not $Paused
    While $Paused
        ToolTip('Script is "Running"', 0, 0)
        Sleep(3000)
        MouseMove(277, 173)
        MouseClick("Left")
        Sleep(2000)
        MouseMove(277, 193)
        MouseClick("Left")
        Sleep(3500)
    WEnd
    ToolTip("")
EndFunc  ;==>TogglePause

Func Terminate()
    Exit 0
EndFunc  ;==>Terminate

8)


NEWHeader1.png

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  

×