Macro [%filename] customizeable?
Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
Macro [%filename] customizeable?
Hallo!
I need to add a short name to several files like A, B, C, D, ... or 1, 2, 3, ...
I name the files like this
A - mail from xyz.pdf
B - plan of xyz.pdf
Now I use bates numbering over all files and can use the macro [%filename]. But unfortunately it seems to be impossible to customize this macro like [%filename:1] or [%filename:1-3]. Any chance to get this implemented?
(BTW, is it possible to add a solid background to the bates number? When there is a dark area in the PDF it would be good to have a (maybe) semi-transparent background in white for better readability.)
Michael
I need to add a short name to several files like A, B, C, D, ... or 1, 2, 3, ...
I name the files like this
A - mail from xyz.pdf
B - plan of xyz.pdf
Now I use bates numbering over all files and can use the macro [%filename]. But unfortunately it seems to be impossible to customize this macro like [%filename:1] or [%filename:1-3]. Any chance to get this implemented?
(BTW, is it possible to add a solid background to the bates number? When there is a dark area in the PDF it would be good to have a (maybe) semi-transparent background in white for better readability.)
Michael
- Paul - Tracker Supp
- Site Admin
- Posts: 6901
- Joined: Wed Mar 25, 2009 10:37 pm
- Location: Chemainus, Canada
- Contact:
Re: Macro [%filename] customizeable?
Hi Michael,
you should be able to use :
for this, Note that the colon is outside the square bracket and the default is two preceeding zeros:
If you change that to:
you would get only one digit in the number:
Is that what you are looking for?
you should be able to use :
Code: Select all
%[FileName]:%[Bates]
If you change that to:
Code: Select all
%[FileName]:%[Bates:1]
Is that what you are looking for?
Best regards
Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com
Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com
Re: Macro [%filename] customizeable?
Paul,
no, that's not the solution for my issue.
I have "001 - This is the first file.pdf", "002 - This is the second file.pdf" and want to have the Text in the documents like this:
"001 - This is the first file.pdf" --> "001:1", "001:2", etc
"002 - This is the second file.pdf" --> "002:6", etc
and so on. Your code "%[FileName]:%[Bates:1]" leads to
"001 - This is the first file.pdf" --> "001 - This is the first file.pdf:1", "001 - This is the first file.pdf:2", etc
"002 - This is the second file.pdf" --> "002 - This is the second file.pdf:6", etc
Any chance to get this result?
Michael
no, that's not the solution for my issue.
I have "001 - This is the first file.pdf", "002 - This is the second file.pdf" and want to have the Text in the documents like this:
"001 - This is the first file.pdf" --> "001:1", "001:2", etc
"002 - This is the second file.pdf" --> "002:6", etc
and so on. Your code "%[FileName]:%[Bates:1]" leads to
"001 - This is the first file.pdf" --> "001 - This is the first file.pdf:1", "001 - This is the first file.pdf:2", etc
"002 - This is the second file.pdf" --> "002 - This is the second file.pdf:6", etc
Any chance to get this result?
Michael
- Paul - Tracker Supp
- Site Admin
- Posts: 6901
- Joined: Wed Mar 25, 2009 10:37 pm
- Location: Chemainus, Canada
- Contact:
Re: Macro [%filename] customizeable?
Hi Michael,
sorry, it seems I do misunderstand, and maybe I still don't properly understand the desired outcome.
I think you are saying you want to strip everything from the file name except the first three characters (001) and apply that with a colon the the Bate's number. thus the description
"001 - This is the first file.pdf" --> "001:1", "001:2", "001:n"
The on the second document you again want to pull the first three characters then add Bates numbers, and it appears you want to continuing the numbering on this next document where it left off on 001. Is that right?
Regards the first part, there is no way to split that document name this way unfortunately, the entire file name is the only option.
Regards continuing the numbering on document 002 where document 001 left off, the default Bates numbering for multiple files should facilitate that, yes.
I think the closest you are going to get to your desired result is going to be more like:
"001 - This is the first file.pdf" --> "001 - This is the first file:1", "001 - This is the first file:2", " - This is the first file:n" where n is the number of pages in this document
"002 - This is the second file.pdf" --> "002 - This is the second file:n+1", "002 - This is the second file:n+2", "002 - This is the second file:n+m" where m is the number of pages in the second document.
So while you can continue Bates numbering across multiple files, you cannot pull just parts of the file name.
I hope that better addresses your question.
sorry, it seems I do misunderstand, and maybe I still don't properly understand the desired outcome.
I think you are saying you want to strip everything from the file name except the first three characters (001) and apply that with a colon the the Bate's number. thus the description
"001 - This is the first file.pdf" --> "001:1", "001:2", "001:n"
The on the second document you again want to pull the first three characters then add Bates numbers, and it appears you want to continuing the numbering on this next document where it left off on 001. Is that right?
Regards the first part, there is no way to split that document name this way unfortunately, the entire file name is the only option.
Regards continuing the numbering on document 002 where document 001 left off, the default Bates numbering for multiple files should facilitate that, yes.
I think the closest you are going to get to your desired result is going to be more like:
"001 - This is the first file.pdf" --> "001 - This is the first file:1", "001 - This is the first file:2", " - This is the first file:n" where n is the number of pages in this document
"002 - This is the second file.pdf" --> "002 - This is the second file:n+1", "002 - This is the second file:n+2", "002 - This is the second file:n+m" where m is the number of pages in the second document.
So while you can continue Bates numbering across multiple files, you cannot pull just parts of the file name.
I hope that better addresses your question.
Best regards
Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com
Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com
Re: Macro [%filename] customizeable?
Paul,
now you addressed my issue.
So may I suggest to implement this feature to add customization to this macro [%filename] like mentioned here https://help.pdf-xchange.com/pdfxe9/
%[<Macro Name>:<Parameter>]
Other possible solution:
Is it possible to get ONE number per file for bates numbering?
So I want Nr 1 in the first file in the list, Nr 2 in the second file, etc?
For special use cases I need letter numeration like first file - A, second file B, ...
is this possible?
Michael
now you addressed my issue.
So may I suggest to implement this feature to add customization to this macro [%filename] like mentioned here https://help.pdf-xchange.com/pdfxe9/
%[<Macro Name>:<Parameter>]
Other possible solution:
Is it possible to get ONE number per file for bates numbering?
So I want Nr 1 in the first file in the list, Nr 2 in the second file, etc?
For special use cases I need letter numeration like first file - A, second file B, ...
is this possible?
Michael
- Paul - Tracker Supp
- Site Admin
- Posts: 6901
- Joined: Wed Mar 25, 2009 10:37 pm
- Location: Chemainus, Canada
- Contact:
Re: Macro [%filename] customizeable?
Hi Michael,
good that we are making headway!
Regards your suggestion, %[<Macro Name>:<Parameter>] what would you propose passing as a parameter? I suspect this may be considered too "niche" for the average user, though I can definitely float the idea and see what comes.
regards
good that we are making headway!
Regards your suggestion, %[<Macro Name>:<Parameter>] what would you propose passing as a parameter? I suspect this may be considered too "niche" for the average user, though I can definitely float the idea and see what comes.
Unfortunately I do not believe this is possible. Again, I will ask the dev team for input as to whether any of this may be implemented, but I cannot guarantee that it will eventuate.Other possible solution:
Is it possible to get ONE number per file for bates numbering?
So I want Nr 1 in the first file in the list, Nr 2 in the second file, etc?
For special use cases I need letter numeration like first file - A, second file B, ...
is this possible?
regards
Best regards
Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com
Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com
Re: Macro [%filename] customizeable?
Paul,
I suggest to make it as mentioned here
https://help.pdf-xchange.com/pdfxe9/
'<integer>' specifies the minimum number of digits used. This value can be any positive integer from 1 to 12 - for example %[Page:4] starts the page numbering as "0001, 0002, 0003...".
So [%filename:1-4] will take the first four characters from the left
[%filename:4-6] will take the fourth, fifth and sixth
Michael
I suggest to make it as mentioned here
https://help.pdf-xchange.com/pdfxe9/
'<integer>' specifies the minimum number of digits used. This value can be any positive integer from 1 to 12 - for example %[Page:4] starts the page numbering as "0001, 0002, 0003...".
So [%filename:1-4] will take the first four characters from the left
[%filename:4-6] will take the fourth, fifth and sixth
Michael
- Paul - Tracker Supp
- Site Admin
- Posts: 6901
- Joined: Wed Mar 25, 2009 10:37 pm
- Location: Chemainus, Canada
- Contact:
Re: Macro [%filename] customizeable?
Hi Michael,
on discussing this with the development team we have agreed to make this feature. While not for external use, referring to RT#5818: Feature request :: Editor :: Add param to [%FileName] macro to extract part of name in correspondence with us will allow any support staff member to get you a status report.
We do not have an ETA for delivery, this will be at the discretion of the development team leader.
I hope that helps.
on discussing this with the development team we have agreed to make this feature. While not for external use, referring to RT#5818: Feature request :: Editor :: Add param to [%FileName] macro to extract part of name in correspondence with us will allow any support staff member to get you a status report.
We do not have an ETA for delivery, this will be at the discretion of the development team leader.
I hope that helps.
Best regards
Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com
Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com
Re: Macro [%filename] customizeable?
Paul,
many thanks for this good news!
Michael
many thanks for this good news!
Michael
- Paul - Tracker Supp
- Site Admin
- Posts: 6901
- Joined: Wed Mar 25, 2009 10:37 pm
- Location: Chemainus, Canada
- Contact:
Re: Macro [%filename] customizeable?
My pleasure Michael.
It is easy to be the bearer of GOOD news...
It is easy to be the bearer of GOOD news...
Best regards
Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com
Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com
- Paul - Tracker Supp
- Site Admin
- Posts: 6901
- Joined: Wed Mar 25, 2009 10:37 pm
- Location: Chemainus, Canada
- Contact:
Re: Macro [%filename] customizeable?
Hi Michael,
just a heads up that the ticket RT#5818: Feature request :: Editor :: Add param to [%FileName] macro to extract part of name was marked as resolved today.
This means the change will be in the next build, currently slated for mid Feb.
I hope that helps.
just a heads up that the ticket RT#5818: Feature request :: Editor :: Add param to [%FileName] macro to extract part of name was marked as resolved today.
This means the change will be in the next build, currently slated for mid Feb.
I hope that helps.
Best regards
Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com
Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com
Re: Macro [%filename] customizeable?
Paul,
thank you very much, once more!
Michael
thank you very much, once more!
Michael
- Paul - Tracker Supp
- Site Admin
- Posts: 6901
- Joined: Wed Mar 25, 2009 10:37 pm
- Location: Chemainus, Canada
- Contact:
Macro [%filename] customizeable?
Best regards
Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com
Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com
Re: Macro [%filename] customizeable?
Paul,
may I ask for some more details? I just read out thread again and we discussed several solutions. How will it be able to address parts of the filename?
Michael
may I ask for some more details? I just read out thread again and we discussed several solutions. How will it be able to address parts of the filename?
Michael
- Paul - Tracker Supp
- Site Admin
- Posts: 6901
- Joined: Wed Mar 25, 2009 10:37 pm
- Location: Chemainus, Canada
- Contact:
Re: Macro [%filename] customizeable?
Hi Michael,
I am not sure what they did so I asked for an explanation to pass on.
I'll post here what I get.
I am not sure what they did so I asked for an explanation to pass on.
I'll post here what I get.
Best regards
Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com
Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com