Menu

Getting input filename as parameter

Help
Edmond Yau
2004-07-15
2004-07-15
  • Edmond Yau

    Edmond Yau - 2004-07-15

    Hi,

    I have a number of documents that want processing.

    I'd like the outputs to be named the same as the inputs.  I can't seem to find how to do this?

    I presume it's stored somewhere as an internal variable.

     
    • Martin Logan

      Martin Logan - 2004-07-15

      There is an attribute called document.name that can be referenced by the velocity scripting as
      $!{document.name}

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.