Indesign from Illustrator Script

I'd like to automatically open InDesign/InDesign script from an Illustrator script.
There would be some arrays with data that will be passed on to the InDesign script for processing.
I thought that involved #target indesign but that does not seem like what I need to do.
I may just export the values to a txt from Illustrator if there are a lot of bugs in this process and then run the other script manually from InDesign.
Javascript
CS6

Then it seems like I'd like to go the export txt route.
That doesn't seem to be an option through scripting though you can manually do it??
myCSVFileName = "illustratorValues.csv";
myCSVFilePath = "~/desktop/"+ myCSVFileName;
myCSVFile = new File(myCSVFilePath);
myCSVFormat = ExportFormat.textType;
myDoc= app.activeDoc;
myDoc.exportFile(myCSVFile, myCSVFormat);
ExportType.JPEG
ExportType.PHOTOSHOP
ExportType.SVG
ExportType.PNG8
ExportType.PNG24
ExportType.GIF
ExportType.FLASH
ExportType.AUTOCAD
ExportType.TIFF
txt isn't an option like in indesign?

Similar Messages

  • Is is possible to open indesign from a script?

    Is there any way to open indesign from within a script, or does the application already need to be running before a script can access it?
    Thanks in advance.
    Jude Fisher
    http://www.jcfx.eu

    In Applescript, when you compile the code, the app must be running. If it's not, then it will start.
    When you run the script, InD doesn't have to be started first. You could have some Finder actions happen, then InD starts at the needed time when it's actions occur. You can have an if/then statement that only requests InD to do an action only if other circumstances are met. You do not even need to tell application InD to launch, just the first tell app statement will do it.
    I do not know how things work in Javasc or VB.

  • Open file in 'Bridge' folder from Illustrator Script. How? (Mac)

    I need to access a file in the Bridge directory, from a script in Illustrator. I can do this already for PC with a concrete reference like this:
    var loc = "C:/Program Files/Adobe/Adobe Bridge CS3/webaccesslib.dll"
    How do you construct a string to get at it on a Mac?
    thanks,
    -J

    Sorry, I misunderstood your question, I didn't realize you were looking for a specific file.
    I was going to suggest getting the path to the application and adding '/Contents/MacOS/webaccesslib.bundle/Contents/MacOS/webaccesslib' to get to the file, but I don't see a path property for the application in Bridge. Seems like a ridiculous oversight on Adobe's part, seeing how the other applications can return the path to themselves.

  • Convert Illustrator script from cs3 to CS5

    Hi Everyone,
    I'm new to illustrator scripting I did some simple InDesign script before but this the first time I am ask to create script for Illustrator.
    We have an old script that will create a report for the properties (e.i.: fonts, linkedImages, strokeWeights, dashes, strokeColors, etc.) of illustrator file. The script is working in CS2 and CS3 but since most of production people are now using CS5 and CS6 they ask if we could migrate this script to CS5. The script is using hashtable.jsx to get those properties. Does the CS5 script still need hashstable file or I have to create the script from scratch with out using the hashtable script?
    Any suggestion or information on how I could convert the script to higher version is mostly appreciated.
    Thanks and regards,
    --elmer

    I can't see #include in the script the only thing hashtable is called by this function. According to what I've read about the hashtable.jsx since it is in the startup script folder illustrator will autoload this script upon launching of the application.
    function TechArtProperties(parent) {
      this.width = 0;
      this.height = 0;
      this.colorMode = DocumentColorSpace;
      this.fonts = new Hashtable();
      this.embeddedImages = new Hashtable();
      this.linkedImages = new Hashtable();
      this.lockedObjects = 0;
      this.hiddenObjects = 0;
      this.strokeWeights = new Hashtable();
      this.dashes = new Hashtable();
      this.strokeColors = new Hashtable();
      this.fillColors = new Hashtable();
      this.effects = new Hashtable();
      this.brushes = new Hashtable();
      this.transparencies = new Hashtable();
      this.gradients = new Hashtable();
      this.layers = new Hashtable();
      this.parent = parent;
      this.total =0;
      this.artName = "";

  • Import live objects from Illustrator to InDesign

    Hi, I want to import objecs from Illustrator to InDesign. However, I need live objects (including e.g. texts, styles, swatches). Currently, I know only two possibilities:
    1. copy in AI and paste in ID. This will copy the objects but e.g. text is broken into curves, no styles are copied.
    2. place AI document. This way I cannot modify the document in ID (I have to go back to AI), I also cannot use the text styles from the original document for other texts created directly in ID
    Is there any other possibility? In reality I don't need to do the import via GUI. If I can make a plugin or script for this it would be enough. I have experience with creating plugins for AI but ID is very different internally. I have studied the SDK but I still did not find any possibility how to import the data.
    can anybody help me? thanks.
    Libor

    Sorry, but you've already discovered all there is.
    Bob

  • Best way to import tables from Illustrator to InDesign?

    Taken over a new position and they have loads and loads of tables i'm going to need to bring into indesign...
    Any ideas much appreciated!
    David

    Yes. Sorry, didn't think you wanted part of a file.
    In that case I suppose you have a choice.
    Crop out what you don't want in InDesign.
    or
    Copy from Illustrator and paste into InDesign, but then you have to open
    all of the Illustrator files. And if you are going to open them anyway
    why not at that time remove all the stuff you don't want and place them
    as you would have.

  • Problems installing Illustrator and Indesign from CS3 suite

    I am trying to install Illustrator and Indesign from CS3 suite.  Previously I had been running a trial version on my Mac, and now am trying to install the suite from the original install discs.  I have gone through the process of uninstalling all of the Adobe programs and then reinstalling.  When the install disc loads up and I get to the point where it lists the programs to install, in the top box Illustrator and Indesign are listed as already being installed and have no option to install them.  When I search my computer there are no Illustrator or Indesign applications.  I am able to reinstall the rest of the suite and it seems to work fine but can't seem to figure out what step I'm missing as far as reinstalling Illustrator and Indesign are concerned. 

    I haven't tried doing it on Vista but I would recommend looking for 
    Adobe clean up programs.  The problem I had was that the computer had 
    a trial version and then I tried to install the full version and it 
    wouldn't let me install illustrator because there were some random 
    illustrator files that conflicted with the installation process.  I 
    ran clean up program and it removed all adobe files.  Then I 
    reinstalled photoshop.  Before you start running clean up programs 
    make sure you back everything up.  Good luck

  • CS3 - Copy and Paste from InDesign to Illustrator NOT working

    I am trying to copy and paste some graphical elements from InDesign to Illustrator. The Paste command is active in Illustrator, but when I evoke the command, nothing is pasted. What is wrong?

    Apparently it is an issue with Leopard (and Illustrator)
    Workarounds:
    1) Export from InDesign as eps or PDF, or
    2) Copy paste into Photoshop as a Smartobject, and then double click the layer to edit smart object (it will open in Illustrator)
    I know, it's a pain.
    Ian

  • Image editing in InDesign (copy and paste from Illustrator)

    Hi
    I have a scenario and I hope someone can clarify:
    I work on a Mac using Adobe Illustrator & Indesign CS4. Whenever I copy and paste/drag an image from illustrator to Indesign, that particular graphic is uneditable in InDesign, and that is ok.  I want it like that for the clerk/typists to use in their InDesign files.
    However, on a PC with Vista, when the graphic is copied and pasted/dragged from illustrator to indesign, that graphic becomes editable using the direct selection tool in InDesign.  What I want to know is if there is way to turn this off on the PC version like on a mac?
    thank you in advance
    Dee

    Hi,
    maybe the difference lies with the way Illustrator pastes the images.
    Here with my trusty CS3 in the "File and clipboard preferences" (translated from the french) I have a choice of exporting the clipboard in PDF or AICB.
    If I understand your message I would guess that the Mac exports as PDF and Vista exports as AICB.
    A check of the preferences could help with that,
    good luck.

  • Referencing Bridge folder from an Illustrator script... How?

    I need to access a file in the Bridge directory, from a script in Illustrator. I can do this for PC with a concrete reference like this:
    var loc = "C:/Program Files/Adobe/Adobe Bridge CS3/webaccesslib.dll"
    How do you construct a string to get at it on a Mac?
    thanks,
    -J

    Go to the scripting Forums and select the Illustrator Script forum and ask there.

  • Jagged vector graphics from Illustrator in Indesign

    Using CS3, Leopard, have all updates.
    I'm having problems with vector graphics created in Illustrator getting jagged when dragged from Illustrator to Indesign (or copied and pasted or placed as Illustrator file). They look jagged (stair stepped) in InDesign, also in Acrobat after exporting a pdf, and after printing. The vector image in question is a rectangle with rounded corners with an "Envelope Distort - make with warp" applied to it. Is the problem that I'm trying to drag an envelope distorted graphic into InDesign? Are there settings to make this work?

    "They look jagged (stair stepped) in InDesign, also in Acrobat after exporting a pdf, and after printing."
    Doesn't sound like a screen preview issue to me.
    If a placed AI file has jagged edges on print and in PDF, but looks good in Illy, then something is amiss. Your transparency settings could be set to rasterize the line art. Make sure you're using one of the canned flattener presets (high, med, low) if there is any transparency in your page (little checkered icon by the page icon in the page palette).
    J

  • How to preserve and keep 2 Pantones from Illustrator, via Photoshop, to InDesign?

    Ciao!
    I have designed a 3D illustration in Illustrator (version 15.0.2), this illustration need to be printed for a magazine cover and I want to use 2 pantone colours for it.
    The 2 pantone colours are assigned form the Swatch Palette.
    The image is in CMYK (file > document colour mode > CMYK).
    The illustration is in 3D and the text has been convereted in outline. But I have not expanded the appareance of any element.
    I want to add more depht to the illustration and Photoshop seems the best solution for shadows and visually looks better.
    Plus InDesign can manage Photoshops files with Effects very nicely.
    [I find difficult and problematic to import Illustrators files with added Effects in InDesign, it leaves always a white background around the image and I don't know how to get rid of that.]
    How do I import the image in Photoshop (version 10.0.2) and keep the pantone?
    If I export/import the image as .psd format the files gest converted in CMYK automatically.
    In the Swatch Panel (next to the pantones I want to use) I see two square boxex the first has a round gray circle (I don’t know what this means), the second has 4 triangles (this I believe means CMYK).
    In the Separation Preview panel (if I click Overprint Preview) I have listed the 4 CMYK colours and the 2 pantones but if I turn off the 5 CMYK eyes I only see the white artboard, it’s like if the pantone are not assigned.
    After adding the shadows in Photoshop I need to import the file from Photoshop to InDesign and the final file need to be transparent because there's a backround at the bottom and a box of text in between the background and the illustration.
    I could place the bacground and the text in photoshop no problem for that...
    The questions are how do I import the 3D file from Illustrator, keep the pantone and add the Photoshop shadow?
    Hope anyone can help me as I'm going to press soon...
    Please feel free to ask me anything else if need to answer the questions.
    Many many thanks in advance if you can help me.
    ASTIK

    This first image is the file in ID with High Quality Display on
    This is with Overprint Preview and that what I aming for, roughly, for the final. [I'm not sure what is the purpose of overprint preview in ID].
    This is the 3 plates of Black and two pantones
    This is the plate of Black plate
    This is the Pantone 812 c plate
    and finally this is the Pantone 8201 c plate
    Hope this can help to get the best solution

  • Copy and Paste gradients from Indesign to Illustrator???

    Hello,
    for some reason when I copy and paste an object with a gradient from indesign to Illustrator, the object becomes colorless....What happened to the gradient? I can copy and paste a solid colored object from Indesign to illustrator (and for some reason then, when I copy and paste an object with a gradient from illustrator to Indesign, it acts like a "placed" image....what's that about????)
    Can anyone tell me the best way to transfer a gradient swatch from Indesign to Illustrator, without having to regreate it? And why when I paste objects from Illustrator to Indesign, Indesig treats it as a "placed" image (meaning that once you double click on it, the hand pops up allowing you to move within the bounding box, like with an image)
    Thanks...
    Thank you very much

    Hi Jacob,
    Thank you for a quick answer. Your suggestion is correct, but saving image to a file is an additional step.
    Since I do this task "thousands a day", this is unacceptable
    Any other suggestion?
    Regards,
    Jarda

  • Copy & Paste from Illustrator to InDesign CS4

    Hi,
    I am aware that there are issues when copying/pasting from Illustrator to InDesign, in particular:
    http://help.adobe.com/en_US/InDesign/6.0/WSa285fff53dea4f8617383751001ea8cb3f-6bdda.html
    I have the following problems:
    1- I copy and paste text from Illustrator to InDesign on the same platform and some (not all) of the text is converted to outline in InDesign. The same font is available to both applications. Why this behaviour?
    2- I copy and paste objects containing text from Illustrator to InDesign and some of the objects appear to have moved respective positions when pasted into InDesign. Is this to be expected?
    Are there solutions to these problems? Note that if I expand everything in Illustrator prior to copying and pasting into InDesign, none of these issues occur, but everything is obviously in outline form, with the limitations it entails.
    My clipboard settings are as indicated in the link above, but I have tried other settings with no more luck.
    (Important: Before pasting a graphic, make sure that Illustrator is configured to copy as AICB (see Illustrator Help). In InDesign, make sure that Prefer PDF When Pasting isn’t selected in the Clipboard Handling preferences. If these options aren’t set properly, the Illustrator graphic cannot be edited in InDesign.)
    It is not practical for me to create an Illustrator file for each of the Illustrator graphics and import those files via Place into InDesign. I must use Copy/Paste.
    I use CS4.
    Thanks.

    You can copy/paste from Illy to ID by selecting the text with the type tool in Illy and then pasting it into ID. You will not be able to maintain the formatting. If you want to maintain the appearance the text will be converted to outlines.
    If you need to get anything other than very simple objects from Illy to ID then you should save as AI and use the file > place command to place those objects as linked graphics into ID.
    Your closing statement is irrelevant. Whether you like it or not, this is the way it is.
    Bob

  • When placing a Illustrator file in Indesign, the Illustrator file sometime changes from 100%.

    When placing a Illustrator file in Indesign, the Illustrator file sometime changes from 100%. When you select the placed file with the selection tool, it says 100%, but if you select with the direction tool, file has been changed any where from 98 to 102 %, not staying at the 100%? why is this and how can you asure the size does not change when placed or when updating the illustrator link?

    Probably you have inserted files in a frame whose content was previously adequate with "Fit Content Proportionally" or "Fill Frame Proportionally".
    The new content in the same frame will have the same characteristics as the previous one

Maybe you are looking for

  • Why is FIOS TV not available in League City, TX?

    League City has had FIOS internet for years but no TV is in sight.  Customer service told me it was because there is no local franchise agreement, but that is handedled by the state and not our local city goverment.   Other verizon territories in Tex

  • ABAP Query Extracts

    hello experts ,                           i am using ABAP query (sq01) infoset ( logical database ).Is it possible to add extract feature in the abap query selection screen . if possible then how? thanks vivek

  • My apple Tv show greeny color when i connect it into a projector

    So i just discover this problem yesterday, i have an apple tv and imac. I use the same projectors and same cable, but the color output looks so bad (greeny color) when i connect it into my apple tv, but when i connect it to my i mac, the color is fla

  • VST Plug-ins in Itunes

    Is there a way to insert VST audio Plug-ins in itunes like the Equallizer

  • Using Struts for WML

    I just wanna know that what is the effective java technique that can be used for WAP especially WML..... How ll be struts, if used with WML for server side processing.......... What are the best alternatives? how popular is struts-wml tag lib? Edited