milkman Posted February 15, 2006 Share Posted February 15, 2006 C:\Documents and Settings\Calvin\My Documents\Scripts\Keys\Keys.au3 (140) : ==> Recursion level has been exceeded - AutoIt will quit to prevent stack overflow.: I have 26 HotKeySet commands and they are all scripted right, but when I put them all together and try and activate them, I get that error. Link to comment Share on other sites More sharing options...
Nuffilein805 Posted February 15, 2006 Share Posted February 15, 2006 C:\Documents and Settings\Calvin\My Documents\Scripts\Keys\Keys.au3 (140) : ==> Recursion level has been exceeded - AutoIt will quit to prevent stack overflow.: I have 26 HotKeySet commands and they are all scripted right, but when I put them all together and try and activate them, I get that error.maybe you could post your code so we might be able to tell you where you've got your mistake my little chatmy little encryption toolmy little hidermy unsafe clickbot Link to comment Share on other sites More sharing options...
milkman Posted February 15, 2006 Author Share Posted February 15, 2006 maybe you could post your code so we might be able to tell you where you've got your mistakeHeres the code. Each Seperate Hotkey works, but when I put them together they dont.; ----------------------------------------------------------------------------;; AutoIt Version: 3.1.0; Author: Calvin <teamgonuts@gmail.com>;; Script Function:; Mixes up the keys;; ----------------------------------------------------------------------------; Script Start - Add your code below hereHotKeySet ( "a", "a1" )Func a1() Send ( "z" ) EndFunc HotKeySet ( "b", "b1" )Func b1() Send ( "y" )EndFuncHotKeySet ( "c", "c1" )Func c1() Send ( "x" )EndFuncHotKeySet ( "d", "d1" )Func d1() Send ( "w" )EndFuncHotKeySet ( "e", "e1" )Func e1() Send ( "v" ) EndFuncHotKeySet ( "f", "f1" )Func f1() Send ( "u" )EndFuncHotKeySet ( "g", "g1" )Func g1() Send ( "t" )EndFuncHotKeySet ( "h", "h1" )Func h1() Send ( "s" )EndFuncHotKeySet ( "i", "i1" )Func i1() Send ( "r" ) EndFunc HotKeySet ( "j", "j1" )Func j1() Send ( "q" )EndFuncHotKeySet ( "k", "k1" )Func k1() Send ( "p" )EndFuncHotKeySet ( "l", "l1" )Func l1() Send ( "o" )EndFuncHotKeySet ( "m", "m1" )Func m1() Send ( "n" ) EndFuncHotKeySet ( "n", "n1" )Func n1() Send ( "m" )EndFuncHotKeySet ( "o", "o1" )Func o1() Send ( "l" ) EndFuncHotKeySet ( "p", "p1" )Func p1() Send ( "k" )EndFuncHotKeySet ( "q", "q1" )Func q1() Send ( "s" ) EndFunc HotKeySet ( "r", "r1" )Func r1() Send ( "i" )EndFuncHotKeySet ( "s", "s1" )Func s1() Send ( "h" ) EndFunc HotKeySet ( "t", "t1" )Func t1() Send ( "g" ) EndFunc HotKeySet ( "u", "u1" )Func u1() Send ( "f" )EndFunc HotKeySet ( "v", "v1" )Func v1() Send ( "e" )EndFuncHotKeySet ( "w", "w1" )Func w1() Send ( "d" ) EndFunc HotKeySet ( "x", "x1" )Func x1() Send ( "c" ) EndFunc HotKeySet ( "y", "y1" )Func y1() Send ( "b" ) EndFunc HotKeySet ( "z", "z1" )Func z1() Send ( "a" ) EndFunc While 1 Sleep ( 100000 ) Wend Link to comment Share on other sites More sharing options...
Nuffilein805 Posted February 15, 2006 Share Posted February 15, 2006 try this 1 - needs beta #include <misc.au3> while 1 sleep (50) if _IsPressed ("41") then send ("{bs}z") if _IsPressed ("42") then send ("{bs}y") if _IsPressed ("43") then send ("{bs}x") if _IsPressed ("44") then send ("{bs}w") if _IsPressed ("45") then send ("{bs}v") if _IsPressed ("46") then send ("{bs}u") if _IsPressed ("47") then send ("{bs}t") if _IsPressed ("48") then send ("{bs}s") if _IsPressed ("49") then send ("{bs}r") if _IsPressed ("4A") then send ("{bs}q") if _IsPressed ("4B") then send ("{bs}p") if _IsPressed ("4C") then send ("{bs}o") if _IsPressed ("4D") then send ("{bs}n") if _IsPressed ("4E") then send ("{bs}m") if _IsPressed ("4F") then send ("{bs}l") if _IsPressed ("50") then send ("{bs}k") if _IsPressed ("51") then send ("{bs}j") if _IsPressed ("52") then send ("{bs}i") if _IsPressed ("53") then send ("{bs}h") if _IsPressed ("54") then send ("{bs}g") if _IsPressed ("55") then send ("{bs}f") if _IsPressed ("56") then send ("{bs}e") if _IsPressed ("57") then send ("{bs}d") if _IsPressed ("58") then send ("{bs}c") if _IsPressed ("59") then send ("{bs}b") if _IsPressed ("5A") then send ("{bs}a") Wend ok this is very basic i know but it works most of the time my little chatmy little encryption toolmy little hidermy unsafe clickbot Link to comment Share on other sites More sharing options...
Nuffilein805 Posted February 15, 2006 Share Posted February 15, 2006 updated the script for capital letters expandcollapse popup#include <misc.au3> while 1 sleep (50) if _IsPressed ("5A") and not _IsPressed ("10") then send ("{bs}A") if _IsPressed ("5A") and _IsPressed ("10") then send ("{bs}a") if _IsPressed ("59") and not _IsPressed ("10") then send ("{bs}B") if _IsPressed ("59") and _IsPressed ("10") then send ("{bs}b") if _IsPressed ("58") and not _IsPressed ("10") then send ("{bs}C") if _IsPressed ("58") and _IsPressed ("10") then send ("{bs}c") if _IsPressed ("57") and not _IsPressed ("10") then send ("{bs}D") if _IsPressed ("57") and _IsPressed ("10") then send ("{bs}d") if _IsPressed ("56") and not _IsPressed ("10") then send ("{bs}E") if _IsPressed ("56") and _IsPressed ("10") then send ("{bs}e") if _IsPressed ("55") and not _IsPressed ("10") then send ("{bs}F") if _IsPressed ("55") and _IsPressed ("10") then send ("{bs}f") if _IsPressed ("54") and not _IsPressed ("10") then send ("{bs}G") if _IsPressed ("54") and _IsPressed ("10") then send ("{bs}g") if _IsPressed ("53") and not _IsPressed ("10") then send ("{bs}H") if _IsPressed ("53") and _IsPressed ("10") then send ("{bs}h") if _IsPressed ("52") and not _IsPressed ("10") then send ("{bs}I") if _IsPressed ("52") and _IsPressed ("10") then send ("{bs}i") if _IsPressed ("51") and not _IsPressed ("10") then send ("{bs}J") if _IsPressed ("51") and _IsPressed ("10") then send ("{bs}j") if _IsPressed ("50") and not _IsPressed ("10") then send ("{bs}K") if _IsPressed ("50") and _IsPressed ("10") then send ("{bs}k") if _IsPressed ("4F") and not _IsPressed ("10") then send ("{bs}L") if _IsPressed ("4F") and _IsPressed ("10") then send ("{bs}l") if _IsPressed ("4E") and not _IsPressed ("10") then send ("{bs}M") if _IsPressed ("4E") and _IsPressed ("10") then send ("{bs}m") if _IsPressed ("4D") and not _IsPressed ("10") then send ("{bs}N") if _IsPressed ("4D") and _IsPressed ("10") then send ("{bs}n") if _IsPressed ("4C") and not _IsPressed ("10") then send ("{bs}O") if _IsPressed ("4C") and _IsPressed ("10") then send ("{bs}o") if _IsPressed ("4B") and not _IsPressed ("10") then send ("{bs}P") if _IsPressed ("4B") and _IsPressed ("10") then send ("{bs}p") if _IsPressed ("4A") and not _IsPressed ("10") then send ("{bs}Q") if _IsPressed ("4A") and _IsPressed ("10") then send ("{bs}q") if _IsPressed ("49") and not _IsPressed ("10") then send ("{bs}R") if _IsPressed ("49") and _IsPressed ("10") then send ("{bs}r") if _IsPressed ("48") and not _IsPressed ("10") then send ("{bs}S") if _IsPressed ("48") and _IsPressed ("10") then send ("{bs}s") if _IsPressed ("47") and not _IsPressed ("10") then send ("{bs}T") if _IsPressed ("47") and _IsPressed ("10") then send ("{bs}t") if _IsPressed ("46") and not _IsPressed ("10") then send ("{bs}U") if _IsPressed ("46") and _IsPressed ("10") then send ("{bs}u") if _IsPressed ("45") and not _IsPressed ("10") then send ("{bs}V") if _IsPressed ("45") and _IsPressed ("10") then send ("{bs}v") if _IsPressed ("44") and not _IsPressed ("10") then send ("{bs}W") if _IsPressed ("44") and _IsPressed ("10") then send ("{bs}w") if _IsPressed ("43") and not _IsPressed ("10") then send ("{bs}X") if _IsPressed ("43") and _IsPressed ("10") then send ("{bs}x") if _IsPressed ("42") and not _IsPressed ("10") then send ("{bs}Y") if _IsPressed ("42") and _IsPressed ("10") then send ("{bs}y") if _IsPressed ("41") and not _IsPressed ("10") then send ("{bs}Z") if _IsPressed ("41") and _IsPressed ("10") then send ("{bs}z") Wend ok i know the {bs}-thing isn't that nice but it works my little chatmy little encryption toolmy little hidermy unsafe clickbot Link to comment Share on other sites More sharing options...
rambo3889 Posted February 15, 2006 Share Posted February 15, 2006 bs means backspace right? 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! youÂ’re the best in town Fight! Link to comment Share on other sites More sharing options...
Nuffilein805 Posted February 15, 2006 Share Posted February 15, 2006 yes, do you use it at school rambo? i bet you do to piss off your classmates my little chatmy little encryption toolmy little hidermy unsafe clickbot Link to comment Share on other sites More sharing options...
rambo3889 Posted February 15, 2006 Share Posted February 15, 2006 Nope but i was a idea i think i will 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! youÂ’re the best in town Fight! Link to comment Share on other sites More sharing options...
PsaltyDS Posted February 15, 2006 Share Posted February 15, 2006 Heres the code. Each Seperate Hotkey works, but when I put them together they dont.Others have posted different code that may do what you want. I think the error in your original code was sending a key with the Send() functions that triggers the translation function you defined for the sent letter, which sends a different letter, triggering another translation function, etc. ad infinitum. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
Infinitex0 Posted February 15, 2006 Share Posted February 15, 2006 Thinking the same thing. (wrote this with scrambler on) The below statement is False.The above statement is True.a lesson I learned from Greenmachine; give a man a code and he'll solve one problem. Teach a man to code and he'll solve all his problems.P.S please don't use autoIt as a virus creator/spyware maker(keyLogger especially)Cick this and help me[center]My Scripts:[/center][center]Port Scanner[/center] Link to comment Share on other sites More sharing options...
Nuffilein805 Posted February 15, 2006 Share Posted February 15, 2006 Thinking the same thing. (wrote this with scrambler on)wow, really? how long did it take? my little chatmy little encryption toolmy little hidermy unsafe clickbot Link to comment Share on other sites More sharing options...
milkman Posted February 15, 2006 Author Share Posted February 15, 2006 Heres something I dont understand.#include <misc.au3> if _IsPressed ("41") and _IsPressed _IsPressed isnt a real command, so how does this work. Link to comment Share on other sites More sharing options...
Nuffilein805 Posted February 15, 2006 Share Posted February 15, 2006 it checks if the user hits a button if _ispressed ("41") and _ispressed ("10") means if you hit shift+a then do whatever my little chatmy little encryption toolmy little hidermy unsafe clickbot Link to comment Share on other sites More sharing options...
milkman Posted February 15, 2006 Author Share Posted February 15, 2006 I coppied and pasted that entire code and it still doesnt work. IM so confused =( Link to comment Share on other sites More sharing options...
rambo3889 Posted February 15, 2006 Share Posted February 15, 2006 Using beta? 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! youÂ’re the best in town Fight! Link to comment Share on other sites More sharing options...
milkman Posted February 16, 2006 Author Share Posted February 16, 2006 Maybe, how can I know. Link to comment Share on other sites More sharing options...
Nuffilein805 Posted February 16, 2006 Share Posted February 16, 2006 download it from here:http://www.autoitscript.com/autoit3/files/beta/autoit/good luck! my little chatmy little encryption toolmy little hidermy unsafe clickbot Link to comment Share on other sites More sharing options...
milkman Posted February 16, 2006 Author Share Posted February 16, 2006 O crap all my old ones are in regular. Whats new in the beta version? Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted February 16, 2006 Moderators Share Posted February 16, 2006 O crap all my old ones are in regular. Whats new in the beta version?About 90% of the workable scripts on here. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Nuffilein805 Posted February 16, 2006 Share Posted February 16, 2006 About 90% of the workable scripts on herelol, thats right - i can't think of anyone using the release, everyone i know uses the beta (some can't even script a simple "hello world"-script ) my little chatmy little encryption toolmy little hidermy unsafe clickbot 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