Jump to content

LastKeyPressed()?


 Share

Recommended Posts

I did search the forums for this, but all I could find is crap about key logging. I guess this could be considered a key logger but what I'm asking is if there is a function included in the APIs to return the last key that was pressed. I could make my own by using a boat load of "HotKeySet"s, but I'd rather use an API then have to write a messy function like that. This is for a application that's going to be hidden, and to do certain tasks they require a key combination. Like how in Windows you can press Ctrl Alt Del and get the task list, no matter what application you are running (minus Novell security apps and etc.). So I won't be having a GUI, I'll just have a defined set of keystrokes that will launch each task since its going to be a hidden running app. Yes, I know its not going to be completely hidden (via task list). Anyways, I couldn't find on in the Help file so I'm just asking if I missed something.

Link to comment
Share on other sites

Try searching in Scripts and Scraps for _IsPressed

<{POST_SNAPBACK}>

This helps a bunch, thanks. Need to get this included in the AutoIt package :whistle:. Good work from ezzetabi. Edited by ending
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...