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
I need to convert doc to pdf (Read 1539 times)
Terryk
YaBB Newbies
*
Offline



Posts: 1
I need to convert doc to pdf
Dec 13th, 2010 at 12:38pm
 
So i have two folders. One has word files i want watch directory to monitor this folder for changes, when a new file appears in forder with doc i want a pdf to pop up in the second folder.

Please let me know if this is possible i have the WatchDirectory pro version.
Back to top
 
 
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2225
The Netherlands
Re: I need to convert doc to pdf
Reply #1 - Dec 14th, 2010 at 8:22am
 
To convert DOC(X) to PDF with WatchDirectory you will need a helper program that supports command line processing, like Convert-Doc ( http://www.softinterface.com/Convert-Doc/Features/Convert-DOC-to-PDF.htm ).
I never tried this particular program, and I assume there are other tools like it available.

Anyway, what you would need to do is create a new WatchDirectory task that uses the "Run a bat file" plugin ( http://www.watchdirectory.net/wdhelp/plugins/wdopAutoRunBat.html ). Let the task monitor the directory for new DOC files and start the following batch script:
[code]SET TARGETDIR=C:\TargetPdf
SET CVD=c:\program files\Softinterface, Inc\Convert Doc\ConvertDoc.exe

"%CVD%" /S "%WD_FILE%" /T "%TARGETDIR%\%WD_FILE_B%.PDF" /F9 /C12 /M2 /V
[/code]

Above, the WD_FILE and WD_FILE_B variables are set by WatchDirectory before it calls the script ( http://www.watchdirectory.net/wdhelp/plugins/wdopAutoRunBatEnv.html ).

I just looked around a bit on the SoftInterface website and see the ConvertDoc is quite expensive. Like I mentioned above, there are probably other command line tools you can find on the net.

Back to top
 

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
 
Page Index Toggle Pages: 1