Macro Filename
Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan
-
- User
- Posts: 3
- Joined: Fri Jun 16, 2023 5:17 am
Macro Filename
I'm trying to find a range identifier for a space. Once it found a “space” in the filename it will return all character value before the “space”.
-
- Site Admin
- Posts: 17960
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
Re: Macro Filename
Hello arlito.solis,
Are you processing those file names inside PDF Tools?
I am afraid that it is not specifically designed for that. So you might need to allow Tools do it's job with your PDF files, making sure that they have unique names, and after that use an external tool to process those file names. You will likely find it easiest to use regular expressions for such an operation on file names so look for a tool that would support those.
E.g. this one will likely be useful and does support regex:
https://learn.microsoft.com/en-us/windo ... owerrename
Kind regards,
Stefan
Are you processing those file names inside PDF Tools?
I am afraid that it is not specifically designed for that. So you might need to allow Tools do it's job with your PDF files, making sure that they have unique names, and after that use an external tool to process those file names. You will likely find it easiest to use regular expressions for such an operation on file names so look for a tool that would support those.
E.g. this one will likely be useful and does support regex:
https://learn.microsoft.com/en-us/windo ... owerrename
Kind regards,
Stefan