The eg module

Everything special that is needed from EventGhost for scripting and writing plugins is stuffed into the eg module. It includes many functions, variables, classes and objects. You could actually say eg is EventGhost itself.

Objects

eg.event

The eg.EventGhostEvent instance that is currently being processed.

eg.globals

Namespace that holds all global variables used by PythonCommand actions. PythonScripts (and all other code) can access these globals through eg.globals.

eg.scheduler

Instance of the single eg.Scheduler class.