I am trying to figure out how to write an AppleScript that will head to a directory, determine if a file with a certain extension exists, and if it does exist, if the file size is greater than a certain size. And run that check every so often. Hung up on how to look at all files in a certain folder, look for that extension and then see if the file size is past my threshold.
Ideas? Not too good with AppleScript.
You don’t necessarily need to use AppleScript if you are familiar with something else - the Cocoa API and various other scripting languages (Ruby, Python, shell, etc) provide methods that will do all that.