Topic Options
#30631 - 12/30/09 12:57 PM Is the data file name available to Presstalk?
-nth- Offline
OL Expert

Registered: 04/01/03
Posts: 209
Loc: Omaha, NE
I'm wondering if the original data file name is available to the Presstalk scripting engine? If so, through what function or property? I need to base a Presstalk script on the incoming data file name.

I know I could create a metadata field or use a job info to pass the file name from Watch into a form, but if I can do it directly through Presstalk, it keeps it much simpler.

Thanks,
-nth-

Top
#30632 - 01/04/10 09:23 AM Re: Is the data file name available to Presstalk?
Raphael Lalonde Lefebvre Online   content
OL Expert

Registered: 10/14/05
Posts: 4595
Loc: Objectif Lune Montreal
nth,

Yes, it's available in PressTalk. It's:

Code:
&current.datafilename
It returns the full path + data file name.

If you just want the file name without the path, however, you'll have to use Watch, though you could set a job info to %o and call it in your form instead of using metadata.

Hope that helps!

Regards,
Rapha

Top