33 Replies Latest reply on Jan 11, 2016 7:17 AM by williamadowling

    set Illustrator window size applescript (or javascript)

    jamesf14917918 Level 1

      Hello

      I have an appleScript for setting the bounds of an InDesign window and tried to adapt it for Illustrator, but it won't work. Can anyone help with this? I have two scripts which work in InDesign:

       

      Script 1:

      tell application "Adobe InDesign CS6"

        activate

        tell active window

        set bounds to {100, 1280, 1412, 2548}

        end tell

      end tell



      Script 2:

      tell application "Adobe InDesign CS6"

        activate

        tell window 1

        set bounds of window 1 to {105, 8, 1417, 2548}

        end tell

      end tell


      Thx for any help