Help me script to put eps and excel data in page-by-page indesign files.

Hello

I have many files eps by S1, S2, S3, S4... sequence. and as much of are available in excel file data.

Script required:

(1) S1 eps placed in page 1 and S2 eps on page 2... in indesign.

(2) data from cells A1 Excel must place in the lower left corner of Page 1. and given cel A2 should place page 2 same place... in InDesign.

Please provide the script for the same action in number of eps files and excel data.

Thank you and best regards,

Sampath.S

try to rename with the addition of zero... for example

1---> 001

2---> 002

11--> 011

Tags: InDesign

Similar Questions

  • I installed a new version of InDesign and now when I click on an InDesign file, it tries to open in Photoshop.

    I recently upgraded to InDesign and now all my InDesign files try to open in Photoshop. I tried to change how these files open by right-clicking on the file and choose open with. Photoshop is the recommended program. I unchecked "always use the selected program to open this type of file", click on browse and I found InDesign in the Program Files (X 86) folder and clicked on the InDesign program but nothing has changed. Any suggestions?

    No problem, it seems that the program is well hang in the registry. This should fix it. If not, let me know and I'll dig through some databases to see if I can find a solution.

  • Script Help: The names of layers from the Excel data

    Hello!

    I'm a noob script and have tried to learn, but unfortunately I just haven't the time. Projects at work keep me in the Bay. In any case, here's my scenario and I hope someone can guide me.

    I want a script that would look at a database (XML, CSV, excel or anything that works) and create separate layers in illustrator based on the data.

    Example: description and part number comes from a database. Name of the Illustrator layer is what I want the automation script. The reason for this request is a 200 point that I don't want to retype.

    Part numberDescriptionName of the Illustrator layer
    33456Point 133456_Item 1
    33457Point 233457_Item 2
    33458Point 333458_Item 3
    33459Point 433459_Item 4
    33460Point 533460_Item 5
    33461Item 633461_Item 6
    33462Point 733462_Item 7
    33463Item 833463_Item 8

    After that, I have all my items, with correct layer names, I export each layer as a separate PDF file. The name of the export file would be identical to the layer name with "_1up" appended to the end. For example, 33456_Item 1_1up.ai.

    I would have a separate illustrator file that contains all the same name of the layer as above and then I place the exported file, he respected the layer. This is where the script of another would be great. Is it possible to make a script that will place an image on a layer that has similar naming structures (the only differences would be the name of the layer would not "_1up")?

    I hope this makes sense and I know that I ask a lot. I thank very you much in advance!

    still not sure why export you all the layers to separate the files only to place them all back again?

    but this will get your layers created.

    var line,lay,myLayers = [];
    var csvFile = File('e:/csv.csv');
    csvFile.open( 'r' );
    while(!csvFile.eof){
        line = csvFile.readln();
        line = line.replace(',','_');
        myLayers.push(line);
    }
    csvFile.close();
    var doc = app.activeDocument;
    for(var i = myLayers.length - 1; i > 0; i--){
        lay = doc.layers.add();
        lay.name = myLayers[i];
    }
    var oldLayer = doc.layers.getByName('Layer 1');
    oldLayer.remove();
    

    CSV should simply be:

    33456, point 1

    33457, point 2

    ...

  • script to open eps and save in jpg format

    Hello

    I need a script to open an eps file or have 100 dpi, rgb with the longest side of 500 px.

    This would save the jpg as a amximum with the same name + .jpg

    then close the eps file without saving it.

    I tried TSE create an action to do this but I can not understand how to create the jpg file with its longest side to 500 pixels.

    Jean

    When you save your action use Fit Image to resize the document. Enter 500 in width and height, in this way, the longer side will be 500. Image adjustment will keep the ratio of the image.

  • Create a catalog from a picture of the Bank and excel data

    Hi all

    At Mondottica, we create "Linesheets" permanently for our customers to highlight the latest glasses. I have attached an image to give a brief overview of our courses, and a video that shows a simplified example of how our PDF products are created.

    At some point, we could work with more than 100 frames of glasses to be sunk in an InDesign document, so something that takes several hours, I don't know may be reduced to minutes.

    I suspect scripting or InCatalog could be the answer, but before we go down a rabbit hole, I would like to hear from others. I know that I'm not the first person to encounter this problem so I know no answer there.

    Thanks in advance!

    Morgane

    Process Overview.jpg

    The native InDesign feature merge data might be all you need to do this.

    This tutorial looks like a good fit.

  • Write and read data from the user's local file system

    Hello

    I write my first extension for dreamweaver. My extension should backup the data on the local file system of the user. I know that I can use DWfile.read () and DWfile.write () as described in Chapter 2 of the Dreamweaver API reference. I store the data using the XML format. What is the best way to read and parse the XML data in the file? What is the best way to write the XML data in the file?

    If you recommend one format other than XML, I'm open to suggestions. The data are only a few configuration information for the extension which should be persisted.

    Thank you

    mitzy_kitty

    How will the data be used? If it is used by JavaScript, use JSON format which includes js. If you use XML, then you will need to find an XML parser to read the data.

    Randy

  • Content of Word files and Excel does not display when I open them on a reader shared, VPN

    Have Windows 7 Home Edition.  I have a working VPN connection where I can see the files that are shared it but I can't open any word or it excel files.  My Word and Excel works other places to open the files I saved.  Thank you!

    Talk to your personal COMPUTER.  It seems to me that there is a problem of permission on the share or in the VPN tunnel. Brian Tillman [MVP-Outlook]

  • I am trying to create a data entry page that resembles an Excel worksheet

    Hi all

    How to create an Excel data entry page.

    Please suggest:

    I tried to use tableLayoutRN, tableRN, and advanced table, but all the columns are coming as the reading that I need them to be as entrable data fields please suggest.

    Thank you

    Mahesh

    You initialized the xxxEmployeeDetailsVO1 to add a new line on loading of the page, or when any button is clicked?

  • Which connects InDesign template with excel data

    I have a pretty weird that I start.

    I need to make a model of design with different data fields.  There will be about 100 pages total.  The data of these text fields is stored in Excel files.  I know that I can just copy and paste the information from one to the other, but I was wondering if it was possible to somehow dynamic link between the text field in the spreadsheet so that, if the data changes in excel it automatically updates in the indesign file.

    Or is there another solution out there somehow since excellent data link to a model?

    Any advice would be appreciated. Thank you.

    Damon

    Yes, the answer is in your preferences. Create link when you place text files or a spreadsheet. Wording is perhaps not right because I don't have InDesign not open right now.

    Bob

  • InDesign script to put the excel file

    Hi all, I'm new to Indesign Scripting, and I hope someone can help me with the following code:

    All I want to do is:

    1. Open the indesign file
    2. Open excel file
    3. ExcelFile place as a table (with active flow)
    4. export as PDF & save document

    Thank you!

    //Define file to open
    var myDocumentFile = new File("/d/Projecten/Indesign Server/document.indd");
    //Define file to save
    //var mySaveFile = new File("/d/Projecten/Indesign Server/document_save.indd");
    //Define file to export
    var exportPDF = new File("/d/Projecten/Indesign Server/document_save.pdf");
    //Open xls-file to place as table
    var myExcelFile = new File ("/d/Projecten/Indesign Server/products.xls");
    
    var result = "";
    if(!myDocumentFile.exists) {
        result = "Unable to find DOCUMENT:  " + myDocumentFile.path;
        $.writeln(result);
        exit();
    } else if(!myExcelFile.exists) {
        result = "Unable to find EXCEL:  " + myDocumentFile.path;
        $.writeln(result);
        exit();
    } else {
        // Open file
        var myDocument = app.open(myDocumentFile);
        with(app.documents.item(0).pages.item(0)){
            myTarget = textFrames.item("tabel");
        }
        var myPage = myDocument.pages.item(0);
    
        //Set excel placement properties
        setXLimportPrefs();
    
        // Place Excel file
           try {
                 $.writeln("Place Excel file");
                //HELP!! HOW TO PLACE EXCEL FILE?
                //myTextFrame.place(myFile);
            }
            catch (e) {
                 $.writeln("Place Excel file "  + e + " " + app.excelImportPreferences.errorCode);
                myDocument.close();
                exit();
            } 
        if(!exportPDF.parent.exists && !exportPDF.parent.create()) {
            result = "Not exported.  Unable to create the folder:  " + exportPDF.parent.fullName;
            $.writeln(result);
        } else {
            app.documents.item(0).exportFile(ExportFormat.pdfType, exportPDF, app.pdfExportPresets.item("[Press Quality]"));
        }
        myDocument.exportFile(ExportFormat.PDF_TYPE,exportPDF);
        myDocument.close();
    }
    
    function setXLimportPrefs(){    $.writeln("setXLimportPrefs()");
            with(app.excelImportPreferences){
                //alignmentStyle property can be:
                //AlignmentStyleOptions.centerAlign
                //AlignmentStyleOptions.leftAlign
                //AlignmentStyleOptions.rightAlign
                //AlignmentStyleOptions.spreadsheet
                alignmentStyle = AlignmentStyleOptions.spreadsheet;
                decimalPlaces = 4;
                preserveGraphics = true;
                //Enter the range you want to import as "start cell:end cell".
                rangeName = "A1:B16";
                sheetIndex = 1;
                sheetName = "Appetizers";
                showHiddenCells = false;
                //tableFormatting property can be:
                //TableFormattingOptions.excelFormattedTable
                //TableFormattingOptions.excelUnformattedTabbedText
                //TableFormattingOptions.excelUnformattedTable
                tableFormatting = TableFormattingOptions.excelFormattedTable;
                useTypographersQuotes = true;
                viewName = "";
            }
    }
    result;
    
    

    myTextFrame is not defined in your script.

    It works for me:

    myTextFrame = app.selection[0];
    var myExcelFile = new File ("~/Documents/idml/some file.xlsx");
    myTextFrame.place (myExcelFile);
    

    -When I select a text block, of course.

    To debug this, you can remove the try... catch statements because they're actually hiding the error now: InDesign can place the file, but the variable does not exist.

    Thankfully, I fell it many times before.

  • Help with script from beginner to the data store and hard drives

    Hello

    I am quite new to scripting, and recently, I created a monstrosity below.

    The problem is with the results. I have no idea why in the results I get the name of the virtual machine and its data store over and over again until all disks are highlighted.

    Any help will be very very much appreciated.

    The script:

    $raport = @)

    Foreach ($i in (Get-Content "Y:\vms.txt"))

    {

    $rekord = «»

    $vm = get-vm-name '$i '.

    $dysk1 = $vm | Get-hard drive | where {$_.} Name - eq 'Disk 1'}

    $datastore1 = $dysk1.filename.split("]") [0].split("[") [1]

    $disks = $vm | Get-hard drive

    {foreach ($disk in $disks)

    $hd = «»

    $disksize = ($disk. CapacityGB)

    $hd += $disksize

    {$rekord += $vm.name + ";" + $datastore1 + ";" + $hd}

    $raport += $rekord

    }

    $raport | out-file 'Y:\dyski.csv '.

    The results in csv:

    VM1Name; datastoreName; 60; VM1Name:datastoreName; 50; VM1Name; datastoreName; 40

    VM2Name; datastoreName; 45; VM2Name; datastoreName; 40

    The results of dream in csv:

    VM1Name; datastoreName; 60; 50 40

    VM2Name; datastoreName; 45 40

    etc.

    Try like this

    $raport = @)

    Foreach ($i in (Get-Content "Y:\vms.txt"))

    {

    $rekord = «»

    $vm = get-vm-name '$i '.

    $disk = $vm | Get-hard drive

    $datastore = ($disk | where {$_.}) Name - eq "disk 1" hard}).filename.split ("]") [0].split("[") [1].

    $rekord = "$($vm.)". The name); $($datastore); $(($disk | sélectionnez-ExpandProperty CapacityGB)-join ' |') »

    $raport += $rekord

    }

    $raport | out-file 'Y:\dyski.csv '.

  • Smartphones blackBerry how to open and view Word and Excel files?

    I registered the "Word to Go" and the sheet to Go"applications.  However, when I try to open an excel since an attachment file, a message appears indicating that I can't view the attachment on my device type.  I tried saving the file under the name of previous versions of excel with no luck.

    Same problem when I try to export files to blackberry.  An error message indicates the device can carry only the file but not open or read it.

    Any help would be most appreciated! Thank you!

    Thanks for the reply of John.  I rebooted and no it did not work.  The files do not seem to be recognized by the phone as those I send an email to the phone have a "?" on them.  However, if I open word or excel (to go) on the device, the application looks for files, but can't find even if I put some on the phone but the USB.

    Any other suggestions please?  Thanks again.

  • Need a little help. Script to export the single document for different types of files.

    Hey guys, I'm new to scripting. have looked everywhere but cannot find an answer to this, I'm sure it's pretty simple


    At work we export logos all the time in a few different formats for the clients.
    I looked in the script as a way to automate the process.

    So far, I thought a little script to export my Illustrator formats document... now I need to be able to export this document even outside as a res low and high PNG, low and high res JPEG, EPS, PDF and TIFF etc.
    I have scripts to do all these separately but just need to know how to put it all in a single script I can do all at once

    Here is an example of my two different scripts to export PNG. I just need to know how string together so I can add all of the formats without breaking it.

    function savePNG() {}
    var destFolder = Folder.selectDialog ("select the folder to export the PNG files to :');")
    If {(destFolder)
    If (app.documents.length > 0) {}
    var Nomdoc = app.activeDocument.name.match(/^.*[^.ai]/i);
    var destFile = new file (destFolder + ' /' + Nomdoc + "-HR.png");
    if(destFile == null) {return ;}
    var doc = app.activeDocument;
    var artRect = doc.artboards [0] .artboardRect;
    var exportOptions = new ImageCaptureOptions;
    exportOptions.resolution = 300;
    exportOptions.antiAliasing = true;
    exportOptions.transparency = true;
    doc.imageCapture (destFile, artRect, exportOptions);
    }
    }
    }
    savePNG();

    and here is the version low resolution

    function savePNG() {}
    var destFolder = Folder.selectDialog ("select the folder to export the PNG files to :');")
    If {(destFolder)
    If (app.documents.length > 0) {}
    var Nomdoc = app.activeDocument.name.match(/^.*[^.ai]/i);
    var destFile = new file (destFolder + ' /' + Nomdoc + "-LR.png");
    if(destFile == null) {return ;}
    var doc = app.activeDocument;
    var artRect = doc.artboards [0] .artboardRect;
    var exportOptions = new ImageCaptureOptions;
    exportOptions.resolution = 72;
    exportOptions.antiAliasing = true;
    exportOptions.transparency = true;
    doc.imageCapture (destFile, artRect, exportOptions);
    }
    }
    }
    savePNG();

    Thanks for any advice you can give!
    Eli

    Oh, you want to perform two functions, one after another at the same time? then just name with different names and perform one function after another, if all files will be saved in the same folder, the argument selectDialog move method on each of your functions to don't do only once.

    function savePNG_HR(){
        var destFolder = Folder.selectDialog('Select the folder to export the PNG files to:');
        if (destFolder) {
            if(app.documents.length > 0){
                var docName = app.activeDocument.name.match(/^.*[^.ai]/i);
                var destFile = new File(destFolder + '/' + docName + " - HR.png");
                if(destFile == null){return;}
                var doc = app.activeDocument;
                var artRect = doc.artboards[0].artboardRect;
                var exportOptions = new ImageCaptureOptions;
                exportOptions.resolution = 300;
                exportOptions.antiAliasing = true;
                exportOptions.transparency = true;
                doc.imageCapture(destFile, artRect, exportOptions);
            }
        }
    }
    
    function savePNG_LR(){
        var destFolder = Folder.selectDialog('Select the folder to export the PNG files to:');
        if (destFolder) {
            if(app.documents.length > 0){
                var docName = app.activeDocument.name.match(/^.*[^.ai]/i);
                var destFile = new File(destFolder + '/' + docName + " - LR.png");
                if(destFile == null){return;}
                var doc = app.activeDocument;
                var artRect = doc.artboards[0].artboardRect;
                var exportOptions = new ImageCaptureOptions;
                exportOptions.resolution = 72;
                exportOptions.antiAliasing = true;
                exportOptions.transparency = true;
                doc.imageCapture(destFile, artRect, exportOptions);
            }
        }
    }
    savePNG_HR();
    savePNG_LR();
    
  • Variable data merging with images and Excel

    I have a question about the installation of variable data files. I'll put up an excel file for a small number of badges of identity (like 50). The headers are all set up as variable data of regular text (first, last, agency, etc.), but on the last section the variable information is a small graphic (circle, square, triangle, etc...) How you configure in excel to recognize that this is a graph when you import into Indesign using the data merge feature.

    Is it still possible? I have attached the worksheet so that you can better see what I'm talking about.

    For the graphical content, add the @ symbol at the beginning of the name of the field in the header and put the path to the image in the cell of each record.

    I think it is covered in the help topic well enough, then you might want to go back and read it.

  • Unexplained white lines in formats EPS and HAVE

    Thanks for taking a peek. I'm at my limit with this one.

    I have a book in InDesign CS4 with overall imported EPS pictures. The EPS files created with Illustrator CS1/CS4 (we have updated recently - ago, big jump!). When you test the exported PDF book we noticed that several images have what seems to be random white lines framing the areas of the work. I searched through the knowledge base on the seam, sought in Illustrator/InDesign forums on 'white lines' and various other key words, but so far I have not found a honest solution. I tested these corrections starting with settings display "Line Art/Smooth Image" PDF, InDesign "Aplatissements predefined transparencies Transarency" smooth, all the way back to the work of the Illustrator files.

    I must emphasize that these lines are only visible on the screen after a series of expansions in Acrobat or InDesign. The lines are not visible on the screen in the EPS formats / HAVE, however, when you print directly from Illustrator, they find themselves on the hard copy. There is at least a starting point?

    In one of the most obvious examples, we noticed framing around objects with drop shadow effects. The background of this image is a gradient. The foreground object has a shadow effect. We tested the removal of the shadow effect and the lines disappear. We then reapplied the shadow but removed the gradient of the background. Again, the lines are left. All this is fine I guess, if we need to go through each drawing and eliminate any shadow scope and/or degraded (rather annoying though and disappointing that some effects may be inevitable to represent a series of illustrations). But honestly, is it normal that these two effects of situations of conflict in this way? The biggest problem is that there are designs with these ghosts lines that have no background gradient shadow or drop. I have no idea where to solve this!

    From what I read and what I've seen with tests, there is a problem of transparency, supported by our experiences with shadows - possibly in the original format of EPS designs are created in. ' save under... ". ». I does not solve it. Backup to a flattened. TIFF or even. JPG is really not an option.

    With the help of shadows with gradients is a no-no? Maybe something in the transition from CS1 to CS4? I'm a clueless fool who just needs to stick with Photoshop? Laughing out loud. I do not know!! Someone please enlighten us on this one. I try to understand these things on my own, but Illustrator is my weaker demand. In any case, all tips are very much appreciated.

    Thank you in advance.

    -Christmas.

    JulieGraphicDesigner wrote:

    I use Illustrator CS3 and had the same problem.  I finally got the white lines if go by saving my file .ai, flattening of the work (go to the layers palette, the pitcher, then "Flatten the work"), print to a .pdf file (or I guess you could save as), and then close the .ai file without saving (because I didn't want the flattened .ai file).

    It worked!  Woohoo!

    It is a good idea and makes me think that my reference to flattening is misleading. Flattening in the layers panel work can definitely have an effect on transparency, but this isn't a flattening of transparency in the strict sense of the term. Julie mentions printing in PDF format, or save as PDF. These are two totally different things. In the case of printing to PDF, the output is post script, which does not support transparency. The PostScript is converted to PDF. So it could be transparency in the document of the monolayer, but transparency has been flattened at the printing stage.

    This method can be effective, but only if the PDF output does not need to be placed in another application. In any case, Julie was correct does not back up after flattening the layers.

    kristeejo11 wrote:

    I spent hours trying to solve this problem.  I did as stated in this thread, and passed under the eps to AI file, but would really like to know why this is happening with this particular eps file.

    Maybe we can find a solution to this problem.

    Kristeejo you should display your illustrations drawn mode and see if you have pictures divided into sections. If Yes, then this is perhaps the result of some with object: flatten transparency. It's very embarrassing when someone does this. Sometimes, you can select the pieces of the image (see the links Panel, they are all integrated links), then use object: pixelation. Do not do this to vector elements. After rasterization is completed, the pieces become an entire image, and I hope that the seam lines will disappear.

    The other possibility - and the solution because it is much easier - is that someone has placed a Photoshop EPS, and it is interacting with transparency. You can re - register the Photoshop EPS as a native file to Photoshop and re - link. I've seen it eliminate the thin white lines in output.

Maybe you are looking for

  • Get notifications on my watch for app removed

    For my iPhone 6 s and look, I used an application called team Stream by Bleacher report. I chose the preference "not not mirror iPhone" do not get notifications on my watch, but stay get them on the iPhone. However, notifications continue on my watch

  • Roaming profile does not load after local copy deleted

    We are setup on a remotely administered by a business exchange network. Short version is I deleted the local copy of the roaming profile and now she cannot connect to this computer with its username/password changes. a reason to do it at all? I am ab

  • In video mode shutter speeds

    I just read that the T3i can autofocus in video mode, true? On T5i shutter speed is adjustable during the video?  Sometimes I need fast shutter for objects moving quickly are not blurred.

  • printer Deskjet 3050 j610

    My (HP Mini notebook) computer and the printer are connected to the same network wireless, but when I try to print it tells me that my printer is offline. It worked perfectly, but then we moved house, not really worked properly since. Have you tried

  • drive dvd - rom Inspiron 1720 jumps when streaming

    I was delivered a Vista started Inspiron but very little time after, reformatted and installed my old version of XP.  I don't know how it worked before I made this change, but I know that currently... .. whenever I try to stream the content multimedi