2 Replies Latest reply on Jul 31, 2008 6:39 PM by (Jeff_Almasol)

    Newbie can't get AE example script to run

      When I try to run DemoPalette.jsx, which comes with AE, I get an error: "undefined is not an object". This happens when AE reaches this line:

      var securitySetting = app.preferences.getPrefAsLong("Main Pref Section",
      "Pref_SCRIPTING_FILE_NETWORK_SECURITY");

      I also tried running some example code from their documentation, but AE didn't like this line:

      if (lang == Language.ENGLISH)

      It says "Language is undefined".

      Anyone have any thoughts?--Rob