1 Reply Latest reply on Mar 24, 2010 12:34 PM by Harbs.

    Can I use external JS libraries? [OSX/CS3/JS]

    Brian Carter

      Hi guys


      I'm working on my thesis (a generative document creator in InDesign). I have years of experience scripting ID via VBA from Access but since I'm on the Mac now I'm using JS...and I'm struggling with some simple things.


      Example: I want to use a random number generator. I found sample code in the ID Scripting PDF (although there seems to be a typo) but I would still would like to have more robust math code. Is there any way to import external libraries into .js code?