0 Replies Latest reply on Oct 20, 2010 3:30 AM by Ravindra_KCS

    Indesign CS3 and CS4 Behave difference for the Same VBScript

    Ravindra_KCS Level 1

      I have written a VBScript for Indesign CS3 and CS4.

      My Script works fine with Adobe Indesign CS4, But the same VBScript gives Error.

       

      Set myDocument = myInDesign.ActiveDocument
      Set myPage = myDocument.Pages.Item(1)
      Rem--[Check If TextBox "myRemoveFrame" is already exist then delete it first]    
          Set myPageItems = myPage.PageItems.Item("myRemoveFrame") // This Line alert a error
          myPageItems.Locked=false
          myPageItems.Delete

       

      ERROR Message : The requested member of the collection does not exist

       

      Any one can help me