WatchDirectory Forum
http://www.watchdirectory.net/cgi-bin/yabb25/YaBB.pl
watchDirectory forums >> Plugins >> [Search] HowTo create a new PlugIn
http://www.watchdirectory.net/cgi-bin/yabb25/YaBB.pl?num=1305547670

Message started by dor_neue on May 16th, 2011 at 2:07pm

Title: [Search] HowTo create a new PlugIn
Post by dor_neue on May 16th, 2011 at 2:07pm
Is there a way to create a new PlugIn?
(API, Framework or else?)

Title: Re: [Search] HowTo create a new PlugIn
Post by Gert on May 17th, 2011 at 9:34am
Hi,

Currently we do not offer a real API, but we do have a few possibilities:
- Use the "Run Any Program" plugin to run any executable (see http://www.watchdirectory.net/wdhelp/plugins/wdopAutoLaunch.html )
- Use the "Run any Bat file" plugin to run batch scripts (which can start other programs, scripts etc - see http://www.watchdirectory.net/wdhelp/plugins/wdopAutoRunBat.html )

The 2nd option (bat file) also allows you to create new "plugins" based on scripts. Those will show with an icon on the "New Task" window. Have a look at the templates you find in the directory
C:\Program Files\watchDirectory\plugins\wdopAutoRunBat\templates
or
C:\Program Files (x86)\watchDirectory\plugins\wdopAutoRunBat\templates

WatchDirectory Forum » Powered by YaBB 2.5.2!
YaBB Forum Software © 2000-2017. All Rights Reserved.