Thread: Key Pressing

  1. Contributing User
    Devshed Intermediate (1500 - 1999 posts)

    Join Date
    Dec 2004
    Meriden, Connecticut
    Rep Power

    Key Pressing (Possibly Solved)

    Does Python have any function or a module that allows the program to press keys as if the user was pressing them on their keyboard?
    I found a Python module called SendKeys, this seems like it's what I need. If anyone has any addition help, I would appreciate it.
    Is there a way I can detect, for example, if F12, was pressed? This would have to work from no matter what application is opened when it is pressed. I'm trying to create a basic macro. I'd like to run a macro using SendKeys module after a certain hot-key is pressed. Which will be configured by the user.
    Last edited by †Yegg†; April 3rd, 2005 at 08:43 PM.

IMN logo majestic logo threadwatch logo seochat tools logo