2 Replies Latest reply on Apr 26, 2016 8:57 AM by zeRafio

    [AS CC 2015] create primary text frame

    zeRafio Level 1

      In following script the command create primary text frame does not work.

      Does anyone knows why?

       

      tell application id "InDn"

        activate

       

        set newDoc to make new document

        tell document preferences of newDoc

        set facing pages to true

        set intent to print intent

        set page orientation to portrait

        set page size to "A4"

        set pages per document to 2

        set start page number to 2

        set create primary text frame to true

        end tell

       

      end tell

        • 1. Re: [AS CC 2015] create primary text frame
          greenrookie Level 2

          Try this

           

          tell application id "InDn"

                     activate

                     tell document preferences

                                set facing pages to true

                                set intent to print intent

                                set page orientation to portrait

                                set page size to "A4"

                                set pages per document to 2

                                set start page number to 2

                                set create primary text frame to true

                     end tell

                     make new document

          end tell

           

          greenrookie

          • 2. Re: [AS CC 2015] create primary text frame
            zeRafio Level 1

            Your scripts try to set the prefs at the application level instead of document level.

            I've already tried it.

            It does not work.