3 Replies Latest reply on Mar 4, 2010 8:46 AM by Harbs.

    Script runs differently from ESTK and Scripts panel

    Kasyan Servetsky Level 5

      Recently I was reported about a problem with one of my scripts, that packages ID documents: a guy wrote me that when he runs it from ESTK, script works fine, but when run from Scripts panel — creates empty folders, does nothing more but generates an error (there's an error handler in the script that logs errors into a text file):

      Error: Invalid value for parameter 'versionComments' of event 'packageForPrint'. Expected String, but received TRUE.

      It's strange, because I don't use this optional parameter in the script.

       

      BTW, on my computers it works ok, both in ID and ESTK.

       

      Does anybody encountered this problem? Any ideas on why this happens?

       

      Kasyan