Sign in to follow this  
Followers 0
CyberFunk Productions

command prompt

6 posts in this topic

#1 ·  Posted (edited)

ok i figured that ou i will post someting diff underneith

Edited by CyberFunk Productions

Share this post


Link to post
Share on other sites



#2 ·  Posted (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 by CyberFunk Productions

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

that worked great, thanks!

Share this post


Link to post
Share on other sites

#6 ·  Posted (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 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.

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  
Followers 0