View Single Post
Old 02-19-2021, 07:54 AM   #337
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,450
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by capink View Post
@chaley: The chain variables action already has a column (the value column) that accepts templates as value. I am thinking about adding the new functionality to this action; by adding a third column with a checkbox. When checked, the template will iterate over all books. I will also make right clicking the value cell pop up the template dialog.
This will work well. I have made an example average_rating action using this idea. And yes, opening the template editor is a fine idea.
Quote:
I think that way you can, if you choose, skip the set_globals part because the new value will be automatically re-assigned to the named variable (the name column). Any thoughts?
You are right. However, someone might want to use a Formula action to see the result before changing the library metadata.
Quote:
Edit: set_global would still be used if a user wants to set more than one variable, as in your previous example, but must be sure to choose a different identifier in the chains variable name column.
You are right, but I suspect this won't be common. We will see.
chaley is offline   Reply With Quote