noleghair Posted May 1, 2006 Share Posted May 1, 2006 I want to have a script that is really boring It would sit all day long and watch to see if there are any additions to a folder and if so, prompts the user to see if they want to run another script to open and execute the list of newly added files. Any help would be greatly appreciated Link to comment Share on other sites More sharing options...
AutoChris Posted May 1, 2006 Share Posted May 1, 2006 You can check the timestamps on the files/folder to see if anything is new--meaning newer than the last time you checked. You can do this by dropping an INI file with the last date & time you checked and check to see if anything was created and/or modified after that time. Link to comment Share on other sites More sharing options...
Don N Posted May 1, 2006 Share Posted May 1, 2006 And you could use DirGetSize(int the helpfiles) to monitor the directory and then only perfomrm the check described by SerialKiller when the size of the directory is increased. _____________________________________________________"some people live for the rules, I live for exceptions"Wallpaper Changer - Easily Change Your Windows Wallpaper Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted May 1, 2006 Moderators Share Posted May 1, 2006 And you could use DirGetSize(int the helpfiles) to monitor the directory and then only perfomrm the check described by SerialKiller when the size of the directory is increased.I think the timestamp is a better idea, what if the update was the same size (they delete one option to put another the same size as an example). 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...
noleghair Posted May 1, 2006 Author Share Posted May 1, 2006 thank you 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