4 Replies Latest reply on Sep 9, 2011 3:31 PM by maphiom

    Call script when document is created from a template

    maphiom Level 1

      Hi guys,


      I have a script that writes the next day's date into a specified text frame, quite useful for newspaper pages.

      Since all my newspaper pages are created from a set of templates, I would like the script to run automatically every time a new document is created from a template.


      I tried eventlistener "AfterNew" but with no success since it apparently only runs when you create a new document from scratch, and from what I've read it is basically useless since it runs before the document actually opens.


      Which way would you go with that?


      Thanks a lot