Skip to main content
hari_kdr
Known Participant
October 22, 2010
Question

How to save as AI file in same location with all text curves?

  • October 22, 2010
  • 1 reply
  • 2490 views

Hi Guys,

I am also looking for a script. Here are the details....

I do have lot of AI files (from different paths), which are completly work  done. So I just need to make them (all files) a copy with all text  curves in the same path should create folder name called 'LC'.

  • From  the given path all the files should save as to 'LC' folder. ('LC'  folder needs to create at the same location and original file should  stay as it was, so no changes in original/source file)
  • While  making curves we must remember that layers contains lock. So have to  unlock all the layer and make curves and lock them back.
  • While save as the all files in the file names should add '_LC' at last. For example: file name is 'xyzxyz.ai'. It should come 'xyzxyz_LC.ai'

FYI: Using Adobe CS4...

if you help me that would be really grateful...

Thanks in advance..

Kind Regards

HARI

This topic has been closed for replies.

1 reply

hari_kdr
hari_kdrAuthor
Known Participant
October 22, 2010

anyone, please

Inspiring
October 22, 2010

Hello Hari,

maybe this could be a startingpoint for you:

var lb="\n";

function writeNtimes(max){

     // read about namespace and visibility
     var string2 = "Read the F. Manual!";

     for(i=0;i<max;i++){
          //about loops
          alert(string2);
          
     }
     
}

function tieMyShoes(){

     if(willingness){
          //about conditional statements
          
          var refs = "Mozilla js reference and guide - very good\nAdobe Illustrator and ESTK references";

          alert(" Please start with the following "+lb+lb+refs);
          // about Strings
          gotIt=true;
          
     }else{

          var moocher = confirm("are you just looking for someone doing your work for you for free?");

          if(moocher){
               
               writeNtimes(10);
               
          }else{
               
               gotIt=confirm("Yes I understand");
               
          }
          
     }

}

var aString = "Hello HARI";

alert(aString);

var gotIt = false;

var willingness = confirm("are you interested in learning Illustrator JS?");

var string2="RTFM!";

while(gotIt==false){

     tieMyShoes();

}

hari_kdr
hari_kdrAuthor
Known Participant
October 22, 2010

woovvv, Amezing.... 

Brillient script...

never expected....