noobautoit Posted May 4, 2008 Posted May 4, 2008 Ok i read the faq's and i'm still 100% confused... i want a simple autoit script. All i want is for autoit to press the "x" button constantly. Can someone help me out? lol
Glyph Posted May 4, 2008 Posted May 4, 2008 When you press the "x" button it generally closes an application... why on earth would you need to click it more then once? lol? tolle indicium
noobautoit Posted May 4, 2008 Author Posted May 4, 2008 lol its just for something i'm testing but i dont want to sit here for 8 hours pressing the "x" button over and over xD
Valuater Posted May 4, 2008 Posted May 4, 2008 Merry Christmas expandcollapse popup; Press Esc to terminate script, Pause/Break to "pause" Global $Paused, $Runner, $begin, $wait = 3 ; wait = 3 seconds HotKeySet("{PAUSE}", "TogglePause") HotKeySet("{ESC}", "Terminate") HotKeySet("{F9}", "ShowMe") ;;;; Body of program would go here ;;;; While 1 Sleep(10) If $Runner Then $dif = Int(TimerDiff($begin)/1000) If $dif >= $wait Then Send("X") $begin = TimerInit() EndIf EndIf WEnd ;;;;;;;; Func TogglePause() $Paused = NOT $Paused While $Paused sleep(100) ToolTip('Script is "Paused"',0,0) WEnd ToolTip("") EndFunc Func Terminate() Exit 0 EndFunc Func ShowMe() $Runner = Not $Runner $begin = TimerInit() EndFunc 8)
noobautoit Posted May 4, 2008 Author Posted May 4, 2008 Cool thanks it works fine 3 more hours to go!!
TnTProductions Posted May 5, 2008 Posted May 5, 2008 seriously why do you want it to press x over and over lol? "FREEDOM is not FREE""Its a good thing war is so terrible, or we grow too fond of it" -Robert E. Lee[quote]Firestrom: global $warming = False[/quote]My scripts:Desktop Cleaner---->Total Downloads:167;;;;;;;;;;1;;;;;;1;;;;;;;;;;;;;11;;;;;;;;;;;;;;;;1;;;;;;1;;;;;;;;;;;;;11;;;;;;;;;;;;;;;;1;;;;;;1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;111111;;;;;;;;;;;;;;11;;;;;;;;;;;;;;;;1;;;;;;1;;;;;;;;;;;;;;11;;;;;;;;;;;;;;;;1;;;;;;1;;;;;;;;;;;;;;11;;;;;;"a wise man once said why use your skills when we have technology"
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now