Pipe xmp data into indesign document

Hi there!
My situation is: My InDes plugin calls a server-script which returns XMP-Data as text format.
What I want to do is: To append the XMP-Data without any local file operations to the XMP section of my InDes. document.
My problem is: Class MetadataPreference only provides a append method, which needs a local XMP file as an object.
Is there any way to wrap the text data, which comes from the server, into a file object? The only way, as I understand it, is to get the data from the server as a file and use this one with the append method.
Would be very nice if anyone has a good idea to get this working without local file operations.
Thanks in advance

This question might get more traction in the InDesign scripting forums. In general, if you can do it with ExtendScript, you should be able to do it with ActionScript. Also, you might want to look into the InDesign Host Adapters which allows you to get the XMP from a document, here's a recent question on the topic: http://forums.adobe.com/message/4008254.
Does that help any?

Similar Messages

  • Have framemaker files generated on mac in 2000 want to incorporate data into indesign cs 6 for pc?

    Have framemaker files generated on mac in 2000 want to incorporate data into indesign cs 6 for pc?

    They're Apple HDV, not ProRes. QuickTime Player on Windows does not have a decoding component for these files--and as a side note, you don't need to install the ProRes decoder since that has been built into QuickTime Player for some time now.
    Anyway, you can get a third-party decoder for these files: Calibrated{Q} XD Decode. Note that Apple changed something in QuickTime 7.7 and the Apple HDV clips will not work with it; you'll need to roll back to no later than 7.6.9 to use the component properly. You can get that version here: Old Version of QuickTime Player 7.6.9 Download - OldApps.com.
    I have a method of converting these to a format that can be natively handled in Premiere Pro, but it's not really suited for large quantities of files like yours. Calibrated XD Decode isn't exactly cheap ($130 on sale right now), but it will get you up and running with minimal effort--that's probably worth the admission price.

  • Modify XMP data of a document

    Hi!
    I want to store some information in the metadata of the document. This storage event takes place at a button click event on my UI. The user can click the button N number of times, and the storage will take place N times too (depending on whether the information has not already been stored). I found many examples on the internet pertaining to this, for eg., XMP-Toolkit-SDK, and XMPCore libraries for Action Script. But, I found that both these methods required that the document be saved to disk at the time of managing the XMP data. This has become a hurdle to my plugin, as it is not mandatory that when user clicks the button on the UI, the document is saved.
    Please guide, as to what should be the correct way to go about this.
    Thanks!

    Hi,
    We have an updated version of the InDesign Host Adapter library available for download:
    http://cssdk.host.adobe.com/sdk/1.5/patch/id_hostadapter_mac.zip
    In terms of examples, please look at the AssetFragger CS extension example which shows adding/modifying XMP metadata using XMP Namespace Designer and InDesign Host Adapter library.  This extension is available in CS Extension Builder under File > Import > CS Extension Builder > Samples.  For further information, please refer to http://www.adobe.com/devnet/creativesuite/samples.html
    Kind regards,
    Lea
    From: Adobe Forums <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Sat, 5 Nov 2011 19:45:40 +0000
    To: lab user <[email protected]<mailto:[email protected]>>
    Subject: IDHostAdapter.getInstance().getXMPString(doc); returns null
    Re: IDHostAdapter.getInstance().getXMPString(doc); returns null
    created by Harbs.<http://forums.adobe.com/people/Harbs.> in Creative Suite Extension Builder - View the full discussion<http://forums.adobe.com/message/4009511#4009511

  • Script for replacing Image from a frame into InDesign document file

    Hi All,
    I am having an indesign document (indd) file with images and texts. I am using InDesign Server CS4 to run the scripts via SOAP.
    My requirement is to replace any of the images from the required frame/s of indesign document through scripting (I already have frame id of which image needs to be replaced). I have written written java-script file (as given below): but when I execute this java-script on InDesign Server via SOAP, I get follwoing error into InDesign Server:
    10/03/09 15:15:54 INFO  [javascript] Executing File: \\Server_IP_Address\JavaScript_File_Path\JavaScript_File.js
    10/03/09 15:16:01 ERROR [link manager] Link missing.; file:C:/help.gif
    10/03/09 15:16:01 ERROR [link manager] Link missing.; file:C:/Documents%20and%20Settings/All%20Users/Documents/My%20Pictures/Sample%20Pictures/ Water%20lilies.jpg
    10/03/09 15:16:01 ERROR [link manager] Link missing.; file:C:/Documents%20and%20Settings/All%20Users/Documents/My%20Pictures/Sample%20Pictures/ Winter.jpg
    Following is the java-script that is being used for replacing image from indd's frame:
    var myDocument = app.open(File('//Server_IP_Address/InDesignDocument_File_Path/Sample.indd'));
    var tmp_frmid="1339"; //frame id of which image needs to be replaced.
    for (var i=0;i<myDocument.pages.length;i++)
    var objPage=myDocument.pages.item(i);
    var objPageitems = objPage.pageItems;
    try
    var obj = objPageitems.itemByID(tmp_frmid);
    obj.images[0].remove;
    obj.appliedObjectStyle = null;
    var myImage=obj.place(File('//Server_IP_Address/Images_to_be_reolaced_Path/ImageFile.jpg'));
    var old_height = myImage.geometricBounds[2] - myImage.geometricBounds[0];
    var new_height = obj.geometricBounds[2] - obj.geometricBounds[0];
    var old_width = myImage.geometricBounds[3] - myImage.geometricBounds[1];
    var new_width = obj.geometricBounds[1] + ((new_height / old_height) * old_width);
    myImage.geometricBounds = [obj.geometricBounds[0] + "mm", obj.geometricBounds[1] + "mm", obj.geometricBounds[2] + "mm", new_width + "mm"];
    var diff = obj.geometricBounds[1] - myImage.geometricBounds[1];
    myImage.move( undefined, [diff,0] );
    break;
    catch(e)
    myDocument.save('//Server_IP_Address/InDesignDocument_File_Path/Sample.indd');
    var previewFile = File('//Server_IP_Address/Images_to_be_reolaced_Path/ImageFile.jpg');
    app.jpegExportPreferences.jpegQuality["JPEGOptionsQuality.low"];
    app.documents.item(0).exportFile(ExportFormat.jpg, previewFile);
    myDocument.close();
    I have very urgent requirement; if anyone have any idea; please suggest me. \
    It would be highly appreciable.
    Kind Regards,
    Prashant.

    http://www.automatication.com/selection-to-pdf-script.html
    Harbs
    http://www.in-tools.com

  • Inserting QR Codes into InDesign document ??

    Anyone know about inserting QR codes (those bar codes that are all over magazines these days) into InDesign?
    Someone I know is going to get me a QR code for a magazine advertisement  I'm creating. What is the standard format for this image I should get  to place into InDesign?
    Also, can I scale the image in InDesign? Or will that mess up the functionality of the QR code?
    (I'm delivering the whole InDesign file as a PDF to the publication.)
    Thanks in advance for any info!

    The standard for QR codes comes from Denso Wave (Toyota), the creator of the QR standard.
    From the Denso standard on their site:
    The size of QR Code depends on a module size and a symbol version. The module refers to the black and white dots that make up the QR Code. The symbol version determines the data capacity.
    The area of a Version 1 QR Code is made up of 21 modules per side. Each higher version number is made up of 4 additional modules. The highest version number is Version 40.
    For example, a Version 2 QR Code would be composed of a 25 by 25 module matrix. If the module size is 0.5 mm (19.7 mils) square, the size of QR Code will be 12.5 mm (0.5") square. (QR Code requires a four module wide quiet zone around the symbol.)
    Other than that, your size should be tested after output with something other than the latest smartphone, because a greater portion of people are using older technology that cannot focus very close. I've found that a QR code of .875" x .875" to be ideal for a basic URL without URL shortening, using a chunk of plastic trash called a blackberry. If your URL is superlong, your results mar vary.
    The iPhone 4 however, can scan a QR code 1 molecule x 1 molecule wide, if your audience is demographically hip enough to own one, by all means go for that.
    /snarkyfanboicomplete
    p.s. there are plenty of sites that will export you a nice clean vector EPS, so requesting a tif and converting it to a bitmap, while super fun, can be avoided by eps goodness.

  • Insert Date into Indesign CS3 template

    I had a script that worked great in CS2 but when I upgraded to CS3 it doesn't work. I posted on here to find the problem with no help so I"m starting from scratch.
    Its it possible to insert the date into a template with a script in CS3
    Example: SUNDAY, August 24, 2008

    Here the script is again... Don't know what to say? it works in CS2
    //DESCRIPTION: Use to insert date/time into document.
    if (app.documents.length == 0) { exit() }
    insertDTs(app.documents[0]);
    function insertDTs(aDoc) {
    var curPrefs = aDoc.characterStyles[0].extractLabel("dtprefs");
    if (curPrefs == "") {
    // Doc has no prefs; use saved prefs
    curPrefs = getCurPrefs(File(getScriptPath().absoluteURI.replace(/Insert\.jsx/, "Prefs.txt")));
    } // end if curPrefs
    var prefParts = curPrefs.split("\n");
    if (prefParts[2] != "[None]") {
    insertIt(aDoc, prefParts[0], prefParts[2]);
    if (prefParts[3] != "[None]") {
    insertIt(aDoc, prefParts[1], prefParts[3]);
    function insertIt(aDoc, formString, cStyleName) {
    var formStrings= ["Day, Month, Year"]
    var theFuncs = [dayMonthYear]
    var charStyleStrings = aDoc.characterStyles.everyItem().name
    if (indexOf(charStyleStrings, cStyleName) < 1) { return } // style not found or is No Style
    var func = indexOf(formStrings, formString);
    if (func < 0) { return } // requested form not recognized
    var dateString = theFuncs[func](new Date());
    app.findPreferences = app.changePreferences = null;
    aDoc.search("", true, true, dateString, {appliedCharacterStyle:cStyleName});
    } // end insertIt
    function dayMonthYear(date) {
    date.setDate(date.getDate()+1);
    // returns dayName, monthName date, year
    var myDateString = date.toLocaleDateString();
    myParts = myDateString.split(" 0");
    if (myParts.length != 1) {
    myDateString = myParts[0] + " " +myParts[1];
    return myDateString.slice(0,-5) + "," + myDateString.slice(-5);
    function indexOf(array, find,offs) {
    for( var i = offs == undefined ? 0 : offs; array.length > i; i++ ) {
    if( array[i]==find ) {return i}
    return -1;
    function getScriptPath() {
    // This function returns the path to the active script, even when running ESTK
    try {
    return app.activeScript;
    } catch(e) {
    return File(e.fileName);
    } // end try
    } // end getScriptPath
    } // end insertDTs

  • Clipping Mask for placement into InDesign document

    I have a drawing in Illustrator CS3.
    I need to "place" certain sections of this drawing into an InDesign CS3 document using the File--->Place command.  These sections will need a 1 pt black border when they get "placed" into InDesign.
    Pretty sure Clipping Masks are the answer but I've never used them.  Can someone tell me how to do this?  Do I need to create new files from the Clipping Masks to pull this off?

    multiple Clipping Masks on the same drawing
    This would entail making a compound clipping mask with many "windows". You will need to give the mask a stroke afterwards
    Just save your Illie file with pdf compatability an place it into InDesign in the usual way (Cmd+D).
    Like this:
    Left to right: Artwork, rectangles (compounded together), select both, Cmd+7 and add stroke

  • SMG file (Solidworks Composer) into Indesign Document

    Hello,
    I am trying to figure out how to embed an SMG file into Indesign. I just took a Composer course, and we did it through Microsoft Word very easily through the developer tab and adding a Composer ActiveX contol. This then grabs the entire Composer file, animations and all, and placed it into the Word document, shown below:
    My company currently uses Indesign for production guidebooks that show our production staff how to assemble parts on the floor. We are looking at going digital in the near future with these guides, and interactivity would be extremely useful. I have found this forum (Using SolidWorks Composer & InDesign? | SOLIDWORKS Forums) regarding a similar situation, but other than that I am at a loss after hours of trying. Composer has output options to HTML, but I can't seem to get that to embed either.
    Please let me know if you need any more information. Please help!
    -Becky

    There is no 3D model format that will import directly into Indesign with the expectation of full interactivity. If you choose PDF as a format to distribute manual, then you can import U3D format into Acrobat to have a fully interactive model within the manual. But the 3D model won't go through Indesign. One note, Solidworks can export U3D format. If you choose other formats for the electronic manual, you could have some levels of interactivity with the model. You could rotate the view in SW, export into a image format, create as many views as necessary, then import images into Indesign using Folio Overlays or Object States to accomplish interactive aspect.

  • Integrating Screenshots into Indesign documents

    Hi,I'm an fairly inexperienced indesign user,I'm trying to develop pdfs/e-books which will contain quite a few screenshots unfortunately when placing screenshot images into my documents I lose a lot of resolution and my screenshots end up looking rubbish,I've tried a number of approaches including the following
    checking resolution is 300 ppi in photoshop and resizing accordingly
    placingimages as .png, .pdf(browser screen capture)
    set display to high quality (indesign prefs)
    ifanyone has any advice as to what I'm doing incorrectly or could point me at a good resource I'd be delighted
    Thanks
    Carl

    say I have  to resize
    There's no problem with resizing, which is what happens when you scale a capture in ID. It's resampling up or down (adding or subtracting pixels) that degrades a capture. The only instance where ID resamples is on export.
    You can't get around the screen display quaility of captures. You might be careful to never allow resampling anywhere in the workflow, but when the captures are exported to PDF the appearance will be affected by the reader's magnification setting as the page is scaled up or down.

  • Problems reading xmp data into dng files

    Hi there,
    I am working on a Mac and have exported files as lossy dng for colour correction externally. They have done the work for LR 5 process (I am using CC) and returned xml files. I cannot seem to read this data into the dng files for further editing in Lightroom. I have tried re-importing them and I have tried reading metadata from file. Any help would be appreciated as I usually simply read the xmp to the original RAW but the RAW files are currently on an external drive in another country!!!
    Thanks,
    Andy

    Moominman wrote:
    I am basically trying to export xmp files from a set of low resolution dng files so that I can access my Lightroom edits in the RAW files. I have separated the RAW and dng files in different folders
    Hi Andy,
    I dunno how best to get extracted xmp files into the raw folders, but if you are comfortable with exiftool, you can use it to extract xmp sidecars from DNG files.
    If you want a turn-key solution which does not required you to futz with exiftool, then consider a free plugin I wrote:
    robcole.com - xEmP
    It will allow you to create xmp sidecars with all your DNG adjustments and metadata (which can then be applied to the non-dng raw files).
    However, if you won't need the DNGs in your catalog afterward, then the easiest way is to convert them back to proprietary raw format using this plugin (also free, and I wrote it):
    robcole.com - UnDNG
    Conceptually, you can think of it as converting the DNGs to proprietary raw format, but note: it doesn't convert anything, it just allows existing raw files that are NOT in the catalog, to replace the DNGs that are in the catalog. All adjustments and metadata and everything else will be preserved (just like when you convert a proprietary raw to DNG format).
    Rob

  • Excel file into InDesign document

    I am planning on making our price list in InDesign so I easily can make it "nicer" than in Excel.
    Today we have it all in an Excel file but how do I go about putting this info in InDesign? I want the Excel file to be the "origin", if I need to change the prices etc, I want to make them in the Excel file and then relink it to InDesign - if that's possible, that is...
    I want it in A5 format, should the Excel file also be made in A5 then?
    Today the price list is in one Excel Book and then separated into different pages (if that is the correct word for it, I have Excel in Swedish!). Is that OK or should I just make one long list with all the products.
    I tried making an InDesign doc in size A5 and then an Excel file in the size of A5. But when importing the Excel file into InDesign it looked really weird! Numbers came as red dots and all the info didn't fit.
    What did I do wrong!?
    I'd appreciate all the help I could get! Maybe you know how to do this or where I can read more about it. I'm not that good at InDesign, still consider myself as a beginner...
    Thanks!

    Emma,
    Have you gotten any further with your question? I am in the process of updating our pricing information and I am laying our pricers out in InDesign so that I can make them look "nicer" also. I have been doing research on linking Excel files to InDesign and it has come in very handy. There are some issues I have run into, however, which were mentioned in some of the other responses you have gotten.
    First of all, your Excel info isn't coming in correctly because of formatting issues. When you place and link an Excel file, you can indicate what sheet you want to place and even a named range or cell range of that sheet. You can also indicate in that options window whether you want it to be placed as an unformatted table, formatted table or unformatted tabbed text. You will want to choose formatted or unformatted table depending on how you want your InDesign file to look. You can do all of the formatting for your table in Excel and place it as a formatted table, which works o.k., but you will have to deal with a couple of adjustments after you place the file. Your text probably won't show up because of the default settings for the indents of the cells in a table in InDesign. All you have to do for that is double click in your text box and select the whole table. Then you can right click or go to the Table menu and choose Cell Options. Set the Top and Bottom Cell Insets to 0, I usually set my vertical justification to center while I am at it. You could also adjust the row heights to make the text fit.
    A wonderful tool to use is a plug in for InDesign by Teacup called TableStyles and CellStyles. I recently discovered this and have started trying to work with it. I came across it by looking around online for information and discussions much like this one. I discovered that we already had this plugin in our program files, but it was not in the correct spot to be able to use the function when I was in InDesign. I had to move the plugins from a Teacup folder within my PlugIns folder. They need to be in the PlugIns folder under Tables.
    At any rate, I know I am on the right path, but I am running into a few snags that I haven't been able to find any information on yet. It is best to place the Excel files as unformatted tables when you plan to use the TableStyles and CellStyles to do your formatting, but I have found that it seems as though linking to separate sheets and ranges becomes an issue when you want to update a link. It doesn't keep the sheet and range information you indicated when you first placed the file....? Haven't dug up any information on that yet.
    I hope at least some of this is helpful, sorry for rambling on, I just was going through the same thing and wish I had found out about these plugins, etc. sooner. :)

  • Loading photos and data into InDesign

    Hello
    I have an Excel file containing the file location, title, description and the date the photograph was taken for about 200 photos.  I need to be able to load the image and relevant data (i.e one photo per A4 page) automatically for each image.
    What i want to end up with is a document containing 1 photo and the relevant file title and description per page, therefore 200 pages.
    Can anyone tell me the best way of doing this.  I have tried Google but can not find anything relevant.
    Thanks

    @ingalla – if you want to use Data Merge see the following blog post at Indesignsecrets and the script by Loic Aigon:
    http://indesignsecrets.com/using-data-merge-to-create-a-table-for-a-directory.php
    http://www.scriptopedia.org/en/js-indesign/126-csvtotable-en.html
    Uwe

  • Write XMP Data into Adobe Illustrator

    Hallo Forum, an XMP question.
    I generate a String-Chain of words in an EXCEL VBA MACRO
    At the moment I copy paste them on the Keyword field because I'm not able to write them automatic in the keyword field.
    Somebody know's how I can transfer via VBA from EXCEL this Strings to Illustrator ?
    Thank you

    Unfortunately I'm on windows. What I was looking for is adding timecode xmp start code to *.mov files from Canon 7d or 5d so I have timecode to use throughout Premiere which would make my editing much easier as we shoot approximately 100 video clips in the wedding ceremony and need to edit that in multicam w/ 2 other cameras running the entire time.
    I did some more research and was able to add this metadata using xmp to the MOV files however unfortunately premiere completely ignores this data. Seems like premiere only accepts using timecode data for DV or MXF files and no others (tested CS5 and CS5.5). What a shame! It seems like this should be much easier thing to do. I know it's pretty easy using FCP and if Adobe is really trying to lure away FCP users, they should get something this basic running smoothly.

  • Importing excel date into InDesign

    Ok so I have a load of names badges to do, name (in blue and bold 18 pt), job title (12 point bold, black) then company (10 point regular).
    Now I am currently copy and pasting the text in and using character styles to get it in the right format, but this is taking me a long time. I know there must be a way where I have maybe three text boxes set and it pastes in and automatically does the styles for me,
    Can anyone help?
    Many Thanks,
    Dave

    Read about Data Merge in the help files.
    This might also be a way to handle the page numbering, but probably not the best. More in your other thread after I read what Eugene had to say.

  • How to embed data into an InDesign Document

    Hello everybody,
    I'm porting a QuarkXTension to InDesign CS3 on PC but, maybe, I've found a showstopper...
    The current xtension writes some collected data into a document slug that is retrieved by an external application simply scanning the content of the file.
    I need to maintain the same way with InDesign but I've discovered that the persistent data added to a document workspace doesn't stay all together when is more than few KBytes (everything seems to be ok until 2 KBytes but that's too little) inside the InDesign document but is scattered on many locations. Of course this makes the work of the external application impossible.
    Is there any way to command/force inDesign to write the persistent data insidde the file in one single chunk?
    I understand this is something unusual but that's the way that complex publishing workflow works and can't be changed in that part.
    Thanks a lot in advance for any help.
    Best regards,
    Luca Severini

    I think I have found a possible solution to embed my data in a way readable by an external application. To use the XMP toolkit.
    Very interesting the fact XMP Toolkit includes the source of a simple command line tool that parses the xmp embedded into InDesign file.
    The same source can be easily modified to get all the objects contained in the document aka database.
    Bye
    Luca

Maybe you are looking for

  • I need help in frequency readings‏

    Hi, goodafternoon, By using the attached file i wanted to read the frequency of the signal " the signal is pulses" i have done it and record the reading in excel files  if u check the excel files u will find high values but on the oscilloscope the va

  • How many characters in users subscriptions of Interactive Report

    Hi, Can someone please help me in Apex 4.1. I would like to know how many characters can I enter in users subscriptions (email address) of Interactive Report and where data are stored. Thanks,

  • Change text "link" color only in Spry Tab content area

    I need to have multiple text link colors in my site for light and dark background colors. The only regions in my site that have a white background are in the Spry Tab Panel content area. I can't figure out how to change the text color for text links

  • How do I play video from my netgear mystora NAS drive?

    Hi, Please help. I was wondering if it is possible to play video stored on my Netgear Mystora NAS drive through my ipad?

  • Serious Finder Issues

    I have been having continued problems with my Finder that are beyond anything I've experienced. I have already re-installed the OS and they continue to get worse. Here is what happening: - Application databases are becoming corrupt. For example, the