1 Reply Latest reply on Jul 27, 2017 6:54 AM by williamadowling

    Package Illustrator file

    vinothv88581547

      Hi

       

      I want to package a illustrator file using "executeMenuCommand". I tried its trigger the dialog box for the further selection. I want to execute the command without the dialog box.

       

       

      app.userInteractionLevel = UserInteractionLevel.DISPLAYALERTS;

      app.executeMenuCommand ("Package Menu Item");

       

       

      Thanks in Advance.

        • 1. Re: Package Illustrator file
          williamadowling Level 4

          My guess is that you probably can't do this, though i've never tried. The problem is i don't believe you can pass arguments to the package command, so the package functionality wouldn't know what settings to use.

           

          I had a thought that maybe you could use an action, but i tested that out and it doesn't work.

           

          Depending upon your needs, a script may be able to mimic the functionality of the package command.