I am trying to make PDFCreator save files in the same folder as the input file from Word. So I checked the box “Set default output folder (else the last saved file location will be opened)” in “Save > Save Dialog Folder” and entered the token .
the token only works, if the input file path is included in the printing data, which most applications don’t do. In fact, there are so few applications supporting this that we might remove this token in the next release.
Thanks Robin. Is there any other way which would work? Otherwise, a solution on your end could be to check if any window of Word is open with the same filename (since you do get the filename), and retrieve the path of the open file through the Word API… There is the possibility of collisions if 2 word files with the same name were opened, but the risk is minimal (user can always override).
we are thinking of alternative methods and will keep the token for now. I also made a mistake in testing the token and printed from a network path. When printing from a local path it works for some applications like notepad++.