WatchDirectory home page
WatchDirectory Startseite (Deutsche Version)
Site WatchDirectory (Français)
  Welcome, Guest. Please Login or Register
YaBB - Yet another Bulletin Board
   
  HomeHelpSearchLoginRegister  
 
Page Index Toggle Pages: 1
popup windows (Read 2600 times)
jlucka
YaBB Newbies
*
Offline



Posts: 9
popup windows
Feb 27th, 2006 at 10:49am
 
Hello,

Sorry about my bad english.

Can i open some popup windows when an another file is coming in a directory.

Thanks
Back to top
 
 
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2238
The Netherlands
Re: popup windows
Reply #1 - Feb 27th, 2006 at 1:05pm
 
Hi,

At the moment watchDirectory doesn't directly support that (a plugin is planned for these type of popups).
If you want to do such a thing now, you can download the attached zip, unzip it into the same directory as where you installed watchDirectory, for example
C:\Program Files\watchDirectory, and use the .bat file plugin to start a .bat file that contains just this line:

Code:
"%WD_INSTDIR%\mbox.exe" "The following file is created" "inside directory %WD_FILE_D%" "%WD_FILE_N%" -caption "New file detected" -type ok
 



if you also want some sound with it, use this .bat file instead
Code:
"%WD_INSTDIR%\gdputil.exe" -play "C:\Windows\Media\chimes.wav"
"%WD_INSTDIR%\mbox.exe" "The following file is created" "inside directory %WD_FILE_D%" "%WD_FILE_N%" -caption "New file detected" -type ok
 



Hope this helps,
Gert
Back to top
 

mbox.zip (53 KB | )

Gert Rijs - gert (at) gdpsoftware (dot) com
Blog: http://blog-en.gdpsoftware.com/
End Alzheimer's: http://www.alz.org&&...
WWW WWW GdPSoftware  
IP Logged
 
jlucka
YaBB Newbies
*
Offline



Posts: 9
Re: popup windows
Reply #2 - Feb 28th, 2006 at 11:15am
 
Hi,

Thanks for your answer;

It works but it seems that the caption and type parameters doesn't work, and i can't run the task as a windows service but that's OK.


Smiley thank's at all
Back to top
 
 
IP Logged
 
Page Index Toggle Pages: 1