Export to image date/time variable issue
Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
-
- User
- Posts: 9
- Joined: Fri Feb 03, 2012 4:53 pm
Export to image date/time variable issue
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)
%[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)
- Will - Tracker Supp
- Site Admin
- Posts: 6815
- Joined: Mon Oct 15, 2012 9:21 pm
- Location: London, UK
- Contact:
Re: Export to image date/time variable issue
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,
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
Thank you.
Best regards
Will Travaglini
Tracker Support (Europe)
Tracker Software Products Ltd.
http://www.tracker-software.com
-
- User
- Posts: 9
- Joined: Fri Feb 03, 2012 4:53 pm
- Will - Tracker Supp
- Site Admin
- Posts: 6815
- Joined: Mon Oct 15, 2012 9:21 pm
- Location: London, UK
- Contact:
Re: Export to image date/time variable issue
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,
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
Thank you.
Best regards
Will Travaglini
Tracker Support (Europe)
Tracker Software Products Ltd.
http://www.tracker-software.com
-
- User
- Posts: 9
- Joined: Fri Feb 03, 2012 4:53 pm
Re: Export to image date/time variable issue
Windows 8.1 64-bit , fully updated
Also installed: PDFXChange Viewer Version 2.5 (Build 315.0) - works correctly
Also installed: PDFXChange Viewer Version 2.5 (Build 315.0) - works correctly
-
- User
- Posts: 9
- Joined: Fri Feb 03, 2012 4:53 pm
Re: Export to image date/time variable issue
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"
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"
-
- User
- Posts: 2393
- Joined: Wed Jan 18, 2006 12:10 pm
Re: Export to image date/time variable issue
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 https://www.pdf-xchange.com/forum3/xxx).
Best regards.
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 https://www.pdf-xchange.com/forum3/xxx).
Best regards.
-
- User
- Posts: 9
- Joined: Fri Feb 03, 2012 4:53 pm
Re: Export to image date/time variable issue
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.
-
- User
- Posts: 2393
- Joined: Wed Jan 18, 2006 12:10 pm
Re: Export to image date/time variable issue
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.
So, people having these "/" characters in their date format, will have no more problems with it.
-
- User
- Posts: 9
- Joined: Fri Feb 03, 2012 4:53 pm
Re: Export to image date/time variable issue
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!
- Tracker Supp-Stefan
- Site Admin
- Posts: 17910
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
- Contact:
Re: Export to image date/time variable issue
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
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
- Vasyl-Tracker Dev Team
- Site Admin
- Posts: 2353
- Joined: Thu Jun 30, 2005 4:11 pm
- Location: Canada
Re: Export to image date/time variable issue
Hi All.
To get workaround for your problem with %[Date] macros you may customize it as described here:
https://forum.pdf-xchange.com/ ... 068#p95068
So, specify %[Date:dd-MM-yyyy] instead of default %[Date] and your problem will be resolved as well...
Best
Regards.
To get workaround for your problem with %[Date] macros you may customize it as described here:
https://forum.pdf-xchange.com/ ... 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.
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.
- Tracker Supp-Stefan
- Site Admin
- Posts: 17910
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
- Contact:
Re: Export to image date/time variable issue
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
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