Topic Options
#56785 - 02/21/19 09:04 AM Path and file name
Luc Offline
OL Toddler

Registered: 02/26/15
Posts: 31
Loc: Montreal
Hi, How do I call the path and file name of the file I'm using to write on my output pdf?

thanks

Top
#56789 - 02/22/19 06:52 AM Re: Path and file name [Re: Luc]
Philippe F. Offline
OL Expert

Registered: 09/06/00
Posts: 1926
Loc: Objectif Lune, Montreal, Qc
Not quite sure what you mean, but system variable %o contains the original file name while %f contains the current temporary name for the file.
_________________________
Technical Product Manager
I don't want to achieve immortality through my work; I want to achieve immortality through not dying - Woody Allen

Top
#56792 - 02/22/19 09:04 AM Re: Path and file name [Re: Luc]
Luc Offline
OL Toddler

Registered: 02/26/15
Posts: 31
Loc: Montreal
What I'm trying to say is that I want to use the file name.
I want it to appears on my output pdf.
I have a global variable (filename) in design, and I set the same variable in watch but doesn't write on my output pdf.

thanks

Top
#56793 - 02/22/19 11:52 AM Re: Path and file name [Re: Luc]
Jean-Cédric Offline
OL Expert

Registered: 10/03/16
Posts: 456
Loc: Québec, Canada
You need to use ExpandString in PressTalk.

Top
#56796 - 02/22/19 12:22 PM Re: Path and file name [Re: Luc]
Luc Offline
OL Toddler

Registered: 02/26/15
Posts: 31
Loc: Montreal
Worked

thanks

Top