Banista Posted February 27, 2006 Share Posted February 27, 2006 Hello Ladies, i am total noob, i need a simple macro which press every minute the button w on my keyboard. Can anyone tell me how to do? Link to comment Share on other sites More sharing options...
rambo3889 Posted February 27, 2006 Share Posted February 27, 2006 Hotkeyset("{ESC}","quit") While 1 sleep(60000) send("W") wend Func quit() exit endfunc My Scripts:Radioblog Club Music DownloaderOther stuff:Fun movieIm serious read the help file it helps :PFight 'Till you drop. Never stop, You Cant give up. Til you reach the top Fight! youre the best in town Fight! Link to comment Share on other sites More sharing options...
Valuater Posted February 27, 2006 Share Posted February 27, 2006 maybe this ; 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("{w}") Sleep(1000 * 60); 1000 = 1 second x 60 = 1 minute WEnd ToolTip("") EndFunc ;==>TogglePause Func Terminate() Exit 0 EndFunc ;==>Terminate 8) Link to comment Share on other sites More sharing options...
BigDod Posted February 27, 2006 Share Posted February 27, 2006 (edited) Hello Ladies, i am total noob, i need a simple macro which press every minute the button w on my keyboard. Can anyone tell me how to do?While 1 send("w") sleep(60000) WEnd Edit - Too slow again Edited February 27, 2006 by BigDod Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother Link to comment Share on other sites More sharing options...
Valuater Posted February 27, 2006 Share Posted February 27, 2006 First Place rambo3889 12:33 Second Place Valuater 12:33 ( seconds behind ) Third Place BigDod 12:34 thats some fast replies 8) Link to comment Share on other sites More sharing options...
rambo3889 Posted February 27, 2006 Share Posted February 27, 2006 Hello Ladies, i am total noob, i need a simple macro which press every minute the button w on my keyboard.Can anyone tell me how to do?Why are u calling us ladies@Valuater yes that was fast just some few seconds behind My Scripts:Radioblog Club Music DownloaderOther stuff:Fun movieIm serious read the help file it helps :PFight 'Till you drop. Never stop, You Cant give up. Til you reach the top Fight! youre the best in town Fight! Link to comment Share on other sites More sharing options...
Banista Posted February 27, 2006 Author Share Posted February 27, 2006 oh very fast replies, nice nice. But ok i tried the makro from valuater and i get the error unknown command Global $Paused Hm anyone know why? Link to comment Share on other sites More sharing options...
rambo3889 Posted February 27, 2006 Share Posted February 27, 2006 I dont get that error My Scripts:Radioblog Club Music DownloaderOther stuff:Fun movieIm serious read the help file it helps :PFight 'Till you drop. Never stop, You Cant give up. Til you reach the top Fight! youre the best in town Fight! Link to comment Share on other sites More sharing options...
BigDod Posted February 27, 2006 Share Posted February 27, 2006 oh very fast replies, nice nice.But ok i tried the makro from valuater and i get the error unknown command Global $PausedHm anyone know why?Try copying it again cause it works here. Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother Link to comment Share on other sites More sharing options...
Banista Posted February 27, 2006 Author Share Posted February 27, 2006 Try copying it again cause it works here.i screend the error, check out, anyone know how to solve the problem?http://www.meinekathi.de/banista/error.jpg Link to comment Share on other sites More sharing options...
Valuater Posted February 27, 2006 Share Posted February 27, 2006 (edited) tryDim $Pausedand get SciTE editorhttp://www.autoitscript.com/autoit3/scite/downloads.php8) Edited February 27, 2006 by Valuater Link to comment Share on other sites More sharing options...
rambo3889 Posted February 27, 2006 Share Posted February 27, 2006 And maybe get beta too My Scripts:Radioblog Club Music DownloaderOther stuff:Fun movieIm serious read the help file it helps :PFight 'Till you drop. Never stop, You Cant give up. Til you reach the top Fight! youre the best in town Fight! Link to comment Share on other sites More sharing options...
Valuater Posted February 27, 2006 Share Posted February 27, 2006 get it all... and more herehttp://www.autoitscript.com/forum/index.ph...opic=21048&hl=#8 Link to comment Share on other sites More sharing options...
rambo3889 Posted February 27, 2006 Share Posted February 27, 2006 Btw Valuater i dont think i have said what i think of your Welcome to AutoIt 1-2-3 But anyway I like it My Scripts:Radioblog Club Music DownloaderOther stuff:Fun movieIm serious read the help file it helps :PFight 'Till you drop. Never stop, You Cant give up. Til you reach the top Fight! youre the best in town Fight! Link to comment Share on other sites More sharing options...
Valuater Posted February 27, 2006 Share Posted February 27, 2006 Btw Valuater i dont think i have said what i think of your Welcome to AutoIt 1-2-3But anyway I like it Thanks8) Link to comment Share on other sites More sharing options...
Banista Posted February 27, 2006 Author Share Posted February 27, 2006 hm, same error Dim $Pause Link to comment Share on other sites More sharing options...
rambo3889 Posted February 27, 2006 Share Posted February 27, 2006 (edited) Try to uupdate ur Autoit No problem Valuater Edited February 27, 2006 by rambo3889 My Scripts:Radioblog Club Music DownloaderOther stuff:Fun movieIm serious read the help file it helps :PFight 'Till you drop. Never stop, You Cant give up. Til you reach the top Fight! youre the best in town Fight! Link to comment Share on other sites More sharing options...
Valuater Posted February 27, 2006 Share Posted February 27, 2006 The script works... others have stated i dont know of your "edit" program did you get SciTE??? did you get Beta??? did you look at "Welcome to Autoit 1-2-3" ??? 8) Link to comment Share on other sites More sharing options...
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