I have created a little confirmation popup which asks for confirmation of deletion of old files in my download folder.
I have added some other requirements before the execution of this script. However, even if those requirements are placed before my confirmation script, it gets always fired.
Is it possible to prevent Hazel to execute others rules in an "AND" condition block as soon as a requirement is not met ?

If not, do you know how to safely move "theFile" to the trash ?
I tried
- Code: Select all
tell application "Finder" to delete theFile as POSIX file
Thanks