Sign in to follow this  
Followers 0
dakota

get key

5 posts in this topic

how would you get a key that a user pressed and put it out to a file? and mouse clicks ??

Share this post


Link to post
Share on other sites



sounds slightly like a keylogger but in the beta help file look at _Ispressed and to get the mouse location look at MouseGetPos

Share this post


Link to post
Share on other sites

yes that is kinda what im trying to make :D:D

any way to do it with v3

Share this post


Link to post
Share on other sites

yes that is kinda what im trying to make :D;)

any way to do it with v3

Nope, it's impossible :D:P

[center]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.[/center]

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

#include <misc.au3>

While 1
    sleep(1)
    if _ispressed(01) then
       filewrite( "log.txt" , "Left Mouse has Pressed" )
       While _ispressed(01)
        sleep(100)
       Wend
    endif
Wend

www.lookuptables.com

Edited by Busti

My UDF's : Startet on : 06.06.2006_CaseSearchOrReplaceStr();~> Searches OR Replaces a String,;~> With or Without Casesensivity

Share this post


Link to post
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
Sign in to follow this  
Followers 0