Chapter 8. Script-fus

This chapter is intended to introduce how interpreters (with an 's' as in 'not only Python') can be used to extend Gaby capabilities.

Important

This is not a documentation about writing script-fus in a particular language; even if most examples are written with Python.

It should supersede the README in the Python plug-in subdirectory.

8.1. How to use script-fus ?

Script-fus can be used in several places to do several things.

8.1.3. As a 'user-launched' script

When in 'Expert Mode' [1] there is a 'Home-brewed script' menu item in the 'Actions' menu. It allows you to select a script to run in a file selection box.

Notes

[1]

The only way to move to the so-called 'Expert Mode' is by editing your Gabyrc and adding 'expert_mode TRUE' in the 'common:misc' section. If you don't know how to do that you're not an expert and don't need this mode :)