It would be great to select layers via formulas instead of select fixed layers. That would be great for e.g. png sequences.
I can imagine something like:
Detect --> Reorder --> Select Layer with Formula Input:
frame-
+ variable_A
variable_A in this example will hold the frame number, getting from whatever. Scroll position, object position, etc.