Feature request: Labels on certain conditions and actions

Talk, speculate, discuss, pontificate. As long as it pertains to Hazel.

Moderators: Mr_Noodle, Moderators

Can we please have a way to put a descriptive caption or label on the "Passes shell script" and "Run shell script" condition and action (and the same for AppleScript and JavaScript)? It's pretty hard to understand the contents of rules that are heavily using scripts right know.

Example rule:

Code: Select all
If -all- of the following conditions are met:
-Kind- -is- -folder-
-Passes shell script- -embedded script-
-Passes shell script- -embedded script-

Do the following:
-Run AppleScript- -embedded script-


With descriptive labels:

Code: Select all
If -all- of the following conditions are met:
-Kind- -is- -folder-
-Passes shell script- -embedded script- "Folder contains images"
-Passes shell script- -embedded script- "No images have been processed"

Do the following:
-Run AppleScript- -embedded script- "Import entire directory to Photos"
merol
 
Posts: 6
Joined: Sun Oct 01, 2017 9:24 am

Thanks for the suggestion. Will consider for a future release. Note that most scripting languages have a way of adding comments so you can do that as the first line in the script.
Mr_Noodle
Site Admin
 
Posts: 11195
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Open Discussion