4 Replies Latest reply on Mar 16, 2017 12:17 AM by aa54655517

    How to use JavaScript or VBScript to send some keystrokes to InDesign to activate (select) a specific open document?

    aa54655517 Level 1

      Please see the "Image 1" as below, it shows that from the "Windows" drop-down menu, 5 indd documents ("Document-1.indd", "Document-2.indd", "Document-3.indd", "Document-4.indd", "Document-5.indd") are open.

      How to use JavaScript or VBScript to send some keystrokes to InDesign to activate (select) "Document-1.indd"? When some one sends keystrokes by manual, the keystrokes sequence is "Alt", "W", "1". But please include this keystrokes sending into the scripts by JavaScript or VBScript.

      Note:

      Please start the script base on the InDesign status as "Image 2". In this status, "Document-1.indd" is not activated, and no drop-down menu is popping out.

      Thanks.

       

      TMP_DON'T DELETE.png

      TMP.png