areola Posted May 9, 2004 Share Posted May 9, 2004 (edited) I'm new to autoit, so don't expect anything good... But anywho... After ripping cd's, I usually find myself annoyed at typing the track number's at the beginning of each file (ie. 01,02,03,...), so I wrote a script that'll do it. Just a beginners project... expandcollapse popupdim $i=2, $FolderName, $NumberofFiles, $Start $Start = MsgBox(1,"AutoOrganizer", "This will add the numbers (01-09,10-infinite) at the beginning a file name. Please have the folder open, and your files in the order you want.") if $Start = 2 then exit endif $FolderName=InputBox("AutoOrganizer","Please type in the exact name of the folder") if @error = 1 then exit endif $NumberofFiles=InputBox("AutoOrganizer","Please type in the number files there are") if @error = 1 then exit endif winactivate ($FolderName) winwaitactive ($FolderName) send ("!vl{Space}{Home}{F2}{Home}01-{Enter}") do send ("{Down}{F2}{Home}") if $i <= 9 then send ("0") send ($i,1) send ("-") else send ($i,1) send ("-") endif send ("{Enter}") $i=$i+1 until $i = $NumberofFiles + 1 send ("!vn") BTW...You have to have the folder open, and the files already in the order you want. Any and every suggestion, comment, and complaint will be appreciated. Edited May 9, 2004 by areola Link to comment Share on other sites More sharing options...
dazzyreil Posted May 9, 2004 Share Posted May 9, 2004 nice script for a beginner Link to comment Share on other sites More sharing options...
areola Posted May 9, 2004 Author Share Posted May 9, 2004 Thanks. I find it useful, and I'ma try to update as much as I can for felxibility. Like opening the folder and organizing it yourself is half the job done, so i'd want the program the to do it all. 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