Jump to content

Recommended Posts

Posted

hi, i'm new to auto it and this kind of thing but i was hoping for some help.

basicly i need to make a autoIT that does the following

presses enter

types : *Kite* rise

a seven secound delay

enter

types *Kite* iloveyou

a seven secound delay

then it repeats forever.

thanks for any help ! :o

Posted

; 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)
        Send("{ENTER}")
        Send("*Kite* rise", 1)
        Sleep(7000)
        Send("{ENTER}")
        Send("*Kite* I Love You", 1)
        Sleep(7000)
    WEnd
    ToolTip("")
EndFunc  ;==>TogglePause

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

to learn how to do stuff yourself

http://www.autoitscript.com/forum/index.ph...opic=21048&hl=#

8)

NEWHeader1.png

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
×
×
  • Create New...