BVinter Posted October 24, 2006 Posted October 24, 2006 Hi - I just got started with AutoIt which seems just like the kind of tool I need all the time! For a script I need to pipe data from an application, my first attempt to do this failed misserably however My script is (test.au3): $var = ConsoleRead(10) MsgBox(0, "From keyboard", $var) Exit Which - for testing - I then just run as: echo Hello | test.au3 But the script does not get any input but just gives me the emspy message box. So obviously I'm missing something here, but I cant find any examples and Google for AutoIt ConsoleRead don't yield anything useful:( Does anybody have a small example of using ConsoleRead I could have a peek at? Cheers, Brian
lod3n Posted October 24, 2006 Posted October 24, 2006 Your code is perfect, you just have to compile the au3 to an exe. [font="Fixedsys"][list][*]All of my AutoIt Example Scripts[*]http://saneasylum.com[/list][/font]
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