2 Replies Latest reply on May 22, 2012 9:43 PM by Ben Hauser

    Cannot run HelloWorld.vbs in InDesign CS6

    Ben Hauser
      1. I installed Adobe InDesign CS6 and downloaded the CS6 Scripting SDK
      2. I copied the HelloWorld.vbs example into Adobe InDesign CS6/Scripts/Scripts Panel
      3. When I open InDesign and double click HelloWorld.vbs in the Scripts panel I get:


      Windows Scripting Error!

      Error Number: 438

      Error String: Object doesn't support this property or method:



      Engine: Default

      File: C:\Program Files (x86)\Adobe\Adobe InDesign CS6\Scripts\Scripts Panel\HelloWorld.vbs

      Line: 5


      The contents of HelloWorld.vbs are:


      Rem HelloWorld.vbs

      Rem An InDesign CS6 VBScript


      Set myInDesign = CreateObject("InDesign.Application")

      Set myDocument = myInDesign.Documents.Add

      Set myTextFrame = myDocument.Pages.Item(1).TextFrames.Add

      myTextFrame.GeometricBounds = Array("6p", "6p", "24p", "24p")

      myTextFrame.Contents = "Hello World!"


      The equivalent JavaScript runs fine.


      My system:

      • Windows 7 Enterprise N
      • Adobe InDesign CS6 Version 8.0


      My hunch is that it's some sort of configuration / install problem. Any ideas / workarounds would be very welcome at this point.