Saturday, 17 August 2013

Some Keypresses (ex. D, E, K) immediately end Input?

Some Keypresses (ex. D, E, K) immediately end Input?

I'm having an issue with using the Input function in AHK_L. What I want is
very, very simple: to store the user input into a variable. There is
nothing that needs to be matched. However I am finding that certain keys
such as D, E, & K immediately end the input segment for some reason.
Here's the Input I was using:
::pv::
Input, Profile, V L20 C, EndKey:{Enter}
MsgBox %Profile%
Return
It works just fine as long as I don't press any of the problem keys.
So, the question is, what am I doing wrong here to cause these keys to end
the input, and how can I fix this? Thanks & sorry if this is some basic
thing I am forgetting to do.

No comments:

Post a Comment