Jump to content

need help starting stoping this script


Recommended Posts

Global $Paused

#include <Misc.au3>

While 1

Mousemove(317,48)

MouseClick("left")

MouseClick("left")

sleep (1000)

Mousemove(377,48)

MouseClick("left")

MouseClick("left")

sleep(1000)

Mousemove(436,48)

MouseClick("left")

MouseClick("left")

sleep (1000)

WEnd

thanks

Link to comment
Share on other sites

thanks

look in the help file under HotKeySet() command

TCP server and client - Learning about TCP servers and clients connection
Au3 oIrrlicht - Irrlicht project
Au3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)



460px-Thief-4-temp-banner.jpg
There are those that believe that the perfect heist lies in the preparation.
Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost.

 
Link to comment
Share on other sites

This should do it.

HotKeySet("{pause}", "TogglePause")     ;Pause/Break HotKey tp pause script
HotKeySet("!{ESC}", "Terminate")        ; Alt + Esc Hotkey to exit script

Global $Paused

TogglePause() ; pause script at startup


Func TogglePause()
    $Paused = NOT $Paused
    While $Paused
        sleep(100)
        ToolTip('Script is "Paused"',0,0)
    WEnd
    ToolTip("")
    
    
    While 1
        Mousemove(317,48)
        MouseClick("left")
        MouseClick("left")
        sleep (1000)
        Mousemove(377,48)
        MouseClick("left")
        MouseClick("left")
        sleep(1000)
        Mousemove(436,48)
        MouseClick("left")
        MouseClick("left")
        sleep (1000)
    WEnd    
    
EndFunc


Func Terminate() ; exit
    Exit
EndFunc

While 1
    Sleep(100) ; Idle the script
WEnd
My Projects:[list][*]Guide - ytube step by step tut for reading memory with autoitscript + samples[*]WinHide - tool to show hide windows, Skinned With GDI+[*]Virtualdub batch job list maker - Batch Process all files with same settings[*]Exp calc - Exp calculator for online games[*]Automated Microsoft SQL Server 2000 installer[*]Image sorter helper for IrfanView - 1 click opens img & move ur mouse to close opened img[/list]
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...