Page 1 of 1

Feature request: Labels on certain conditions and actions

PostPosted: Sat Oct 07, 2017 7:37 am
by merol
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"

Re: Feature request: Labels on certain conditions and action

PostPosted: Mon Oct 09, 2017 11:02 am
by Mr_Noodle
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.