gammasts Posted May 30, 2005 Posted May 30, 2005 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?
the_lord_mephy Posted May 30, 2005 Posted May 30, 2005 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]
GrungeRocker Posted May 30, 2005 Posted May 30, 2005 what about $string = "_" send($string) ? [font="Verdana"]In work:[list=1][*]InstallIt[*]New version of SpaceWar[/list] [/font]
w0uter Posted May 30, 2005 Posted May 30, 2005 (edited) 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 May 30, 2005 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
Developers Jos Posted May 30, 2005 Developers Posted May 30, 2005 ControlSend() has this known issue. Search for the ControlSendPlus() uDF by pekster .... SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
gammasts Posted May 31, 2005 Author Posted May 31, 2005 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
gammasts Posted May 31, 2005 Author Posted May 31, 2005 (edited) 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 May 31, 2005 by gammasts
gammasts Posted May 31, 2005 Author Posted May 31, 2005 Solution:#80964It works fine. I suggest for everyone to use that method.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now