Script functions reference > Script functions in alphabetical order > C > CurrInFileName

CurrInFileName
Syntax
CurrInFileName();
Description
Returns the name of the input file, if there is one, else an empty string.
Enables the transfer of file information to the StreamServer where the file name can hold information about which Event to activate, printer, and number of copies. A file could have the following name:
HP_OP_PL1.ORDERSW.3.DSI
In this file name, the first portion (up to the first period) specifies a printer, the second specifies which Event to be activated, and the third specifies the number of copies to be printed.
This function can also be used, for example, on a flyleaf to display the file that has been printed.
See also CurrInRealPath.
Returns
A string.
Example
$file=CurrInFileName();
OpenText StreamServe 5.6 Updated: 2013-03-01