CyberFunk Productions Posted June 9, 2004 Share Posted June 9, 2004 (edited) ok i figured that ou i will post someting diff underneith Edited June 9, 2004 by CyberFunk Productions Link to comment Share on other sites More sharing options...
CyberFunk Productions Posted June 9, 2004 Author Share Posted June 9, 2004 (edited) how do i send an underscore to a command promp, it sends a dash instead of an underscore it works with a normal send but not with controlsend Edited June 9, 2004 by CyberFunk Productions Link to comment Share on other sites More sharing options...
Guest Guest Posted June 9, 2004 Share Posted June 9, 2004 ok lets say ni need to type my e-mail to automate my smtp server, so i want to send it to the command prompt Run(@comspec, "", @SW_HIDE) ProcessWait("cmd.exe") controlsend(@Comspec, "", "", "{SHIFTDOWN}", 0) ControlSend(@comspec,"","","my_email@domain.com") controlsend(@Comspec, "", "", "{SHIFTUP}", 0) the shift doesn't seem to do anything, the underscore still turns into a dash and the @ turns into a 2. I tried to look for documentation on this but couldn't find any. What do i do? Link to comment Share on other sites More sharing options...
pekster Posted June 9, 2004 Share Posted June 9, 2004 Someone could create a UDF with all the logic necessary to accomodate a 1 function call.Done. [font="Optima"]"Standing in the rain, twisted and insane, we are holding onto nothing.Feeling every breath, holding no regrets, we're still looking out for something."[/font]Note: my projects are off-line until I can spend more time to make them compatable with syntax changes. Link to comment Share on other sites More sharing options...
Guest Guest Posted June 9, 2004 Share Posted June 9, 2004 that worked great, thanks! Link to comment Share on other sites More sharing options...
pekster Posted June 9, 2004 Share Posted June 9, 2004 (edited) it's a shift state problem.I'm working on my 2nd version of my ShiftControlSend UDF, and had a question for you or anyone else who knows. The shift key is only 1 of 4 modifier keys, and I would like to know if the other 3 have this problem as well. For example, would ControlSend("stuff", "stuff", "stuff", $i) for values of $i being "!a" or "^a" or "#a" cause similar problems? If so, I'll code that into the UDF so that it will use the global send for those strokes as well.Edited to make a bit more sense Edited June 9, 2004 by pekster [font="Optima"]"Standing in the rain, twisted and insane, we are holding onto nothing.Feeling every breath, holding no regrets, we're still looking out for something."[/font]Note: my projects are off-line until I can spend more time to make them compatable with syntax changes. Link to comment Share on other sites More sharing options...
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