Sign in to follow this  
Followers 0
Smiley357

inputbox

5 posts in this topic

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.

Share this post


Link to post
Share on other sites



If you can get the ID of it (ie. you made it) then you can do "ControlSend()"

Share this post


Link to post
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?

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

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

Share this post


Link to post
Share on other sites

Thx! Looks like you just saved me alot of time.

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