dovetail Posted December 8, 2010 Share Posted December 8, 2010 I am new to using AutoIt v3 and I want to create a tray tool that monitors a folder and whenever I download my media files into that folder it grabs them and moves them to proper sub-folders based on file type and file size IE some files are AVIs/MKVs and 125, 350 or >700 MB for movies but the same folder have MP3s, EXE and ZIP files that i want left alone psudo-code expandcollapse popup For (All files in DownloadedDIR) IF FileType = AVI or MKV AND FileSize = 125 THEN FileMove to "TV Shows" IF FileType = AVI or MKV AND FileSize = 350 THEN FileMove to "TV Shows" IF FileType = AVI or MKV AND FileSize >= 700 THEN FileMove to "Movies" IF FileType = MP3 FileMove to "Music" [code=auto:0] I just dont know how to read from a directory and move based on filesize (i know the two main points of the tool) THANKS in advance for all the help Link to comment Share on other sites More sharing options... JoHanatCent Posted December 8, 2010 JoHanatCent Active Members 436 Just for Fun Share Posted December 8, 2010 I just dont know how to read from a directory and move based on filesize (i know the two main points of the tool) Try these from your help: FileSelectFolder FileFindFirstFile FileGetSize FileMove 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