schliden Posted April 6, 2007 Share Posted April 6, 2007 Is it possible to pipe a command to an AutoIT .exe eg: dir /b | myautoitexe.exe It works if i run myautoitexe.exe param param, but does not seem to accept piped params. TIA Link to comment Share on other sites More sharing options...
herewasplato Posted April 7, 2007 Share Posted April 7, 2007 Is it possible to pipe a command to an AutoIT .exeeg: dir /b | myautoitexe.exeIt works if i run myautoitexe.exe param param, but does not seem to accept piped params.TIAI'm not sure if that can be done - but here is a free bump.Welcome to the forum. [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
schliden Posted April 10, 2007 Author Share Posted April 10, 2007 I'm not sure if that can be done - but here is a free bump.Welcome to the forum.Thanks.I hope it can't be done, coz I've gone a whole new direction to workaround it ! Link to comment Share on other sites More sharing options...
Triblade Posted May 31, 2007 Share Posted May 31, 2007 I'm still interrested if someone got an anwser. Anyone? Anyone at all? -Tri- My active project(s): A-maze-ing generator (generates a maze) My archived project(s): Pong3 (Multi-pinger) Link to comment Share on other sites More sharing options...
PsaltyDS Posted May 31, 2007 Share Posted May 31, 2007 Oooh! Good question! I'd be interested to know if you can do something like: dir | find ".txt" | MyAutoItScript.exe Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
evilertoaster Posted May 31, 2007 Share Posted May 31, 2007 (edited) piped commands write to the stdin of the proccess they are piping to. Somthing simple like- $a="" while 1 $a=ConsoleRead(512) if $a<>"" then MsgBox(0,"Read",$a) WEnd This will show, in a messagebox, the data that was piped to it (after it's compiled of course) Edited May 31, 2007 by evilertoaster Link to comment Share on other sites More sharing options...
herewasplato Posted May 31, 2007 Share Posted May 31, 2007 piped commands write to the stdin of the proccess they are piping to. Somthing simple like-......and where were you back in April? :-)That was easier than I thought. [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
PsaltyDS Posted May 31, 2007 Share Posted May 31, 2007 piped commands write to the stdin of the proccess they are piping to. Somthing simple like- $a="" while 1 $a=ConsoleRead(512) if $a<>"" then MsgBox(0,"Read",$a) WEnd Go to the command line and run: DIR | FIND /I ".exe" | Test.exe Sweet! Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
Triblade Posted June 1, 2007 Share Posted June 1, 2007 ...and where were you back in April? :-)That was easier than I thought.Yeah, what he said!Our hero My active project(s): A-maze-ing generator (generates a maze) My archived project(s): Pong3 (Multi-pinger) Link to comment Share on other sites More sharing options...
Dapobe Posted June 14, 2007 Share Posted June 14, 2007 Very good. I was looking for the same!! 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