Quote:
Originally Posted by ownedbycats
Selection Modifier: Would any of the options select 'initial selection before running chain'?
|
No. You have to save them by creating a Chain Variables as the first action, with a variable called initial_selection:
Code:
program:
from_selection('id')
Whenever you need to re-select these books, create a "Search Using Template" action with the following template:
Code:
program:
globals(initial_selection)
You also have to select the option "Template Output is a list of ids", and tick the checkbox "Select all books resulting from this template"
Notes:
- You have to ensure that the current library view shows all the books, or at least showing the books you are trying to select, so it is better to insert a selection modifier clearing any previous search.
- Using this approach you are not restricted to only choosing the books before running the chain. You can save and restore selection during any point in the chain e.g. restore selection before 3rd action and so on.