Jump to content

Send to a DOS


 Share

Recommended Posts

  • Replies 57
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Can you give an example? what program?

[u]Helpful tips:[/u]If you want better answers to your questions, take the time to reproduce your issue in a small "stand alone" example script whenever possible. Also, make sure you tell us 1) what you tried, 2) what you expected to happen, and 3) what happened instead.[u]Useful links:[/u]BrettF's update to LxP's "How to AutoIt" pdfValuater's Autoit 1-2-3 Download page for the latest versions of Autoit and SciTE[quote]<glyph> For example - if you came in here asking "how do I use a jackhammer" we might ask "why do you need to use a jackhammer"<glyph> If the answer to the latter question is "to knock my grandmother's head off to let out the evil spirits that gave her cancer", then maybe the problem is actually unrelated to jackhammers[/quote]

Link to comment
Share on other sites

How is it possible to send some keys to a DOS program?

Send ("Hello")

doesn't work

If you send in the Command Prompt window everything works fine.

WinActivate('Command Prompt')
Send('Hello')

Which program do you send "Hello"?

Edited by Yashied
Link to comment
Share on other sites

Link to comment
Share on other sites

What do you mean?

He means don't be an ass if you want people to help you

[u]Helpful tips:[/u]If you want better answers to your questions, take the time to reproduce your issue in a small "stand alone" example script whenever possible. Also, make sure you tell us 1) what you tried, 2) what you expected to happen, and 3) what happened instead.[u]Useful links:[/u]BrettF's update to LxP's "How to AutoIt" pdfValuater's Autoit 1-2-3 Download page for the latest versions of Autoit and SciTE[quote]<glyph> For example - if you came in here asking "how do I use a jackhammer" we might ask "why do you need to use a jackhammer"<glyph> If the answer to the latter question is "to knock my grandmother's head off to let out the evil spirits that gave her cancer", then maybe the problem is actually unrelated to jackhammers[/quote]

Link to comment
Share on other sites

@Zompy

I don't think he was being an ass, I think he was saying that sending to the dos prompt works, that it has to be program specific as to why send is not working.

The problem with that is we don't have your program, and if we do we may not have experiance with it, so any information you can give on the program itself would be helpful

Giggity

Link to comment
Share on other sites

WinActivate("C:\WINDOWS\system32\cmd.exe")
Send("dir{enter}")

That works on my system to send to a DOS window...

[u]Helpful tips:[/u]If you want better answers to your questions, take the time to reproduce your issue in a small "stand alone" example script whenever possible. Also, make sure you tell us 1) what you tried, 2) what you expected to happen, and 3) what happened instead.[u]Useful links:[/u]BrettF's update to LxP's "How to AutoIt" pdfValuater's Autoit 1-2-3 Download page for the latest versions of Autoit and SciTE[quote]<glyph> For example - if you came in here asking "how do I use a jackhammer" we might ask "why do you need to use a jackhammer"<glyph> If the answer to the latter question is "to knock my grandmother's head off to let out the evil spirits that gave her cancer", then maybe the problem is actually unrelated to jackhammers[/quote]

Link to comment
Share on other sites

  • Developers

That seems usefull, it does do enter, but how to send for example Hello?

You are kidding ....right?

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.
  :)

Link to comment
Share on other sites

  • Developers

You contradict yourself which is causing confusion.

You say that Send("Dir{ENTER}") works but than you ask how to make Send() work?

Edited by Jos

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.
  :)

Link to comment
Share on other sites

no... Send doesn't work, but with dir enter does work, so no, im not kidding. Im trying to find out how to send words

So the example from SpookMeister didn't send "dir"?
Link to comment
Share on other sites

I rather think Yasier is being an ass, as i said Send doesn't work, and Hello is just an example...

And i heared it is possible.

Why have you created this topic? Do you need help or you have a lot of extra time and you have nothing to do. If you want to get help, please describe the problem in more detail. If you want just wacky, then go to another place. People want to help you, and you as I see it is not necessary. What do you fuck brain people?
Link to comment
Share on other sites

Why have you created this topic? Do you need help or you have a lot of extra time and you have nothing to do. If you want to get help, please describe the problem in more detail. If you want just wacky, then go to another place. People want to help you, and you as I see it is not necessary. What do you fuck brain people?

What is your problem? I don't understand a shit of this DOS and i ask for help, and the only thing you do it saying use send while i said it doesn't work?!

I made this topic because i need help, and instead of complaining, you could say what details you need.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...