CodyBarrett Posted February 10, 2009 Share Posted February 10, 2009 Im Very new to the command prompt and these funcs of autoit. how would i recv the data that comes up once i use the prompt? i got this so far Run('CMD.exe') If WinExists('C:\WINDOWS\system32\CMD.exe')Then WinActive('C:\WINDOWS\system32\CMD.exe') Send('Ipconfig') Send('{ENTER}') EndIf is there an easyer way? also i cannot recv the data any help you guys? (i have searched but not very hard im sad to say because im at scool and its limited computer time) [size="1"][font="Tahoma"][COMPLETED]-----[FAILED]-----[ONGOING]VolumeControl|Binary Converter|CPU Usage| Mouse Wrap |WinHide|Word Scrammbler|LOCKER|SCREEN FREEZE|Decisions Decisions|Version UDF|Recast Desktop Mask|TCP Multiclient EXAMPLE|BTCP|LANCR|UDP serverless|AIOCR|OECR|Recast Messenger|AU3C|Tik-Tak-Toe|Snakes & Ladders|BattleShips|TRON|SNAKE_____________________[u]I love the Helpfile it is my best friend.[/u][/font][/size] Link to comment Share on other sites More sharing options...
PsaltyDS Posted February 10, 2009 Share Posted February 10, 2009 Im Very new to the command prompt and these funcs of autoit. how would i recv the data that comes up once i use the prompt? i got this so far Run('CMD.exe') If WinExists('C:\WINDOWS\system32\CMD.exe')Then WinActive('C:\WINDOWS\system32\CMD.exe') Send('Ipconfig') Send('{ENTER}') EndIf is there an easyer way? also i cannot recv the data any help you guys? (i have searched but not very hard im sad to say because im at scool and its limited computer time) Look at the example for StdOutRead() in the help file. 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...
CodyBarrett Posted February 10, 2009 Author Share Posted February 10, 2009 (edited) ok im alittle confused but ill look into it with more detail after school \ ill EDIT this post in a few hours and say what i found and or what i still dont understand EDIT told you.. anyway i looked through it and suddenly remebered something, what i was looking for in the command was, i type in PING www.ect..... and it recves the IP in the brakets [ ] BUT isnt there a function in autoit that converts the name to IP? PS. im a newb at networking stuff EDIT again ok what i found was TCPnametoIP() i dont know HOW i missed that function since i made a tcp multiclient THANKS ANYWAY!! Edited February 11, 2009 by CodyBarrett [size="1"][font="Tahoma"][COMPLETED]-----[FAILED]-----[ONGOING]VolumeControl|Binary Converter|CPU Usage| Mouse Wrap |WinHide|Word Scrammbler|LOCKER|SCREEN FREEZE|Decisions Decisions|Version UDF|Recast Desktop Mask|TCP Multiclient EXAMPLE|BTCP|LANCR|UDP serverless|AIOCR|OECR|Recast Messenger|AU3C|Tik-Tak-Toe|Snakes & Ladders|BattleShips|TRON|SNAKE_____________________[u]I love the Helpfile it is my best friend.[/u][/font][/size] 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