Export Illustrator layers to separate the Illustrator files?

Does anyone know in AI CS4 how to export layers to separate the .ai files? Or third-party plug-ins to do the same thing? Preference, retaining the name of the layer to the new file name.

I have a file .ai laminates with 40 layers of versions of logo that I need to export separate files and I would avoid the obvious "save under" and delete layers road.

Thanks in advance.

Try this. Cut and paste into a text editor and save it in a text file with the .jsx extension. You can either place them in your AICS4 > Presets > Scripts folder and restart AI or run all from file > Scripts > other Scripts.

Beginning

var doc = app.activeDocument;
   
If (documents.length > 0) {}
       
Create the illusrtratorSaveOptions object to set options to HAVE
var saveOpts = new IllustratorSaveOptions();
   
Definition of the IllustratorSaveOptions properties.
saveOpts.embedLinkedFiles = true;
saveOpts.fontSubsetThreshold = 0.0
saveOpts.pdfCompatible = true

If (doc.saved == false) doc.save ();
       
for (i = 0; i
If (doc.layers [i] .locked == false) doc.layers [i] .visible = false;
fullDocName = doc.fullName;
var param = doc.name.split('.');
realDocName = param [0];
for (i = 0; i
If (i - 1<0) doc.layers[i].visible="">
else {}
doc. Layers [i - 1] .visible = false;
doc. Layers [i]. Visible = true;
}
If (doc.layers [i] .locked == false) {}
docName = realDocName + doc.layers [i] .name + ".ai";
var saveName = new queue (doc.path + "/" + Nomdoc);
doc.saveAs (saveName, saveOpts);
}
}
doc. Close (SaveOptions.DONOTSAVECHANGES);
doc = null;
App.Open (fullDocName);
}

End

Tags: Illustrator

