Preset Values

When a plugin is initialized the dictionary PlugInName is created in plugin module's namespace. It contains the following items:

   'name' - the name of the plugin. The case of the containing
directory is preserved

   'dir'  - the name of the directory containing the plugin. For
example:  /home/bob/MMA/plugins

   'path' - a complete path entry to the plugin. For example:

   'cmd'  - the registered command name. For example, @HELLO

You can access any of these values in your module using the notation:

    zz = plugInName['name']

Bob van der Poel 2016-06-11