View Single Post
Old 12-25-2020, 10:22 PM   #191
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,082
Karma: 76037135
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by capink View Post
Also, to make chains enabled only if one book is selected, use the Chain Conditions dialog as follows

Code:
template = program: globals(selection_count)
datatype = number
comparison = "="
condition value = 1
Again, this makes use of variables defined by the plugin and will not work outside Action Chains.
I attached this condition to a single field edit - ask at runtime action in one of my chains.

I selected a single book and went to restore the bookmark. It didn't activate. The other actions ran okay with both single and multiple books selected. I made sure the datatype, comparison, and value were all correct Is this condition only meant to run on full chains?

EDIT: moved agent ransack crap to new post

Last edited by ownedbycats; 12-26-2020 at 12:05 AM.
ownedbycats is offline   Reply With Quote