slimKEYS - Implementing your own plug-in

Welcome to the slimKEYS Developer Resources. Implementing your own slimKEYS plug-in is an easy task. Simply download and install the slimKEYS SDK, check the samples and read the slimKEYS SDK documentation. The SDK includes the full sources for the slimLAUNCH.Passwords plug-in.

Make sure to post your questions and suggestions on the developers forum. This is the place to exchange plug-in ideas, ask questions to other plug-in developers (including slimCODE), or even make suggestions about new features for the slimKEYS Common Interface.

In order to simplify your search of the best sample for the type of plug-in you wish to implement, follow this simple list.

  • Implementing a slimKEYS plug-in: Check the HelloSlimKeys sample and these files:
    • HelloSlimKeysHotKeyHandlerProvider.cs
    • HelloSlimKeysHotKeyHandler.cs
    • HelloSlimKeysHotKeyHandlerPropertyEditor.cs
  • Implementing a slimLAUNCH extender plug-in: Check the HelloSlimLaunch sample and these files:
    • HelloSlimLaunchHotKeyHandlerProvider.cs
    • HelloSlimLaunchItemSource.cs
    • HelloSlimLaunchItem.cs
  • Implementing a slimSEARCH extender plug-in: Check the HelloSlimSearch sample and these files:
    • HelloSlimSearchProvider.cs
    • MathParserSearchEntry.cs
    • MathParserSearchEntryEditor.cs
  • Things not to forget:
    • Add a reference to slimCODE.slimKEYS.Common.dll and System.Windows.Forms.dll.
    • For slimLAUNCH extensions, also reference slimCODE.slimLAUNCH.Common.dll.
    • For slimSEARCH extensions, also reference slimCODE.slimSEARCH.Common.dll.
    • All classes deriving from HotKeyHandlerProvider must implement a public constructor taking a single parameter of type HotKeyManager, and pass this to the base class.
    • Decorate your assembly with the [assembly: SlimCode.SlimKeys.SlimKeysPlugin()] attribute.