How does one pull a variable out of a plugin (like xWol)?

Help each other out

How does one pull a variable out of a plugin (like xWol)?

Postby WannaTheater on Fri May 29, 2009 7:56 pm

For example, I would like to create a plugin that is always running in the background, and pull variables from it. The best example of this would be the Wake on Lan plugin:

This uses sometging like: plugin>xwol>192.168.1.100>%description%
Here it looks like it takes a configuration parameter IN (192.168.1.100), and provides the value of a variable (description) out.

Anyone have any "Hello World" examples of this data passing?

Thanks!
WannaTheater
 
Posts: 235
Joined: Thu Aug 24, 2006 11:35 am
Location: Florida

Re: How does one pull a variable out of a plugin (like xWol)?

Postby lpg on Tue Jun 02, 2009 3:20 am

Have you looked under help at the plugin support docs. Also many of the plugins have source code available.
lpg
 
Posts: 296
Joined: Thu Apr 14, 2005 8:17 pm
Location: Chicago

Re: How does one pull a variable out of a plugin (like xWol)?

Postby lar282 on Tue Jun 02, 2009 6:18 am

mail me and I'll send u a small plugin in c#
lasse10@telia.com


//Lasse
lar282
 
Posts: 1624
Joined: Thu Apr 01, 2004 4:13 pm
Location: Helsingborg, Sweden