sidewalking Posted June 30, 2006 Share Posted June 30, 2006 Hi all, Quick question. I am unsure if AutoIT will help me do what I want to accomplish. It would involve basically just batch-like commands for the CMD.EXE interface. What I would want to do create a program to pass the files in a folder through one exe program (with command line options). Then I would want to pass the resulting files through a different exe program, and then pass those files through a third exe program. The first will encode (audio files), the second will analyze track/album gain, and the third will verify the encoding/check for errors. I would like the interface to be as easy as selecting the folder, either checking options or just entering the options or command line variables, then letting it execute each of these three actions. Will AutoIT automate these three CLI processes for me? Does anyone have advice/input on using these types of programs to accomplish this? Thanks! Link to comment Share on other sites More sharing options...
w0uter Posted June 30, 2006 Share Posted June 30, 2006 (edited) Use StdOut and StdIn from the beta. or you can just [edit @ PsaltyDS] ty for that [/edit] Edited June 30, 2006 by w0uter 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...
PsaltyDS Posted June 30, 2006 Share Posted June 30, 2006 (edited) Use StdOut and StdIn from the beta. or you can just run @comspec /c 1st > 2nd > 3th > file.txt Note that if you want to pass stdout to the stdin of another program, it's a pipe "|", not the redirection arrow ">". So: Run(@comspec & " /c 1st.exe | 2nd.exe | 3rd.exe > file.txt") If you ran the following with enough permissions: Run(@comspec & " /c 1st.exe > 2nd.exe") ...it would have the unfortunate effect of overwriting 2nd.exe with the stdout text from 1st.exe. Edited June 30, 2006 by PsaltyDS 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...
sidewalking Posted July 1, 2006 Author Share Posted July 1, 2006 Oh boy, I will need to do some reading a researching. I am too new to this, but with those tips I can search for those functions to start with. Thanks to both! Scott Link to comment Share on other sites More sharing options...
herewasplato Posted July 1, 2006 Share Posted July 1, 2006 Oh boy, I will need to do some reading a researching...Depending upon how your programs work, it might be as simple as 3 RunWait lines of AutoIt3 code. [size="1"][font="Arial"].[u].[/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