Save Documents Tool - Custom Folder Functionality

This Forum is for the use of End Users requiring help and assistance for Tracker Software's PDF-Tools.

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

Post Reply
jim0110
User
Posts: 4
Joined: Fri May 17, 2019 12:43 am

Save Documents Tool - Custom Folder Functionality

Post by jim0110 »

With the custom folder option in the save documents Tool.
Is it possbile to make use of the macros in this area?

Rather than having to manually select the folder to save the file to.
Would be possible to get the the folder of the selected files then add a subfolder automatically to the folder.

For example

PDF are stored in

C:\PDFS\

In the Add Digital Signature Tool we could set a subfolder called Signed.
If the folder does not exist the the Toll adds the folder than saves the signed PDF in into

C:\PDFS\Signed.

This would allows the user browse to any location where they may need to sign a document and use a custom location without having to manually select the custom location everytime to they run the tool.
This is important when they are working on Multiple projects are having to sign in varied locations.
Attachments
image.png
User avatar
TrackerSupp-Daniel
Site Admin
Posts: 8588
Joined: Wed Jan 03, 2018 6:52 pm

Re: Save Documents Tool - Custom Folder Functionality

Post by TrackerSupp-Daniel »

Hello Jim,

This is possible, although not quite in the way you have described. File names cannot contain a backslash ( \ ) as it is the folder separator for windows, however our filename field will actually accept it, this can work in multiple ways. We will use your example of an original file located in:

C:\PDFS\

In this case, we would setup the "save documents" action to "use source folder as destination" and then make the filename read:

Signed\%[FileName]_Example
image.png
image.png (10.11 KiB) Viewed 1331 times
This will result in a file being created in the PDFS folder called "Signed\%[FileName]_Example". As above, windows will automatically use those backslash characters as folder separators, so instead it would create a folder names Signed, and place a file called "%[FileName]_Example" inside of it. The end result would be this:

C:\PDFS\Signed\Sigtest_Example

In cases where the folder already exists, windows sees this as instructions to go into that folder, and then shaves that (folder designation) portion of the file name off, so no issues should arise (unless windows changes how it handles folder dictation) from adopting these into your filename field to make use of macros for the folders themselves.

If you are going to use this method, I would highly advise using the an %[AutoNumber] macro in the file name, to avoid overwriting duplicate versions of a file

Kind regards,
Dan McIntyre - Support Technician
Tracker Software Products (Canada) LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
Post Reply