Guest +3|-| /|/00| Posted August 22, 2005 Share Posted August 22, 2005 Hello... as you can see for my post count and nickname im a total n00b in this kind of stuff... so ill make a petition to some to make me or tell me the place/guide where i can read how to make it the script just needs to be fast to activate/unactivate and just needs to "press" left and right arrows rapidly.... well that´s all Thank you in advance *goes back to the darkness* Link to comment Share on other sites More sharing options...
Gigglestick Posted August 22, 2005 Share Posted August 22, 2005 I hope you have your flame-retardant suit on... I can feel the heat comin'! lol My UDFs: ExitCodes Link to comment Share on other sites More sharing options...
Guest +3|-| /|/00| Posted August 22, 2005 Share Posted August 22, 2005 I hope you have your flame-retardant suit on... I can feel the heat comin'!lol<{POST_SNAPBACK}>Really ? what a shame...... Link to comment Share on other sites More sharing options...
w0uter Posted August 22, 2005 Share Posted August 22, 2005 read the helpfile on hotkeyset, send & While. My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll Link to comment Share on other sites More sharing options...
Gigglestick Posted August 22, 2005 Share Posted August 22, 2005 Really ? what a shame......Nah! I just got done reading some posts from n00b's asking for people to write scripts for them and was annoyed. Use something like this:HotKeySet("{PAUSE}", "_SendMyKeys") While 1 Sleep(100) WEnd Func _SendMyKeys() For $i = 1 to 10; This will send {LEFT}{RIGHT} quickly ten times and stop Send("{LEFT}{RIGHT}") Next EndFuncYou might also want to look put this around the For loop: If WinActive("Some Window") Then ...for... EndIf My UDFs: ExitCodes Link to comment Share on other sites More sharing options...
w0uter Posted August 22, 2005 Share Posted August 22, 2005 opt(sendkeydelay) My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll Link to comment Share on other sites More sharing options...
Guest +3|-| /|/00| Posted August 22, 2005 Share Posted August 22, 2005 Nah! I just got done reading some posts from n00b's asking for people to write scripts for them and was annoyed. Use something like this:HotKeySet("{PAUSE}", "_SendMyKeys") While 1 Sleep(100) WEnd Func _SendMyKeys() For $i = 1 to 10; This will send {LEFT}{RIGHT} quickly ten times and stop Send("{LEFT}{RIGHT}") Next EndFuncYou might also want to look put this around the For loop: If WinActive("Some Window") Then ...for... EndIf<{POST_SNAPBACK}>Thank you very much mate Link to comment Share on other sites More sharing options...
Gigglestick Posted August 22, 2005 Share Posted August 22, 2005 Even better... Opt("SendKeyDelay", "100"); Slows keys down to ten per second, smaller is faster! HotKeySet("{PAUSE}", "_Toggle"); Pause will start/stop sending keys HotKeySet("+{PAUSE}", "_Quit"); Shift-Pause will exit the script $bSendKeys = 0 While 1 If $bSendKeys = 1 Then Send("{LEFT}{RIGHT}") Else Sleep(10) EndIf WEnd Func _Toggle() $bSendKeys = NOT $bSendKeys EndFunc Func _Quit() Exit EndFunc My UDFs: ExitCodes 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