3 Replies Latest reply on May 22, 2013 7:03 AM by vinoth_mannu

    Symbol to be placed in eps file

    vinoth_mannu Level 1

      Hi All,

       

      I need to place a logo at the bottom of the image in eps.

       

      i have created the logo as symbol, can this symbol could be placed at the bottom of the image.

       

      Regards,

      Vinoth

        • 1. Re: Symbol to be placed in eps file
          Muppet Mark Level 5

          If you have just one image to place this on and the symbol is in the same document… then sure just add an instance of it and position it…

           

          If on the other hand this is a batch job and you have lots of images to do this with then better a separate *.ai file of the logo and place it and position…

           

          Otherwise you are going to have to duplicate the symbol from doc to doc which ain't elegant…

          • 2. Re: Symbol to be placed in eps file
            vinoth_mannu Level 1

            Hi Mark,

             

            Thanks for replying,

             

             

            I have only one logo which has to placed at the bottom of the image.

             

            I tried to place the logo in eps

             

            var myDoc = app.activeDocument;

            var myfile = File('D:\\Work\\test\\test.eps');

            $.writeln (myfile);

            var mysym = myDoc.placedItems.add();

            $.writeln (mysym);

            mysym.file = myfile;

            mysym.position = [0,0];

             

             

            but the postion should be bottom left end of the image.

             

            Please help me

             

            Untitled.png

             

             

            Regards,

            Vinoth

            • 3. Re: Symbol to be placed in eps file
              vinoth_mannu Level 1

              Hi Mark,

               

              I found a solution

               

                   with (docRef) {

                   var docName = name;

               

                   var artRight = visibleBounds[2];

                   var textLeft = artRight + 9;

                   var textTop = visibleBounds[3];

                   var textTop = textTop + 27;

                   mysym.position = ([textLeft, textTop]);

               

               

              Regards,

              Vinoth