Various helper scripts
Developing in any code system can be a complicated process, and developers inevitably come up with various helper scripts to help smooth the process.
Here you will find some scripts that ease working with Jester.
jsequence
Easily generate properly formatted sequence templates or action fragments with one command.
jsequence removes the headache of getting initial sequence templates laid out. Probably the most frustrating part of building sequences is dealing with syntax errors due to improper formatting, and this script eliminates many of those issues.
When called with no arguments, it brings up a dialog asking a few simple questions which it uses to generate the template. Alternatively, it can be called with a variable number of arguments, each the name of an action, and it will output just the structure for the passed actions, which can then be copied or piped into an existing sequence.
You can also call it with the following special arguments:
keys
: outputs the template for the rather complexkeys
parameter.actions
: outputs a list of all known actions.
Installation
Manually
- Follow the instructions in the main Jester installation instructions for properly setting your LUA_PATH environment variable.
- Move (or better yet, symlink) this script somewhere into your $PATH (~/bin, /usr/local/bin, etc.)
- If you use bash completion, you can place
scripts/jsequence.bash_completion
in your bash completion directory to enable completion for the command.