14 Replies Latest reply on Apr 9, 2009 1:51 PM by Olav Martin Kvern

    VBScript - Select all objects

    Eliane_Yanou

      Hi everybody,

       

      I am looking for the syntax to select all objects of an InDesign document in VBScript.

       

      I guess I have to use "idSelectAll.idAll" or something like "myInDesign.idSelectAll.idAll = 1634495520", but I can't find the proper way to put it.

      I also tried to use the menu action [Set myMenuAction = myInDesign.MenuActions.Item("$ID/Edit.SelectAll") followd by myMenuAction.Invoke] but there is an error too.

       

      I'm quite new in VBScripting. I went through a lot of reference material now but I still need some help!

       

      Many thanks in advance.

       

      Eliane