Loading Modules   

<<< Setting Options Chapters Known Issues >>>

Contents

This chapter explains how modules are loaded and managed in PS/Workshop to provide extra functionality. There are two types of module that can be loaded into PS/Workshop:

Both types of module are managed in different ways, as explained in the rest of this chapter.

Once a module has been loaded, a new item appears on the PS/Workshop menu bar that gives access to the functionality of the module.

For information on developing your own modules for use with PS/Workshop, see the PS/Workshop Developer Guide.

[back to top]


6.1 PS/Workshop V1 modules

Modules that were developed for use with PS/Workshop V1 are loaded using File > Open, as described in Section 2.2, "Opening and closing files". Once a module has been successfully loaded, its functionality is available to any documents that you subsequently open, but will not be available to documents that were already open when the module was loaded.

You can load a V1 module automatically when PS/Workshop is started as follows:

You can also change the location of the Modules folder from the File Locations tab of the Options dialog. See Section 5.6, "Default file locations", for details.

[back to top]


6.2 PS/Workshop V2 modules

Modules developed for use with PS/Workshop V2 and above use the COM interface provided by PS/Workshop. As such, they need to be registered on your computer before PS/Workshop can recognize them.

COM-based modules are managed using the Add-Ins tab of the PS/Workshop Options dialog. Choose Tools > Options to display this dialog.

This tab displays all the modules that are recognized by PS/Workshop. In order for a module to be recognized by PS/Workshop it needs to be registered on the computer.

 

Note: The Add-Ins tab of the Options dialog is only available if there are no documents open.

 

Figure 6-1 Managing COM-based modules

[back to top]

6.2.1 Registering V2 modules

Before a module is listed in the Available Add-Ins list of the Add-Ins tab, it must be registered. There are two ways of registering a V2 module:

You may need to register a module manually if you decide you need to use a module having already removed it from the list of modules.

[back to top]

6.2.2 Loading and unloading V2 modules

You can dynamically load and unload V2 modules from the Add-Ins tab of the PS/Workshop Options dialog.

Modules that are ticked in the Available Add-Ins list are also loaded automatically when you start PS/Workshop.

[back to top]

6.2.3 Removing V2 modules

You can remove a V2 module permanently from the list of modules in the Add-Ins tab of the Options dialog as follows:

 

Note: Removing the module from the list does not delete the module from the system - it only de-registers it so that it is no longer available to PS/Workshop.

If you need to add a module back into the list after removing it, you will need to re-register it manually, as described in Section 6.2.1, "Registering V2 modules".

 

[back to top]

<<< Setting Options Chapters Known Issues >>>