Armand Posted March 29, 2007 Share Posted March 29, 2007 how can i check if a key of any kind is pressed ?! - i want to make a macro grenerator. and i need it for thr macro recording- thanks ! [u]My Au3 Scripts:[/u]____________(E)Lephant, A Share download manager (RS/MU etc)Http1.1 Console, The Ez Way!Internet Reconnection Automation Suite & A Macro Recording Tool.SK's Alarm Clock, Playing '.MP3 & .Wav' Files._________________Is GOD a mistake of the Humanity Or the Humanity is a mistake of GOD ?! Link to comment Share on other sites More sharing options...
theguy0000 Posted March 29, 2007 Share Posted March 29, 2007 Macros or Keylogging? The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN Link to comment Share on other sites More sharing options...
GEOSoft Posted March 29, 2007 Share Posted March 29, 2007 (edited) It sounds like you are looking for a keylogger and they just are not popular ariund the forums. Keylogging is for script kiddies!!!!!!! Do you want to join the long list of script kiddies around these forums? User to Script Kiddie "Why did you just destroy my computer?" Script Kiddie: "Because I could!" Edited March 29, 2007 by GEOSoft George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!" Link to comment Share on other sites More sharing options...
jvanegmond Posted March 29, 2007 Share Posted March 29, 2007 Larry did a nice example with mousehook. It's very advanced though, and I have seen many fail understanding it.. So, I cannot recommend it. It is definitely something I can recommend to anyone with good knowledge over AutoIt. github.com/jvanegmond Link to comment Share on other sites More sharing options...
Armand Posted March 30, 2007 Author Share Posted March 30, 2007 Larry did a nice example with mousehook. It's very advanced though, and I have seen many fail understanding it.. So, I cannot recommend it. It is definitely something I can recommend to anyone with good knowledge over AutoIt.hey, i'll surely look it up! (mousehook)- about the rest of you guys worries, it's not keylogging in any bad purpose ! the program should record a macro for the use of the USDownloader (by dimonious) tool community, these "Macros" will mainly deal with entering the router's 'web-page' and making it restart (to trick rapid'share waiting system), i've already made many other tools for that program.- thanks and have fun! [u]My Au3 Scripts:[/u]____________(E)Lephant, A Share download manager (RS/MU etc)Http1.1 Console, The Ez Way!Internet Reconnection Automation Suite & A Macro Recording Tool.SK's Alarm Clock, Playing '.MP3 & .Wav' Files._________________Is GOD a mistake of the Humanity Or the Humanity is a mistake of GOD ?! Link to comment Share on other sites More sharing options...
jvanegmond Posted March 30, 2007 Share Posted March 30, 2007 Hah, nice. I'd like to see that done. github.com/jvanegmond Link to comment Share on other sites More sharing options...
Armand Posted March 30, 2007 Author Share Posted March 30, 2007 Hah, nice. I'd like to see that done. well... i'm half way over already just that i havn't used au3 in a long time and forgot how to use that damn regular expression function. M|7728|402|459|2129 how do parse that into array ?! seperating char is "|" of curse! [u]My Au3 Scripts:[/u]____________(E)Lephant, A Share download manager (RS/MU etc)Http1.1 Console, The Ez Way!Internet Reconnection Automation Suite & A Macro Recording Tool.SK's Alarm Clock, Playing '.MP3 & .Wav' Files._________________Is GOD a mistake of the Humanity Or the Humanity is a mistake of GOD ?! Link to comment Share on other sites More sharing options...
jvanegmond Posted March 30, 2007 Share Posted March 30, 2007 (edited) Oh man, regular expressions have completely been changed! You'll have to tell me what you want and I'll try to hook you up.Edit: Or did you try to do this?#Include <Array.au3> $Data = "M|7728|402|459|2129" $Array = StringSplit($Data,"|") _ArrayDisplay($Array,"test") Edited March 30, 2007 by Manadar github.com/jvanegmond Link to comment Share on other sites More sharing options...
Armand Posted March 30, 2007 Author Share Posted March 30, 2007 Oh man, regular expressions have completely been changed! You'll have to tell me what you want and I'll try to hook you up. Edit: Or did you try to do this? #Include <Array.au3> $Data = "M|7728|402|459|2129" $Array = StringSplit($Data,"|") _ArrayDisplay($Array,"test") yeeeps (-: most likely will be done by tommorow ... (now i've got anatomy class for like 6 hours so...) [u]My Au3 Scripts:[/u]____________(E)Lephant, A Share download manager (RS/MU etc)Http1.1 Console, The Ez Way!Internet Reconnection Automation Suite & A Macro Recording Tool.SK's Alarm Clock, Playing '.MP3 & .Wav' Files._________________Is GOD a mistake of the Humanity Or the Humanity is a mistake of GOD ?! Link to comment Share on other sites More sharing options...
Armand Posted March 31, 2007 Author Share Posted March 31, 2007 hey i'm almost done but it seems like i've just encountered something ODD ! well, i'm using LARRY's MouseHooking and it seems like the keys that code returns aren't 100% correct in the HEX table, those i can't use their code - any idea on how to get the right HEX for each key ?! EG -> clicking '.' (dot) returned - 0x000000BE which is wrong in the ascii table[char|dec|hex|description]: . | 46 | 2e | Period [u]My Au3 Scripts:[/u]____________(E)Lephant, A Share download manager (RS/MU etc)Http1.1 Console, The Ez Way!Internet Reconnection Automation Suite & A Macro Recording Tool.SK's Alarm Clock, Playing '.MP3 & .Wav' Files._________________Is GOD a mistake of the Humanity Or the Humanity is a mistake of GOD ?! Link to comment Share on other sites More sharing options...
jvanegmond Posted March 31, 2007 Share Posted March 31, 2007 (edited) Don't double post. I've answered this question in Larry's mousehook topic.Edit: For convenience Edited March 31, 2007 by Manadar github.com/jvanegmond Link to comment Share on other sites More sharing options...
Armand Posted March 31, 2007 Author Share Posted March 31, 2007 (edited) Don't double post. I've answered this question in Larry's mousehook topic.Edit: For convenienceA noob question !-> when inside the gui and after a certain CASE i'm in another loop/ function, and while that function/loop is still running i'm clicking the GUI -> is that function being preformed regaurdless the other function/loop i've mantioned before ?!->EDIT: but what i've came to know it sticks to the function/loop it was in firstly untill it finishes and then runs the new one! Edited March 31, 2007 by Armand [u]My Au3 Scripts:[/u]____________(E)Lephant, A Share download manager (RS/MU etc)Http1.1 Console, The Ez Way!Internet Reconnection Automation Suite & A Macro Recording Tool.SK's Alarm Clock, Playing '.MP3 & .Wav' Files._________________Is GOD a mistake of the Humanity Or the Humanity is a mistake of GOD ?! Link to comment Share on other sites More sharing options...
jvanegmond Posted March 31, 2007 Share Posted March 31, 2007 While 1 Switch 5 Case 1 Case 5 For $x = 1 To 2 MsgBox(0, "", "It enters the second loop first and finishes it..") Next EndSwitch MsgBox(0, "", "Then it goes and finish the other loop") WEnd github.com/jvanegmond Link to comment Share on other sites More sharing options...
Armand Posted March 31, 2007 Author Share Posted March 31, 2007 While 1 Switch 5 Case 1 Case 5 For $x = 1 To 2 MsgBox(0, "", "It enters the second loop first and finishes it..") Next EndSwitch MsgBox(0, "", "Then it goes and finish the other loop") WEndoÝ÷ Ûú®¢×²y¨¤-ë(ëb¢v®¶s`¢b33c¶6÷VçFW"Âb33cµ7F'BÒ¢b33c´ÖÒ¥vÆR¢6VÆV7@¢66R¢¢66RP¢b33cµ7F'BÒ¢66Rb33cµ7F'BÒ¢b33c´6÷VçFW"Òb33c´6÷VçFW"²¢bb33c´6÷VçFW"fÇC³Òb33c´ÖFVà¢×6t&÷ÂgV÷C²gV÷C²ÂgV÷CµFBvBb33¶ÆÂFòFRWFW&æÂÆö÷&Vf÷&RvöæröâvFFBöæRb333²gV÷C²¢VÇ6P¢b33c·7F'BÒ¢×6t&÷ÂgV÷C²gV÷C²ÂgV÷C´fæ6VBææW"Æö÷ÒWFærb333²gV÷C²¢VæD`¢VæE6VÆV7@¥tVæ@ [u]My Au3 Scripts:[/u]____________(E)Lephant, A Share download manager (RS/MU etc)Http1.1 Console, The Ez Way!Internet Reconnection Automation Suite & A Macro Recording Tool.SK's Alarm Clock, Playing '.MP3 & .Wav' Files._________________Is GOD a mistake of the Humanity Or the Humanity is a mistake of GOD ?! Link to comment Share on other sites More sharing options...
Armand Posted April 1, 2007 Author Share Posted April 1, 2007 Hey another question: The Send Command, Can i Mix to send commands together ?! eg: $key = 0x00000048 Send("{ASC "&$key&" up}") Send("{ASC "&$key&" down}") as you can see i need to send an ASC char and keep it pressed till i want to sent it loose. couse it doesn't seem like i can )-: [u]My Au3 Scripts:[/u]____________(E)Lephant, A Share download manager (RS/MU etc)Http1.1 Console, The Ez Way!Internet Reconnection Automation Suite & A Macro Recording Tool.SK's Alarm Clock, Playing '.MP3 & .Wav' Files._________________Is GOD a mistake of the Humanity Or the Humanity is a mistake of GOD ?! Link to comment Share on other sites More sharing options...
jvanegmond Posted April 1, 2007 Share Posted April 1, 2007 Hey another question: The Send Command, Can i Mix to send commands together ?! eg: $key = 0x00000048 Send("{ASC "&$key&" up}") Send("{ASC "&$key&" down}") oÝ÷ Ù«2¢çÇwvÚ,zwZr«jwdyêb¶Þ²Ç¶)e§¶Ú,z{b¶Z(±ç(ºÇ¢µÚ²}ý¶ÇX¤z'ú®¢×ßÛÞ¶¸vÚ¢Ø^±©¶§×bv}ý· +~æyèêÇz··öƬ©eÂäjº.Ö®¶sbb33c¶¶WÒ6"C¥6VæBgV÷C·²gV÷C²fײb33c¶¶WfײgV÷C²F÷vçÒgV÷C²¥6VæBgV÷C·²gV÷C²fײb33c¶¶WfײgV÷C²WÒgV÷C² By the way, you might want to try hitting DOWN first then UP.. github.com/jvanegmond Link to comment Share on other sites More sharing options...
Armand Posted April 3, 2007 Author Share Posted April 3, 2007 Please view this topic - JOB's DONE !!!http://www.autoitscript.com/forum/index.php?showtopic=43639working propperly (-: [u]My Au3 Scripts:[/u]____________(E)Lephant, A Share download manager (RS/MU etc)Http1.1 Console, The Ez Way!Internet Reconnection Automation Suite & A Macro Recording Tool.SK's Alarm Clock, Playing '.MP3 & .Wav' Files._________________Is GOD a mistake of the Humanity Or the Humanity is a mistake of GOD ?! 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