Sign in to follow this  
Followers 0
APDxNinja

Help me Edit this please?

2 posts in this topic

Global $Paused

HotKeySet("{END}", "TogglePause")

HotKeySet("{HOME}", "Terminate")

While 1

Sleep(100)

WEnd

Func TogglePause()

$Paused = NOT $Paused

While $Paused

sleep(100)

MouseClick("Left")

WEnd

EndFunc

Func Terminate()

Exit 0

EndFunc

I want to make a script to press a key for me... For this lets just use "c"... I want it to repreadily press "c" for me... How can i get it to work?

Share this post


Link to post
Share on other sites



Try this:

Global $Paused
HotKeySet("{END}", "TogglePause")
HotKeySet("{HOME}", "Terminate")

While 1
   Sleep(5000)
WEnd

Func TogglePause()
   $Paused = Not $Paused
   While $Paused
      sleep(100)
      Send("c")
   WEnd
EndFunc

Func Terminate()
   Exit
EndFunc

[quote name='Valik' post='301213' date='Jan 31 2007, 10:36 PM']You seem to have a habit of putting things in the wrong place. I feel sorry for any female you attempt to have sex with.[/quote][font="Lucida Sans Unicode"][/font]

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