Jump to content
Sign in to follow this  
Insolence

Is ControlSend unreliable?

Recommended Posts

Insolence

I made a program using it to send to my minimized game window, barely worked.

Some letters wouldn't be capitalized, random letters would appear, strange stuff like that.

I raised delays very high, still happens :idiot:


"I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark TwainPatient: "It hurts when I do $var_"Doctor: "Don't do $var_" - Lar.

Share this post


Link to post
Share on other sites
this-is-me

ControlSend never sends shift, so letters are not caps.

You REALLY need to search before posting useless questions. There is already a UDF called ControlSendPlus that fixes the caps problem. For random letters, probably same thing. (* would come out 8, etc.)


Who else would I be?

Share this post


Link to post
Share on other sites
Insolence

I apologize, I didn't think this was a common problem.

I'll search next time.

Edited by Insolence

"I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark TwainPatient: "It hurts when I do $var_"Doctor: "Don't do $var_" - Lar.

Share this post


Link to post
Share on other sites
this-is-me

No problem.


Who else would I be?

Share this post


Link to post
Share on other sites
Jon

ControlSend never sends shift, so letters are not caps.

You REALLY need to search before posting useless questions. There is already a UDF called ControlSendPlus that fixes the caps problem. For random letters, probably same thing. (* would come out 8, etc.)

Bit harsh. ControlSend is only unreliable for command prompts as that works differently to normal windows (seems to check physical states rather than accepting the keystroke messages). For normal windows ControlSend should be way more reliable than a normal Send - and yes it does send shift, ctrl, alt etc.

A game will usually work by checking physical states and therefore will probably suffer the same problems as a command prompt window.

Share this post


Link to post
Share on other sites
this-is-me

Thanks for clarifying for me.


Who else would I be?

Share this post


Link to post
Share on other sites
trids

ControlSend is only unreliable for command prompts as that works differently to normal windows (seems to check physical states rather than accepting the keystroke messages).  For normal windows ControlSend should be way more reliable than a normal Send - and yes it does send shift, ctrl, alt etc.

<{POST_SNAPBACK}>

Now that would be very useful to find in the helpfile :idiot:

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  

×