WatchDirectory Forum
http://www.watchdirectory.net/cgi-bin/yabb25/YaBB.pl
watchDirectory forums >> Plugins >> VBS plugin - how to pass filename
http://www.watchdirectory.net/cgi-bin/yabb25/YaBB.pl?num=1158760029

Message started by koalit on Sep 20th, 2006 at 3:47pm

Title: VBS plugin - how to pass filename
Post by koalit on Sep 20th, 2006 at 3:47pm
I feel pretty stupid asking this, but how can I pass the %WD_FILE_N% - filename to the vbs script, using vbs plugin ?

thanks for your help.

Mark

Title: Re: VBS plugin - how to pass filename
Post by Gert on Sep 20th, 2006 at 7:08pm
perhaps the user-interface of the AutoRun vbs should be more clear about that.
Inside the folder C:\Program Files\watchDirectory\plugins\wdopAutoRunBat\templates is a file called "VBS Sample.vbs" that will set the VBS variable WdfileN to the value of WD_FILE_N. Please have a look at that sample.

Gert

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