Jump to content

inputbox


Recommended Posts

Is there anyway to send all keys (F1-F9, Home, Insert, End, Esc) to a input box (InputBox or GuiCtrlCreateInput)?

I have can do it with setting them as hotkey and using send(key,1) to my input box but was wondering if there is a better way.

Link to comment
Share on other sites

Thx for the reply Paulie.

Yeah I can send it. Thats not really what im trying to do. I guess I should explain what I want a little better. Basicly im trying to capture the key that is pressed and then display it. That key will then become my hotkey. But with inputbox the keys I would use for hotkeys are not captured. I can do a work around by using send or controlsend but I was wondering if there was a better way to capture the F1 keystroke?

Link to comment
Share on other sites

Thx for the reply Paulie.

Yeah I can send it. That’s not really what im trying to do. I guess I should explain what I want a little better. Basicly im trying to capture the key that is pressed and then display it. That key will then become my hotkey. But with inputbox the keys I would use for hotkey’s are not captured. I can do a work around by using send or controlsend but I was wondering if there was a better way to capture the F1 keystroke?

Ahh OK

Well, Achilles has already taken the liberty of making a functional Hotkey-Input control. :P

See Here

Edited by Paulie
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...