I don’t need anyone to write the exact code, but I am looking for some direction on a new script.
Basically, it would look at a specific folder every 10 seconds and when it noticed a new file or the change to the Finder’s label of existing files, it would send a Growl notification.
As I’ve scripted it now, four lists are generated: FileNames1, Labels1, FileNames2, Labels2
(first set from the first scan of the folders, second from the scan 10 seconds later).
How can I tell AppleScript to compare the two FileNames lists, figure out which ones are new in the second and then create a third list that combines both the new filenames and their associated label designation (just the ranking of the label is fine – i.e. 0, 1, 2, 3… because I can translate those before I send it to Growl).
Many thanks!