Page 1 of 1

Rename after opening with droplet

PostPosted: Fri Jul 21, 2017 9:00 pm
by Drifter
Hi guys,

I am currently setting Hazel up as follows,
1. Open new file added to folder with a Photoshop Droplet
1a. This droplet will resize my image and export to another folder
2. Rename the file

But apparently, the rename happens before the file is opened with the droplet, so the newly exported file is wrongly named.
I'm guessing that means that the Hazel actions don't go by sequence but concurrently?
Is there a way to make it go in sequence instead?
Thanks in advance!

Re: Rename after opening with droplet

PostPosted: Mon Jul 24, 2017 10:51 am
by Mr_Noodle
The problem is that the Photoshop droplet is returning back to Hazel before it's finished its job. Can you have the droplet do something when it's done, like set a color label/tag? If so, you can have it do that and have another Hazel rule look for that tag before doing the rename.

Re: Rename after opening with droplet

PostPosted: Sat Jul 29, 2017 8:01 am
by Drifter
Don't think it can set anything to the processed file though. =(
Maybe adding a time delay before the next action might help. I search around for any script for delaying the next action~

Re: Rename after opening with droplet

PostPosted: Mon Jul 31, 2017 11:00 am
by Mr_Noodle
You can try the following shell script:

sleep X

where X is the amount of time to pause in seconds.