kcd-clan Posted July 10, 2006 Share Posted July 10, 2006 I need to do this. send function of dos out and recive the output in autoit Heres what id like somthing like or waht i need func dos($cmd) return run $cmd endfunc $go=dos(netstat) for $i=0 to $i= end of $go out put msgbox(0,$go,$go[$i]) Visit mEMy programs made.Iul - IulG-V Console - G-V Console_RandomLetter - _RandomLetter()Saftey Kill - Saftey Killcolorzone() = colorzone() Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted July 10, 2006 Moderators Share Posted July 10, 2006 I need to do this. send function of dos out and recive the output in autoit Heres what id like somthing like or waht i need func dos($cmd) return run $cmd endfunc $go=dos(netstat) for $i=0 to $i= end of $go out put msgbox(0,$go,$go[$i])You've been a member for over a year? for $i = 0 to $i = end of $go out put? Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
kcd-clan Posted July 10, 2006 Author Share Posted July 10, 2006 omg dont act stuped stop freaking harassing me. Dont you anything better to do you can read it . Any ways i know how to do it with vb so it dont matter. Visit mEMy programs made.Iul - IulG-V Console - G-V Console_RandomLetter - _RandomLetter()Saftey Kill - Saftey Killcolorzone() = colorzone() Link to comment Share on other sites More sharing options...
w0uter Posted July 10, 2006 Share Posted July 10, 2006 search the board for "_RunSTD" My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll Link to comment Share on other sites More sharing options...
kcd-clan Posted July 10, 2006 Author Share Posted July 10, 2006 thank you my vb skills arnt good enuff to do that on vb :/ Visit mEMy programs made.Iul - IulG-V Console - G-V Console_RandomLetter - _RandomLetter()Saftey Kill - Saftey Killcolorzone() = colorzone() Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted July 10, 2006 Moderators Share Posted July 10, 2006 thank you my vb skills arnt good enuff to do that on vb :/Last I checked this was an AutoIt forum, and you were asking for an autoit solution in which w0uter gave you the beta option to that with his functionFunc _RunSTD($sCommand, $sWorkDir = @WorkingDir, $iShowMode = @SW_HIDE) Local $sResult = '', $iPID = Run($sCommand, $sWorkDir, $iShowMode, 2) While Not @Error $sResult &= StdoutRead($iPID) Sleep(10) Wend Return $sResult EndFuncIf you had bothered to look. And yes, you deserve any harrassment that I/Anyone gives for your laziness to find any solution even when it was pointed out directly. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted July 10, 2006 Moderators Share Posted July 10, 2006 Ease up on the knucklehead. If you have something that helps, post it nicely. If a member annoys you too much to be able to post nicely... don't bother posting. If you have extra time to want to conflict with someone... I suggest marriage... did wonders for me. Lar.Did that... but she's asleep --- I'll practice my ignore users rights ([Ponder]Then I may not ever read a post [/Ponder]) Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. 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