3 Replies Latest reply on Jul 21, 2008 1:22 PM by (Olav_Kvern)

    Can't set interaction level in a vb script.

      I can't understand why I can't set the userinteractionlevel in my vbscript.

      Set Indesign = CreateObject("Indesign.application.CS3")
      Set Template = Indesign.open("C:\Scriptfiles\f08_catalog_template.indd")
      Indesign.ScriptPreferences.Version = 5.0
      Indesign.ScriptPreferences.UserInteractionLevel = idUserInteractionLevels.idNeverInteract

      I get an error message that says object required "idUserInteractionLevels"

      This is happening with other preferences when I try and set excelimportpreferences, for example.

      Very frustrating. Please advise.