pgaskin / NickelMenu

The easiest way to launch scripts, change settings, and run actions on Kobo e-readers.
https://pgaskin.net/NickelMenu
MIT License
591 stars 32 forks source link

Chain skipping #31

Closed pgaskin closed 4 years ago

pgaskin commented 4 years ago

It would be useful to add an action to skip a number of following actions. This would allow for logic similar to grouping chained actions, but without the complexity which goes with it.

This was inspired by the chaining in PAM's config files.

pgaskin commented 4 years ago

I would probably name this action skip, and make it take either no arguments or -1 to skip all remaining actions, or else the number of actions to skip.

@NiLuJe, @shermp, what do you you think?