Jump to content
Sign in to follow this  
gammasts

Shift Key

Recommended Posts

Hey, I am trying to dump text into a window. This window seems to be very special from all the rest. For one, the only way I can get text into it, is by ControlSend. This isn't a big problem though.

The problem, is that if I send _ to it, it comes up as -. I have tried ascii, but then I realized this window doesn't take Alt + num codes. I have tried +- and +_ nothing, and {Lshift down} etc.

Is there any other ways of making a _? Someone who does C++ told me that there is something called VkKey and it sends the signal that windows gets from the keyboard, or something.

Help?

Share this post


Link to post
Share on other sites

Try {_} ?


My site for HTML Help :)[quote name='Valik' date='Oct 15 2004, 12:29 PM']Maybe nobody is an "elite uber-coder" like me because thinking is a capital offense in today's online-world?[right][snapback]36427[/snapback][/right][/quote]

Share this post


Link to post
Share on other sites

what about

$string = "_"

send($string) ?

<{POST_SNAPBACK}>

wouldnt work. it would be the same as send("_").

you could try sending it as a char. (search for chr & asc)

Edited by w0uter

My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll

Share this post


Link to post
Share on other sites

Well see, I would like to tell you that it all worked out except....

On my local tests, it works! However, this application is not for local use.

The application sits on a server in Texas. The only way to control the server, is via Remote Desktop Connection. When I have the window infront of me, and I execute it, it works fine. When I have the RDC minimized or disconnected, it goes back to a - instead of _

o_O

Share this post


Link to post
Share on other sites

And I see why.

In the controlsendplus, in order to get the shift key working, it uses the Send command to send shift key down and shift key up. The whole problem about that, is that when the RDC is minimized, send does not work. That is why I use control send.

I edited controlsendplus, to use controlsend instead of send, but that wont work, because controlsend cannot send the shift.

Is there a dll way to send it?

Edited by gammasts

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...