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: 235
Loc: Lincoln, 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.


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

Registered: 10/14/05
Posts: 4911
Loc: Objectif Lune Montreal

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

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!