Export to image date/time variable issue

Forum for the PDF-XChange Editor - Free and Licensed Versions

Moderators: Tracker Support, TrackerSupp-Daniel, Paul - Tracker Supp, Chris - Tracker Supp, Vasyl-Tracker Dev Team, Sean - Tracker, Tracker Supp-Stefan, Ivan - Tracker Software

Post Reply
verify i-9 llc
User
Posts: 9
Joined: Fri Feb 03, 2012 4:53 pm

Export to image date/time variable issue

Post by verify i-9 llc » Mon Sep 21, 2015 8:22 pm

When I export to GIF a file using the FileName format:

%[FileName] - %[Date] - %[Time]

the export is saved into a sub-sub-folder in the Destination Folder rather than into the Destination Folder itself. The exported file will be found in:

\ Destination Folder \ Filename - 9 \ 21 \ 2015 - 4-16-57 PM.gif

where the file, named "year - time", is found in sub-sub-folder "21" (the day) in sub-folder "Filename - 9" (the file name and the month).

Any time I use the %[Date] and %[Time] variables, the described issue occurs, regardless of whether they are used at the beginning or the end of the file name. If I use just the %[FileName] variable, the image is saved correctly.

I have not tested other variable combinations.

PDF-XChange Editor Version 5.5 (Build 315.0)
Upgrade today from older PDF-XChange Viewer (which worked correctly)

User avatar
Will - Tracker Supp
Site Admin
Posts: 6724
Joined: Mon Oct 15, 2012 9:21 pm
Location: London, UK
Contact:

Re: Export to image date/time variable issue

Post by Will - Tracker Supp » Mon Sep 21, 2015 8:30 pm

Hi verify i-9 llc,

Thanks for the post - can you please send a screen-shot of your Export to Images settings, as well as a screen-shot of the folder structure that you mentioned?

Cheers,
If posting files to this forum, you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded.
Thank you.

Best regards

Will Travaglini
Tracker Support (Europe)
Tracker Software Products Ltd.
http://www.tracker-software.com

verify i-9 llc
User
Posts: 9
Joined: Fri Feb 03, 2012 4:53 pm

Re: Export to image date/time variable issue

Post by verify i-9 llc » Mon Sep 21, 2015 8:43 pm

Image


Image

User avatar
Will - Tracker Supp
Site Admin
Posts: 6724
Joined: Mon Oct 15, 2012 9:21 pm
Location: London, UK
Contact:

Re: Export to image date/time variable issue

Post by Will - Tracker Supp » Mon Sep 21, 2015 9:03 pm

Hi verify i-9 llc,

Thanks for that - I'm not able to reproduce this here. Can you please advise on the OS and architecture of the OS that you're using?

Cheers,
If posting files to this forum, you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded.
Thank you.

Best regards

Will Travaglini
Tracker Support (Europe)
Tracker Software Products Ltd.
http://www.tracker-software.com

verify i-9 llc
User
Posts: 9
Joined: Fri Feb 03, 2012 4:53 pm

Re: Export to image date/time variable issue

Post by verify i-9 llc » Mon Sep 21, 2015 9:12 pm

Windows 8.1 64-bit , fully updated

Also installed: PDFXChange Viewer Version 2.5 (Build 315.0) - works correctly

verify i-9 llc
User
Posts: 9
Joined: Fri Feb 03, 2012 4:53 pm

Re: Export to image date/time variable issue

Post by verify i-9 llc » Mon Sep 21, 2015 9:24 pm

If I use just the %[Time] variable, the file is named and filed correctly.

If I use just the %[Date] variable, the subfolders are created.

%[FileName] - %[Month]-%[Day]-%[Year] works correctly.

I eliminated spaces ( %[FileName]_%[Date]_%[Time] ) - still fails.

I used the %[Date] variable only; subfolders created "Destination \ Month \ Day \ year.gif"

Willy Van Nuffel
User
Posts: 1380
Joined: Wed Jan 18, 2006 12:10 pm

Re: Export to image date/time variable issue

Post by Willy Van Nuffel » Tue Sep 22, 2015 5:17 pm

This problem just depends of your 'date' settings in Windows.
Probably the Date modified/created in your Windows Explorer is presented by something like this 22/09/2015.

Via Control Panel > Region (and Language Settings), you can change the "short date" format (to for example dd-MM-yyyy).

In other words, do not use '/' but '-' as your separator for date formats, because
the slash/backslash character is used as a separator for the different nodes in a file or internet location
(f.ex. C:\folder\subfolder\filename.txt or http://www.tracker-software.com/forum3/xxx).

Best regards.

verify i-9 llc
User
Posts: 9
Joined: Fri Feb 03, 2012 4:53 pm

Re: Export to image date/time variable issue

Post by verify i-9 llc » Tue Sep 22, 2015 7:48 pm

Thank you. The change to the Windows date format settings caused PDFXChange Editor to work correctly. However, my Windows settings were the US default, which means that millions of Windows users could experience the same problem should they try to use PDFXChange Editor in the same way.

Willy Van Nuffel
User
Posts: 1380
Joined: Wed Jan 18, 2006 12:10 pm

Re: Export to image date/time variable issue

Post by Willy Van Nuffel » Tue Sep 22, 2015 8:19 pm

Tracker Software will surely be able to cure this problem in one way or an other, by automatically replacing each "/" character by an other one that is well accepted in filenames.
So, people having these "/" characters in their date format, will have no more problems with it.

verify i-9 llc
User
Posts: 9
Joined: Fri Feb 03, 2012 4:53 pm

Re: Export to image date/time variable issue

Post by verify i-9 llc » Tue Sep 22, 2015 8:30 pm

Thanks, Willy. PDF-XChange Editor is an essential part of my new client signup process primarily because of the "Export to Image" feature. I have been using it (and Viewer) daily for many years. A great PDF editor!

User avatar
Tracker Supp-Stefan
Site Admin
Posts: 13376
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Export to image date/time variable issue

Post by Tracker Supp-Stefan » Wed Sep 23, 2015 10:43 am

Hi All,

Indeed this is something we need to check and ensure that only valid characters are used irrespective of the Windows settings, so I've made a ticket:
#3243: Editor 315: Incorrect file names when using %[Date] with specific date display settings in Windows.
And as soon as it is resolved we will let you know.

Regards,
Stefan

User avatar
Vasyl-Tracker Dev Team
Site Admin
Posts: 1922
Joined: Thu Jun 30, 2005 4:11 pm
Location: Canada

Re: Export to image date/time variable issue

Post by Vasyl-Tracker Dev Team » Tue Nov 10, 2015 6:51 pm

Hi All.

To get workaround for your problem with %[Date] macros you may customize it as described here:
http://www.tracker-software.com/forum3/ ... 068#p95068

So, specify %[Date:dd-MM-yyyy] instead of default %[Date] and your problem will be resolved as well...

Best
Regards.
Vasyl Yaremyn
Tracker Software Products
Project Developer

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.

User avatar
Tracker Supp-Stefan
Site Admin
Posts: 13376
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Export to image date/time variable issue

Post by Tracker Supp-Stefan » Wed Sep 27, 2017 10:07 am

Hello all,

Just a quick update that with V7.0 you will have possibility to choose the necessary date format from the macros drop-down menu.

Cheers,
Stefan

Post Reply