Jump to content
Sign in to follow this  
reject

need help starting stoping this script

Recommended Posts

reject

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

Share this post


Link to post
Share on other sites
bogQ

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.

 

Share this post


Link to post
Share on other sites
goldenix

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]

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.