gamerman2360 Posted October 19, 2006 Share Posted October 19, 2006 jUsT a SmAlL sCrIpT tO tOgGlE tHe CaPs LoCk BuTtOn WhIlE yOu TyPe i tHiNk IlL bE mAkInG oNE (lAtEr) tO rEpLacE nOrMaL lEtTeRs WiTh ExTeNdEd ChArAcTeRs ThAt LoOk AlIkE.; THiS iS a TeSt. Opt("SendCapslockMode", 0) For $i = Asc("A") To Asc("Z") HotKeySet(Chr($i), "MyFunc") Next For $i = Asc("a") To Asc("z") HotKeySet(Chr($i), "MyFunc") Next While 1 Sleep(0x7FFFFFFF) WEnd Func MyFunc() Send("{CAPSLOCK toggle}") HotKeySet(@HotKeyPressed) Send(@HotKeyPressed) HotKeySet(@HotKeyPressed, "MyFunc") EndFunc Link to comment Share on other sites More sharing options...
Rad Posted October 19, 2006 Share Posted October 19, 2006 People who talk like this usually go on my banlist.... People did it all the time 3 years ago, its just old. Its like saying 1337 - stupid Link to comment Share on other sites More sharing options...
gamerman2360 Posted October 19, 2006 Author Share Posted October 19, 2006 (edited) I know, still. Got anything better I could be waisting my time on? Edit: More wasted time...; tÉstThis is Å tÉst Dim $replace[90]; first 64 elements are not used ; all need to be uppercase $replace[Asc("A")] = "ÅÄÂ" $replace[Asc("E")] = "É" ; add more here For $i = Asc("A") To Asc("Z") HotKeySet(Chr($i), "MyFunc") Next For $i = Asc("a") To Asc("z") HotKeySet(Chr($i), "MyFunc") Next While 1 Sleep(0x7FFFFFFF) WEnd Func MyFunc() $send = StringSplit($replace[Asc(StringUpper(@HotKeyPressed))], "") HotKeySet(@HotKeyPressed) If $send[0] == 0 Then $send[0] = @HotKeyPressed ConsoleWrite($send[0]) Send($send[Random(1, $send[0], 1)]) HotKeySet(@HotKeyPressed, "MyFunc") EndFunc Edited October 19, 2006 by gamerman2360 Link to comment Share on other sites More sharing options...
Ed_Maximized Posted October 23, 2006 Share Posted October 23, 2006 I know, still. Got anything better I could be waisting my time on? I think it coul be usefull in some kinds of applications like games...Interesting...Good JobHasta la vista!Ed ShapedGUI Creator : Shaped gui the easy way!!!Txt2au3 : the easy way to include text files into your program without fileinstall_GUICreateWithTiledBackground : Put a GIF in the background of your formsSQLite Database BrowserAnimated GIF UDF : Put animations in your GUI's 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