Toggle between layers with Keyboard

Ah, yes. That is true and now I understand it won’t work.

Then maybe I can access the previous and successive layer with a script? Would that be viable? I know I can select the masters, but can I select instances?