Plugin Configuration FileThis is a featured page

This file contains main information about plugin.
It's INI file with .plg extension, stored in SystemExplorer\Plugins\PluginName\PluginName.plg file.

Plugin Configuration File contains 2 sections

Main Section [main]

This section should contain main informations about plugin:
Name Name of the Plugin
File Filename of Plugin DLL
Version Contains Plugin Version in format Major.Minor.Patch.Build. *1
Author Contains information about author of the plugin. *1
Description Contains detailed informations about plugin. This informations are displayed in Plugin Manager. *1
SortID SystemExplorer calls plugins initialization in order defined by SortID. This affects order of new visual items (For example order of new tabs in main window)
InitDelayed 0 = Plugin DLL is loaded and inited on System Explorer startup
1 = Plugin DLL load and Init is delayed till first action defined in Items section. (Not Implemented Yet)
Windows64 0 = Plugin don't supports 64-bit OS
1 = Plugin supports 64-bit OS

*1 If plugin contains DLL with company info then information is displayed from DLL resources and Configuration File value is ignored.

Items Section [items]

This section can contain list of Items which are automatically created on plugin load.

Can be used for:
  • simple modifications of System Explorer without needs to make DLL
  • automatic items creation for DLL plugin. Reduce API calls.
  • make InitDelayed plugins. InitDelayed plugins are highly recommended. They don't slow down Sytem Explorer start and don't use system resources for nothing.

SystemExplorer processes items on plugin load. Plugin Manager search for Item0,Item1... and ends on Item100. If any item is missing of contains error, the search is terminated.

Example:
[Items]
Item0_name=YahooSearch
Item0_type=MenuItem
Item0_parent=Window.Popup.Items.FileInfoSearch1
item0_caption=Yahoo.com
item0_onclick=http://search.yahoo.com/search?p=%filename%&fr=yfp-t-501&toggle=1&cop=mss&ei=UTF-8&fp_ip=CZ&vc=@
Item1_name=Notepad
Item1_type=MenuItem
Item1_parent=Window.Menu.Items.SystemUtilities1
item1_caption=Notepad
item1_onclick=notepad.exe@


No user avatar
mistercz
Latest page update: made by mistercz , May 2 2008, 7:08 AM EDT (about this update About This Update mistercz Edited by mistercz


view changes

- complete history)
Keyword tags: configuration plg plugin
More Info: links to this page
There are no threads for this page.  Be the first to start a new thread.

Related Content

  (what's this?Related ContentThanks to keyword tags, links to related pages and threads are added to the bottom of your pages. Up to 15 links are shown, determined by matching tags and by how recently the content was updated; keeping the most current at the top. Share your feedback on Wetpaint Central.)