Page 1 of 1

Getting notification about new files

PostPosted: Wed Jan 28, 2015 10:08 pm
by gregjsmith
My security cameras uploads video files to my mac when the built in motion detector is triggered.

I want to be notified when new footage is added. I don't want to know for every file, just how many files were uploaded in, say, the last 5 minutes. If there has been no new files uploaded then I shouldn't be notified.

I think i could do this with applescript but I'm looking for other ideas.

Re: Getting notification about new files

PostPosted: Thu Jan 29, 2015 12:18 pm
by Mr_Noodle
You can get it to trigger if you monitor the folder containing the upload folder and then have your rule match the upload folder. The problem is that the Display Notification action does not have any attributes available beyond the basic ones meaning you can't display the number of files. So, I think AppleScript is the way to go here.

Re: Getting notification about new files

PostPosted: Wed Feb 04, 2015 7:14 pm
by gregjsmith
How might I do it without counting the number of files?

Re: Getting notification about new files

PostPosted: Thu Feb 05, 2015 12:49 pm
by Mr_Noodle
It depends a bit on the details. If the folder only has files added to it (not removed), then you can try "Subitem count did change" as a trigger. If files can be removed from it, then it will be triggered when that happens as well, though.

Re: Getting notification about new files

PostPosted: Wed Mar 11, 2015 8:37 am
by javiercastor
Hello,

After using the advanced search i did´t find anything about my doubt so i will post it here because is something about the notification center.

When Hazel moves something into a folder i settled before, is there any way that, if I click on the cloud notification, the finder automatically goes to the file into the new folder that have been moved?

I mean, for example, a new dmg. has been downloaded into my "General Downloads" folder, so my Hazel automatically moves it to my "07.Dmgs and installers" folder, so a notification appears on the top right screen ( on Yosemite), and I would like to click that notification and see that file into the new location in finder ( now i have to go to my folder manually). I don't know if is possible or not, but anyway i think it would be really good!

Thanks a lot!

Re: Getting notification about new files

PostPosted: Wed Mar 11, 2015 3:04 pm
by Mr_Noodle
This is a different topic and should have it's own thread.

Hazel should do that now. Is it not working for you?