Similar Questions

  • How to separate the Raw files of the photo library

    My photo library is over 700 GB. I have a lot of raw files that are 30 MB or more. How can we separate the raw files in a separate file or a separate library?

    Duplicate your photos library in the Finder and then remove all the BULLIES of the first library photos and all photos that are not the RAW files of the second library.

    You can search for RAW photos with a smart album:

    File > new Smart Album

    Then set the rule set to "picture is GROSS."

    Of the other library use the rule 'The Photo is not BELIEVED'.

  • I have created a multi-page document in inDesign and exported in PDF format.  The original file size is 13.27 mb.  I used the command size reduced to 2.86 to the file to download on the internet.  However, one of the images in the original pdf file does n

    I have created a multi-page document in inDesign and exported in PDF format.  The original file size is 13.27 mb.  I used the command size reduced to 2.86 to the file to download on the internet.  However, one of the images in the original pdf file does not appear in the smaller file.  Can someone help me?

    Try the PDF tool optimize.

  • How to export multiple layers to separate PDF files?

    I just upgraded from Mavericks to Yosemite and all my CC Adobe until 2015. So far I love it, but I have a nagging problem: export layers to separate PDF files.

    My file has 38 layers, each of them must be separated in PDF format, so I use the script that is embedded in SaveDocsAsPDFs. The first time I run it, it ends up split on most files, but not all, so I thought I'd run it once again: no chance. Whenever I run the present, he eventually put all the active layers in a pdf from single page instead of save them as individual PDF files. I've spent the better part of two hours online hunting and are all I can find third-party scripts that actually do what I need, rather than use the builtin scripts.

    Is there a way someone can help me with this problem? I'll have much, much more files like that and I would use the original if possible script. It is everything on a Mac. Specs below.

    Mac Pro

    Quad-Core Intel Xeon

    3.2 GHz

    32 GB

    The SaveDocsAsPDFs allows to save multiple documents open simultaneously in artificial intelligence to separate files. He doesn't have layers in separate documents. You can use one of the scripts that you got to do what you want.

  • Export Illustrator file to PDF - 'Create PDF Compatible file' where is this option?

    Where the Option 'Create a compatible PDF file' when export us an Illustrator file to PDF? Hernani thanks

    hernanif,

    The option is only save you as or save a copy in the format I.

    Its purpose is to create a file PDF file inside HAVE.

    If you save as PDF, you have the additional option preserve Illustratot editing capabilities, which creates a file HAVE in the PDF file.

    Whatever it is, you get a file in both formats, with some differences.

  • drawing in flash and export Illustrator files

    I use to be able to draw or modify drawings in Flash and then export them to a postscript or swf file so that I could keep changing them in Illustrator. These characteristics seem to miss and I don't understand why. Surely, these are the characteristics that have been used by other users. So the function of printing image went Flash and that's where I could contain my vector drawing as postscript or PDF, and now I can't do more than anything. In Illustrator, I use to be able to open the .swf files and I can't do that. Is there a go-around? Why take such a good thing away which is so useful to artists and designers?

    Hi all

    Flash Pro CC 2014 (v14.0.0.110) is now available for download via the Web App Cloud and Adobe Creative site.

    We have added the function Export SVG to Flash Pro with this new version. You will now be able to export the contents of the vector of the image selected as an SVG image, which can be opened directly in a browser and even imported into Adobe Illustrator.

    Option to Export SVG are accessed through the parameters of publication as well as via the Menu file > export > export Image option.

    Alongside this, we have added several new features in this release. The complete list is available on these links:

    Overview: https://www.adobe.com/in/products/flash.html

    Whats new: https://helpx.Adobe.com/Flash/using/whats-new.html

    Release notes: https://helpx.adobe.com/flash/release-note/flash-professional-cc-2014.html

    Thank you

    Mabrouk

  • Pe10 - how to cut a long .mp4 and export these different cuts to separate the .mp4 files?

    I have a .mp4 to 2 hours I wanted to take a few short clips of.  How to do that effectively?  Here's what I did, but I would like to know if there is a better way.


    -J' created a new project.

    -J' dragged the .mp4 to 2 hours in space on the right media files.

    - Then I dragged this file to the timeline.

    - Then I stopped the video at each place I wanted to do a cut by pressing the scissors button.

    - Then I deleted all the clips from the excesses of the timeline, leaving 3 segments I was looking for.

    -I met at this point is my 3 segments were in the timeline panel, but I don't know how to export each in their own individual .mp4 files.

    - So what I did save the project under "Project1", then registered again as "project 2", and then again as "project 3". "

    -J' have opened "Project1", deleted the other 2 extracts of the timeline, then recorded as a .mp4 video.

    -J' repeated this process for the other 2 hooks respectively.

    Is there a way I can click on the clip on the Timeline and just export this part as a .mp4 or something?  This seems to be a lot of hassle to do something so simple as grabbing a few snippets of a great video.

    Thanks to all in advance!

    It's a way to do what you need.

    Another would be back in the timeline of the original project, after you did the Trims, would be to use the WAB (work area bar), to limit the share of exports / to just that area of the timeline. When we do share export /, they just need to make sure to check the work area to export and not chronology. For more information about the WAB (a great feature), see this article: http://forums.adobe.com/message/3961685#3961685

    Good luck and good editing,

    Hunt

  • Export illustrator files in Comp CC

    Can you export your Comp CC files, so that they are always editable with the text and everything?

    COMP CC is only designed to go from your mobile device to Illustrator CC, CC InDesign and Photoshop CC. It does not work the other way around, sorry.

  • Suggestion: Add option to Soap envelopes to separate the dump file

    Currently, the Onyx log exports all envelopes in the journal of general Onyx.

    It's ok in most cases, but sometimes, it would be useful to be able to empty the Soap envelopes in a separate file.

    Type of a SOAP file 'raw '.

    ____________

    Blog: LucD notes

    Twitter: lucd22

    Hi LucD,

    Thanks for the suggestion! Similar functionality is already planned for a future release. It will provide easier access to the raw SOAP messages.

    Kind regards

    Ignat

  • Export a table present in the indesign file in PNG?

    Hi all

    I have 10 indd files and each file has a page and a table is the only element that is present on the page. So a few files indd a table present in a text box and few records a table in two text boxes, because the table has several rows as spiltted in two linked text boxes.

    I am able to select the two text boxes, but all somehow by exporting the table of the box text only get exported in png because of a bad code.

    Pls help.

    app.selection [0] .exportFile (ExportFormat.PNG_FORMAT, destFile, false);   / / here, I need to correct the code.

    indesign #target

    var sourceFolder = new file ("/ users/admin4/Desktop/INS ');

    myFiles var = sourceFolder.getFiles ();

    Alert (myFiles.length);

    var destFolder = new file ("/ users/admin4/Desktop/folder3");

    for (i = 0; i < myFiles.length; i ++)

    {

    If (myFiles [i] .name "! =".) DS_Store')

    {

    var sourceDoc = app.open (myFiles [i]);

    app.activeDocument.pageItems.everyItem () .select ();

    app.activeDocument.stories [0] .tables [0].parent.select ();

    var destFile = lead (destFolder + "/" + myFiles [i] .name + ".png");

    App.Selection [0] .exportFile (ExportFormat.PNG_FORMAT, destFile, false);

    Here, I need to fix the code.

    sourceDoc.close (SaveOptions.NO);

    }

    }

    Hello

    Group pageItems and export selected group:

    var sourceFolder = new Folder ("/Users/admin4/Desktop/INS"),
    destFolder = new Folder ("/Users/admin4/Desktop/folder3"),
    myFiles = sourceFolder.getFiles(/.indd$/),
    sourceDoc, i, destFile, mPItems, mTarget;
    
    for (i=0; i < myFiles.length; i++)
    {
         sourceDoc = app.open(myFiles[i]);
         if(sourceDoc) {
              mPItems = sourceDoc.spreads[0].pageItems.everyItem().getElements();
              switch (mPItems.length) {
                   case 0: alert("Empty file: " + sourceDoc.name); exit(0); break;
                   case 1: mTarget = sourceDoc.pageItems[0]; break;
                   default: mTarget = sourceDoc.groups.add(mPItems); break;
                   }
              mTarget.select();
              destFile = File(destFolder + "/" + sourceDoc.name + ".png");
              app.selection[0].exportFile(ExportFormat.PNG_FORMAT, destFile, false);
              }
         else alert("Can't open a file: " + sourceDoc.name);
    
         if(sourceDoc.spreads.length > 1)
              alert ("More than 1 spread in file: " + sourceDoc.name);
    
         sourceDoc.close(SaveOptions.NO);
    }
    

    Jarek

  • "Export as html" creates all THE html files

    Hello

    A few weeks ago Muse created all of a sudden all files same html so I do not change a thing on some people.

    Muse creates only a new css files for these pages on that I changed something.

    What can I do?

    Thank you

    Ylva

    Any user created uninstall files never touch, but of course, it's always a good idea to save them.

    Mylenium

  • File naming sequence to repeat the action on the same file

    I need to export all of the hands of a clock to animate the individual needles of the hours and minutes in the software I use. So, I'm trying to set up an automated process to save 60 hands on the clock so that I don't have to do it manually for all models of the future clock by rotating, save, rotate, save...

    I have an action to run 6 degrees and save it. This method works. I don't know how to automate this to repeat 60 times, other than nesting in a folder. Problem is that whenever plays the first action to turn and to record, he recorded on the last file with the same file name I used when recording the action.

    OR, if I use the export function (to save a PNG image, which is ultimately what I need, and not an AI), it does not work at all (nothing is saved) unless I have activate the Dialogue option to the export stage, then click on the screen manually to OK file name and parameters. There must be a way to record the default and work?

    Thanks in advance.

    1. draw the 60 arrows.

    2. the group.

    3 layers Palette: select the group, then release to layers.

    4. save for Web: PNG. The tab layers: export CSS layers. In the Save dialog box, select Images only.

    However:

    What do you use to build the animation, and what will you do with it? This kind of animation frame-by-frame is very inefficient. If it is for use on a web page, you can draw an arrow, and then turn it programmatically with just a few lines of script in Flash.

    JET

  • Where the DNG profile editor should install the .dcp file?

    Just made my first attempt to create a profile using X-Rite color checker passport and the DNG Profile Editor.

    Thanks to the excellent tutorial, the process went well.  Then, I took the last step of the export of the profile file (.dcp), expecting to find the new profile, when I open an image in ACR.  Unfortunately, the new profile did not appear in the drop down camera profile.

    After much research I discovered that the profile was written in the folder containing the images of .dng used to build the profile.  Obviously not where he belongs so that ACR to find.   I assumed that 'Export profile' will automatically write the .dcp file to the appropriate location.

    Where the .dcp files should be installed for Win7x64 running ACR, 8.2. ?

    Is there a way to set the default location in the profile editor?

    Thanks for your help.

    Custom designed. Profile of DCP files enter the following under your Windows user folder location:

    C:\Users\YourUserName\AppData\Roaming\Adobe\CameraRaw\CameraProfiles

    The AppData folder is a hidden system folder, you may need to enable the display of these types of files in your Explorer folder or any type \AppData display options in the folder address box and press ENTER once you get in your user name folder.

  • Size of the MIF file that is extremely important!

    Hello

    I'm working on an FM file. The size of this file is 3,738 kb. It is composed of 73 A4 pages with tables, text and referenced images.

    When I try to save as mif, it generates a .mif 44.1 MB file.

    Initially was external work and designer embebed images. Later, I fixed all the images to turn them into referenced files.

    Could this be the problem? I don't know what to do. I need to separate the FM files for < 5 MB MIF files. A 44 MB file is a giant!

    Thank you.

    Raul,

    MIF files are generally much more that binary FM counterparts, a factor of 10 is not surprising to me.

    Why would you need less than 5 MB files? You can easily ZIP down to this size, I guess.

    -Michael

  • Export a page to the photoshop/illustrator file with the same structure of layer?

    Hello

    Currently freelancing for a company that create using the indesign work and I try to streamline the process of splitting the outside inside work is separate to import directly into damage layers. I know you can use a script to separate the outside layers and then export as interactive pdf, this opening in illustrator and then releasing to layers (build) I'm looking for an effective way more time to get to this point? Sometimes the work does not seem to import correctly into illustrator, because there clipping masks and weird stuff out there (their marketing team is huge and those working on the same things that make things way differently). I tried two script to split the work out in components, but they don't seem to not remember the position or just produce the element of the unique work.

    A typical file would be 640 x 640 page with multiple Indesign pages with 6 layers of each placed exactly and signed illustration of positional for. The perfect scenario would be to run a script to export directly into photoshop (keeping the culture and position) if it is then just one case to draw only a file directly in ae.

    There are various forums and I got asked in all of scripts but InDesign and in particular script is not my forte. It is one that could do the trick, but the link is no longer active: http://www.zenodesign.com/forum/PageToPSLayersV3.zip

    I know it may seem as it is lazy, but there are many things to animate by project in different sizes, so any help and pointers would be great!

    Thank you

    A

    It is one that could do the trick, but the link is no longer active:

    The latest version is here. This is an AppleScript script if OSX only:

    http://www.zenodesign.com/Forum/PageToPSLayersV7.zip

    If you have any questions see this thread:

    How to export indesign layers in photoshop (same structure) layers

Maybe you are looking for

  • How to remove iPhone apps 7?

    I'm I could delete apps in my iPhone 7 in the same way that I used for previous models.  Pressed about an icon is no longer you give the laugh.  Help, please.

  • Reading of data of VISA

    Hello I am a beginner total with labview and searched but to no avail. I MC who ensures the pumping data from five sensors, each sensor comes out a little higher and a little weak. I created a VI that reads in the data and converts the string to an a

  • Idea Pad y430 2781 xp sp3 drivers

    Hello, I just installed xp sp3 on my laptop. Then the problem started, I've looked everywhere but I couldn't not all drivers for my setup. "I tried to install the drivers just Y430 model but an error has occurred... saying' your requirements cannot b

  • PCI card reader driver

    my card reader does not work I opened my device manager, the PCI device to any other device is not activated, it displays a yellow mark I think I installed an incompactible softwere driver where I can get the correct driver. I try to download it from

  • Problem getting webworks.js

    Hello It's my first time with the WebWorks but I'm pretty experinced js/html/css developer and I tried to implement the blackberry share for my application but I cannot make it work. I use the latest version of the SDK (2.2.0.15), I have the plugin c