Setting Up a Sound Notification to Play When File Downloads

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

Hello! I recently switched to Vivaldi for my browser and cannot set a custom sound to play when a download finishes. I know I can set Hazel to sound a notification when criteria are met so I have attempted to set up rules to play my sound when my Downloads folder receives a new file (within one minute). I've selected my preferred sound (.wav file) and have run tests. No sound is heard.

Notifications in Settings on macOS are enabled. The File meets the criteria. At this point, I figure I must be doing something wrong with the rules. Current rules image is here: https://imgur.com/a/VoqI5Cp

Thank you for any ideas!
DarkAthena
 
Posts: 10
Joined: Wed May 23, 2018 11:21 am

Does it work if you use one of the system sounds?
Mr_Noodle
Site Admin
 
Posts: 11945
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Mr_Noodle wrote:Does it work if you use one of the system sounds?


It does not work with a default sound.
DarkAthena
 
Posts: 10
Joined: Wed May 23, 2018 11:21 am

Are you sure your rule is matching and being executed? Try the troubleshooting guide here: https://www.noodlesoft.com/kb/hazel-tro ... ing-guide/
Mr_Noodle
Site Admin
 
Posts: 11945
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Mr_Noodle wrote:Are you sure your rule is matching and being executed? Try the troubleshooting guide here: https://www.noodlesoft.com/kb/hazel-tro ... ing-guide/


It seems to be matching but the rule doesn't get run. It runs one rule and then stops.

2024-09-12 10:45:16.928 hazelworker[7427] Processing folder Downloads
2024-09-12 10:45:18.986 hazelworker[7427] Done processing folder Downloads
2024-09-12 10:48:31.004 hazelworker[7466] Running worker (v5.3.4) for folder with identifier: 16777221-1277845.
2024-09-12 10:48:31.005 hazelworker[7466] ###Arch: arm64
2024-09-12 10:48:31.005 hazelworker[7466] ###main load address: 0x1043d0000
2024-09-12 10:48:31.005 hazelworker[7466] ###Hazel Core load address: 0x1049e8000
2024-09-12 10:48:31.005 hazelworker[7466] ###Noodle load address: 0x104cd8000
2024-09-12 10:48:31.005 hazelworker[7466] ###CK load address: 0x1048d8000
2024-09-12 10:48:31.029 hazelworker[7466] Processing folder Downloads
2024-09-12 10:48:33.150 hazelworker[7466] BBEdit_15.1.2.dmg: Rule Newly Added Files matched.
2024-09-12 10:48:37.318 hazelworker[7466] Done processing folder Downloads


It doesn't process past the first rule "Newly Added Files".

If I turn off the Newly Added Files rule, then my rule plays the sound.
DarkAthena
 
Posts: 10
Joined: Wed May 23, 2018 11:21 am

It looks like if I append my sound rule to the Newly Added Files tag rule and change the triggering conditions I can get it to run.

Is there a way to specify half a minute? Example: Date Added is in the last 0.5 minute
DarkAthena
 
Posts: 10
Joined: Wed May 23, 2018 11:21 am

The manual has a section on how rules work. If a file matches a rule, evaluation will stop. You need to use a "Continue" action if you want subsequent rules to be evaluated after a match.

Yes, you can use Date added and some sort of time constraint.
Mr_Noodle
Site Admin
 
Posts: 11945
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Mr_Noodle wrote:The manual has a section on how rules work. If a file matches a rule, evaluation will stop. You need to use a "Continue" action if you want subsequent rules to be evaluated after a match.

Yes, you can use Date added and some sort of time constraint.



You are the BEST! Thank you for your help!
DarkAthena
 
Posts: 10
Joined: Wed May 23, 2018 11:21 am


Return to Support