Hazel Trigger when a file is present

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

Moderator: Mr_Noodle

Hazel Trigger when a file is present Mon Jul 13, 2020 12:31 pm • by pakiyabhai
Hello,
I use Keyboard Maestro to download bank statements every day at 9AM .

I need to wait Once all the bank statements are downloaded , I currently manually run Hazel to activate the rule which renames the files, moves the file & then KM does more stuff with them.

I'd like to create at automate the process but wait till KM is downloading all statements . KM can either create a text file or a directory.

Image
Image
pakiyabhai
 
Posts: 5
Joined: Wed Dec 28, 2016 1:14 am

Re: Hazel Trigger when a file is present Tue Jul 14, 2020 9:59 am • by Mr_Noodle
How would you know they are all downloaded? Is there a fixed number of files you download or something else?
Mr_Noodle
Site Admin
 
Posts: 11870
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Hazel Trigger when a file is present Tue Jul 14, 2020 11:50 am • by pakiyabhai
HI ,
Thanks for the reply.
The trigger file is created by Keyboard Maestro only once all the files are downloaded .
pakiyabhai
 
Posts: 5
Joined: Wed Dec 28, 2016 1:14 am

Re: Hazel Trigger when a file is present Wed Jul 15, 2020 9:57 am • by Mr_Noodle
In that case, you can try adding a condition like:
Code: Select all
If (all) are met
    << your normal conditions to match the files >>
    If (all) are met for (any file in the same folder)
        <<< condition to match the "trigger file" >>>


That will match a file if the trigger file exists in the same folder. You will also need some sort of rule to remove the trigger file.
Mr_Noodle
Site Admin
 
Posts: 11870
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Hazel Trigger when a file is present Thu Jul 16, 2020 1:26 am • by pakiyabhai
Thank You !!! It works but the rule trigger window never shows that rule has matched (but it works regardless)

I'm on Catalina 10.15.5
pakiyabhai
 
Posts: 5
Joined: Wed Dec 28, 2016 1:14 am

Re: Hazel Trigger when a file is present Thu Jul 16, 2020 10:09 am • by Mr_Noodle
Can you post a screenshot of the preview showing this? You'll have to use a 3rd party image hosting service. Try imgur.com if you don't have one already.
Mr_Noodle
Site Admin
 
Posts: 11870
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support