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
Move PDF after print with Tags (Read 1280 times)
Marcel
YaBB Newbies
*
Offline



Posts: 2
Move PDF after print with Tags
Mar 16th, 2018 at 3:49pm
 
So, first of all thanks for your great product.

Let me explain the bug we're running into.
After printing a PDF, we're trying to move it to a different folder. This folder contains subdirectories, which are named after the current year.
So we found out that WatchDirectory gives us the opportunity to use {tags} like {year}. But sadly this won't work at all.
Interestingly, i just found a topic about the same problem here in this forum:
(since this is my first post, I'm not allowed to post links)
watchdirectory.net/cgi-bin/yabb25/YaBB.pl?num=1449576222

It says that this bug is fixed in version 4.9.3.
We're running 4.9.5.

Any advice? Something I've overlooked? What's the actual status of this bug?

I'm looking forward to hearing from you.
Thanks in advance, Marcel.
Back to top
 
 
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2362
The Netherlands
Re: Move PDF after print with Tags
Reply #1 - Mar 17th, 2018 at 8:04am
 
Hello Marcel,

The other forum post is not using {dynamic naming} tags so I think that is different.
Can you please follow the steps in this blog: http://blog-en.gdpsoftware.com/2010/06/send-task-backup-to-support.html

So you enable "debug", run the task until you see the error and then send me a backup to look at. My email is below.

Gert
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
 
Marcel
YaBB Newbies
*
Offline



Posts: 2
Re: Move PDF after print with Tags
Reply #2 - Mar 19th, 2018 at 9:30am
 
Hi Gert. Thanks for your quick response. I followed the steps. I'll send you an email with the backup in its attachment, right after sending this message.

Thanks in advance,
Marcel
Back to top
 
 
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2362
The Netherlands
Re: Move PDF after print with Tags
Reply #3 - Mar 20th, 2018 at 7:05am
 
Turns out the {dynamic name} used by Marcel was
\\synnas03\Gescannte_dokumente\DynamicTest\{year}

As the helpfile for "print pdf" mentions, you should include a {tag}  for the filename when you use dynamic naming.

\\synnas03\Gescannte_dokumente\DynamicTest\{year}\{filename}
should fix the issue. We will add a check for this (easily made) mistake to this task.
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