Jump to content
Sign in to follow this  
Rawox

Enter in CMD

Recommended Posts

Rawox

Does anyone know how I can get to the next line in Command Prompt?

Send ("  H: I'm an Hacker.")
Sleep( 2500 )
Send ("  H: But you already know about me.")
Sleep( 2000 )
Send ("  H: That Stupid Sam Told you about me.")
Sleep( 2200 )
Send ("  S: I'm Not Stupid.")
Sleep( 1800 )
Send ("  H: Yes you are.")
Sleep( 1800 )
Send ("  S: No I'm not.")
Sleep( 1800 )
Send ("  H: No your not.")
Sleep( 1800 )
Send ("  S: Yes I Am.")
Sleep( 1800 )
Send ("  H: I said so.")
Sleep( 1800 )

Share this post


Link to post
Share on other sites
bluelamp

Explain what you want to do

Edited by bluelamp

Share this post


Link to post
Share on other sites
Rawox

I want to display an message between an Hacker (H) and Microsoft Sam (S)

They need to do like they talk to each other in CMD, not notepad or somehing else.

Edited by Rawox

Share this post


Link to post
Share on other sites
bluelamp

Compile your script in aut2exe with the parameter "/console" so it generates a console at the start of a program instead of a gui

everything you write with Consolewrite is than written to that console

You should describe your problems better

Edited by bluelamp

Share this post


Link to post
Share on other sites
Robbinski12

shouldn't

Send("{ENTER}")

work? it worked to me to exit notepad (i dont know how to send keycombinations)

See:

Send("{ALT}{ENTER}{UP}{ENTER}")

Sleep(10)

Send("{RIGHT}{SPACE}")

Edited by Robbinski12

Share this post


Link to post
Share on other sites
Nevin

Do you mean you want to write that whole thing out as one command in CMD? I don't think you can send a carriage return like that, but I'm not entirely sure. You could write a batch file, maybe?

I don't see the point of this.

Share this post


Link to post
Share on other sites
Richard Robertson

You use ConsoleWrite and add a @CRLF on the end of each write.

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.