Quote:
Originally Posted by ownedbycats
Just curious: Am I misremembering, or was there an option to make a chain invisible in the menu if the conditions aren't verified?
|
The option is in the conditions dialog, and it greys out the menu entry without making it invisible.
Quote:
Originally Posted by ownedbycats
Also: For my "switch VL" chain, is it possible to set a condition to do an action (clear marked books) unless I'm switching to the Cleanup VL? There's view_manager_last_view but I think that's for the currently selected view.
|
Action Chains events can pass arguments to their member chains. In case of the "VL Tab Changed" event it has only one argument, the vl tab name, which can be accessed and used in conditions:
Code:
program:
vl = globals(_event_args)
Attached below is a chain, that if added to an event, will print the event arguments to the terminal (you can use it for debugging and exploration of event arguments)