exporting to idml and PDF

Hello

I am trying to write a simple script to export a file in IDML and PDF and place these files in a folder called translations of SL.

I test it with just the version IDML which does not send me errors, but it is not save in the folder you specified.

var doc = app.activeDocument;

var file = file (' A:\Work in progress/Jake/SL translations / ');

doc.exportFile (ExportFormat.INDESIGN_MARKUP, record ());

Am I missing code here?

Thank you

I think that you need to file instead of the folder

folder var = new File ("A:\Work in progress/Jake/SL Translations / xx.idml");

doc.exportFile (ExportFormat.INDESIGN_MARKUP, file);

Tags: InDesign

Similar Questions

  • Is there a way to export / print to a pdf file which is flat? That is like printing on paper and a new analysis?

    Is it possible (if not, there should be MAOIs) export / print to a pdf file which is flat? That is like printing on paper and a new analysis? (I do not want to use this last)

    I could list 100 reasons why it would be useful to be able to do this, then please none of the usual "why would you do that?' or ' is not the right way... blah blah blah" which is too often here.

    If you are Windows on a machine, you can print the file to the Adobe PDF printer, thus creating a new copy of it.

    If you want to convert the entire file of images, then you can export it to the image files (PNG, for example) and then create a new PDF from that.

    If you want to flatten the dynamic objects (such as form, comments, links, etc.) then you can use a simple script to do.

    There are many ways, your request may be interpreted... If you provide information on what you are trying to achieve it will be easier to help you do.

  • I have a HP PC. I ordered export them to Adobe PDF format and whenever I try to convert a file, I find myself on the command screen?

    I have a HP PC. I ordered export them to Adobe PDF format and whenever I try to convert a file, I find myself on the command screen?

    Hi Judy Wooters,

    Please try to connect to "http://cloud.acrobat.com/exportpdf" using your Adobe ID credentials, and then try converting the file.

    Let me know if your problem still persists.

    Kind regards

    Ana Maria

  • I am a regular user of Adobe Story CC Plus (free Web Version), and since yesterday it is not allow me to export the document to PDF.

    I am a regular user of Adobe Story CC Plus (free Web Version), and since yesterday it is not allow me to export the document to PDF.

    I can't select the buttons to drop down, however there no file was created (I also check it for Excel)

    However is not working for her also, please think!

    Can you please try another browser, firefox for example? Is this the same?

  • I am trying to edit music digitized using Adobe Acrobat DC on a Lenovo tablet, Windows 7 operating system.  Adobe Acrobat DC rejects the analysis as unchangeable.  I export to a word document and re-export to AADC in pdf format.  It will then allow to cul

    Hello.  I'm currently editing digital music pdf using Adobe Acrobat DC on a Lenovo tablet with Windows 7 operating system.  Adobe Acrobat rejects the analysis as unchangeable.  I export the scanned pdf to MS Word and re-export to AADC in pdf format.  This can be cropped, but the edit function does not allow the movement of the measures (or 'skin measures text') within a team.  I am producing pages with 3 litters per page and 3 measures by staff who can be sufficiently enlarged to a blind musician.  My failure to change the measures so far means there is too much information by page and the page can be expanded properly. Advice please.  Thank you.  Charles.

    This is well beyond what Acrobat is intended - not just a little far, but a lot. PDF is therefore completely inappropriate for this.

    Address bits scan and cutting/organizing her before making a PDF. Maybe in Photoshop.

  • Export from InDesign to PDF and the PDF file last updated is greater than one month and not easily print on letter paper is PDF presets?

    Hello

    I export from InDesign to PDF page is larger in the PDF file, and others I exported. This is because of the present PDF? One of the project managers is not able to print on 8.5 "x 11", but the InDesign document presets are the same as before. I wish I could download PDFs to show, but the newly exported PDF is greater than the version I created a month ago. I created a PDF file and the newly updated PDF file is almost un.5 inch wider with the export presets even. Any thoughts?

    Sadira00123456789 wrote:

    One of the project managers is not able to print on 8.5 "x 11", but the InDesign document presets are the same as before.

    I suspect the project manager has his copy of Reader/Acrobat simply set to print full size, rather than "Worthy" (assuming that the size of InDesign pages is truly 8.5 x 11).

    .. the newly updated PDF file is almost un.5 inch wider with the same export presets.

    This has nothing to do with export presets. How did determine you this difference of half inch?

  • zone bounding and pdf export

    Hi all

    I use Illustrator CS4 and I have interest in the character bounding box when I export it to PDF. I use the tool crop box (also called plan of work, ToolShift + O) for setting up the bounding box handmade and then export the figure in pdf format. The problem is that I can observe false small white lines in the exported pdf file. It seems that the bounding box is not perfectly implemented. Are you aware of this problem? Is there a work around?

    Thank you

    I don't think that there is no problem in itself and did something wrong. Sounds like your bog standard antialiasing / overprinting of transparency of merger, if the items are not placed and shaped so that their pixelated out perfectly coincides with whole pixels over the usual questions with trapping, etc., that Acrobat will obey its own parameters and properties defined in your document of the AI-based and which becomes especially relevant if blending modes raster and partial opacity effects are involved. You need to look at these things more than anything else and find the right combination of settings...

    Mylenium

  • Layout in Arabic, Chinese and Russian. Export text from a PDF file

    I am exhibitor of long documents in Arabic, Chinese and Russian. The text was provided in PDF format when I copy and paste this in Indesign, it happens like question marks, boxes and other characters having nothing to do with the text I'm trying to layout.  I put the cast on the Arabic Myriad and Arabic dictionary still nothing that resembles Arabic or any other language. Same thing with the Chinese and Russian. Any suggestions on how to get the text from the PDF file where is the language. Appreciate help with this.  Thank you.

    Thanks for the caption, Ellis

    Thus, KK: you're in for a world of pain. The intials "WP" at the beginning of these policies means that the text is out of WordPerfect. Make presentations multilingual in WP, it was annoying, but possible. It was developed in the pre-Unicode world where every single method of complex script layout was a dirty hack. If you like dirty nerdy details, I can tell you how it worked, but that it is sufficient to say that attempt to harvest the non-latine-script text of: WP and it reuse for use in InDesign is just pure pain. WordPerfect-specific code pages were never really supported anywhere outside WP.

    That being said, I have a script around laying somewhere for the conversion of the WP-Cyrillic in Unicode. (In fact, I think it does Windows CP 1251, but that works as well.) But this is only one of the forty-five languages? And the Chinese has been pixelated? And PDF files were originally generated by Distiller 3? If you have no choice, it is time to leave. If you do not have the choice, I really hope that you charge hourly. My experience in this area (very large) is that it will cost three to five times more to extract the text as it would for a professional translation generate a new key of the text, and and then to have a second professional translation review text rekeyed looking for typos.

    Russian OCR is darn good these days, but Chinese OCR is random. I've never seen good Arabic OCR - doesn't mean it's not out there, but I couldn't help you find it.  But the chances that all 45 languages available reliable OCR, and the result of said OCRing will not have to be reviewed by someone who knows the language, are virtually nil.

  • When the export file .docx for .pdf on iMac functions (such as numbers, page references) are static text display - error?

    When I try to export a .docx in .pdf formatting is displayed based on the original field. Rather than show any number of page of the pdf shows "{PAGE}", for example.

    I work with Word to Office 365 on an iMac with OS X El Capitan.

    Any help? Why is it not possible to create a good ISO pdf / a file?

    OK, in my opinion, there is a setting in Word Printing Options. It will vary with the version of Word, here's an example https://support.microsoft.com/en-us/kb/326503

    Creation of PDF files will use a printing technology and can be affected by some of the same settings.

  • InDesign matter IDML and converts return soft-statements

    I'm generating IDML for import into InDesign.

    Returns (13 character, \r or \r\n) before writing the IDML convert all the soft return (character 10 or \n).

    When InDesign opens the IDML, history content hard-returns(\r or \r\n) are converted to soft-returns (\n).

    Why he did this, and how can I do InDesign keep returns?

    Space management IDML is weird to say the least.

    Use of the
    element to specify the paragraph break.

    To find out why it does not, the method the easiest is to export the text corrected from indesign as an IDML and review.

  • I tried exporting a PDF score in word format, but it seems incomplete. Is there any way to export the music score PDF to word correctly?

    I tried exporting a PDF score in word format, but it seems incomplete. Is there any way to export the music score PDF to word correctly?

    Very, very unlikely, unless you export each page in the form of a simple graph, slats, words and everything. You ask too much, especially given that Word is not a music creation application.

  • Hi, I use Apple Photos to create a photo book.  When I export to PDF, photos that are over 2 pages are exported as a single PDF page.  For printing purposes, I want this to export in the form of 2 separate pages.  I did it with iPhoto in

    Hi, I use Apple Photos to create a photo book.  When I export to PDF, photos that are over 2 pages are exported as a single PDF page.  For printing purposes, I want this to export in the form of 2 separate pages.  I did this with iPhoto in the past and this could be something to do with the preferences of Adobe.  I contracted Apple and their export seems thin e (or 2 separate pages). Any ideas?

    If you have not Acrobat is installed, then clearly, it's a matter of Apple having nothing to do with any "setting Adobe." There is nothing we can do at Adobe to help you. Sorry!

    -Dov

  • Captivate 8 - How to export or publish to PDF?

    Captivate 8 - How to export or publish to PDF?

    Ahhh, so you probably got hit with the new kid on the block. It is correct. We'll forgive you. We know how "cool" it is and all.

    Let me guess, in your editor, you have a colored on the top bar? And that would mean that you have created a new project of "responsiveness". (Insert here the Ahhhhh, sound swoooon)

    PDF output is not here for this type of project because it is intended for print on a web server for consumption on a variety of devices. If you want to publish in PDF format, you must use the type of demonstration/Simulation project. Sorry, there is no button or option to activate that goes "Poof" and now, it is converted to this type. You have to re-create the project.

    See you soon... Rick

  • Captivate 8: PDF export created a file with the extension PDF... but it's actually a video. Shouldn't it exported slides as appropriate PDF document?

    In Adobe Captivate, there is a 'PDF export' checkbox when you publish your project.

    He checked the box, and the publication of project created a file with the extension PDF... but it's actually a video. Shouldn't it exported slides as appropriate PDF document?

    No, it was published in an interactive PDF, has always been the case. It's another way to publish the video, that does not need to deploy it to an LMS or a Web server, you can send the PDF file. However, since Flash player is is more integrated in later versions of the Adobe Reader software, the user is to install it.

  • Optimize the creation of large INDB exported as an interactive PDF

    I'm running into some problems of speed when creating an InDesign book that is exported as an interactive PDF.  This process is be script using JSX and running on a server of InDesign CC.  I tried various combinations of settings for interactivePDFExportPreferences, and which none does not seem to make a difference.  I don't think that it takes as long InDesign to create the book itself, most of the time is spent by exporting it as an interactive PDF.

    Some background information, a PDF page 'unique' for each page of the publication has already been created.  Most pages also took - what I call a superposition of hyperlink - another created INDD file containing rectangles with hyperlinks.  Each 'page PDF' is then imported into a new INDD and if there is a corresponding "hyperlink overlay" then it is duplicated on the top of the "single page PDF", then the result is recorded as a new INDD. The result is then an INDD for each page in the publication that will be used in the creation of the InDesign book.

    Now that we have an InDesign doc for each page we create an INDB script and that will be exported as an interactive PDF.  Here comes my question.  Someone has suggestions to optimize the creation of a book of InDesing that is exported as an interactive PDF?  The PDF file takes a little over half an hour to create just for a 80 page publication.  Some of our publications are 300 + pages, so the time it takes to create this size of a book and export to PDF is unacceptable.

    I would also like to note that the interactive PDF file that has been exported from InDesign book will be used with 3D issue online.  Added hyperlinks - hence the need for the interactive PDF - link ads/announcements in our publication on the 3D issue to the respective pieces of the inventory on our Web sites.

    Another solution, I'm currently entertaining is thread creation of the InDesign book and splitting it up which would result in several small interactive PDF which then I would write something to combine them into a single PDF file.

    with ( app.interactivePDFExportPreferences )
    {
        exportLayers = false;
        exportReaderSpreads = false;
        flipPages = false;
        generateThumbnails = false;
        includeStructure = false;
        interactivePDFInteractiveElementsOption = InteractivePDFInteractiveElementsOptions.INCLUDE_ALL_MEDIA; //APPEARANCE_ONLY
        pageRange = PageRange.ALL_PAGES;
        pageTransitionOverride = PageTransitionOverrideOptions.NONE; //FROM_DOCUMENT;
        pdfJPEGQuality = PDFJPEGQualityOptions.HIGH;
        pdfMagnification = PdfMagnificationOptions.DEFAULT_VALUE;
        pdfPageLayout = PageLayoutOptions.SINGLE_PAGE_CONTINUOUS; //SINGLE_PAGE; //DEFAULT_VALUE;
        pdfRasterCompression = PDFRasterCompressionOptions.JPEG_COMPRESSION; //AUTOMATIC_COMPRESSION (same time using auto, but resulting file is 2x the size)
        rasterResolution = 192; // No time diff between 144 or 192 DPI but there was a noticeable quality diff
    }
    
    

    Post edited by: Wayne Ritchie fixed the formatting of my snip of code.

    Thanks for the reply.  I agree, the script itself is not the issue.  I was hoping that someone out there knew a small export/parameter preferably that would help me.  I know that the quality of some graphics or even PDF files would reduce the time it takes.  Reduce the quality of the graphics and the PDF output have been attempted.  However, 3D issue allows Zoom and when the output quality was reduced and a user zooms in it looks pretty bad.  Also, it doesn't give me enough compromise time/quality to justify reducing the quality.

    However, I have found another solution.  PDFsharp is a great open source solution.  Instead of creating all INDDs using InDesign, create an INDB and export to a PDF file.  I can now create PDF files in the first place and use .NET and the PDFsharp library to combine all of the PDF files in a single PDF file.  This is a lot faster and without any sacrifice of quality!  I wish I would have looked into this type of solution before you spend hours trying to find a way to optimize the creation of the INDB.

Maybe you are looking for

  • Satellite C50 - A - Logitech - serious silent subwoofer speaker system

    Hello I have a brand new Toshiba Satellite A - 19 t C50. I have a Logitech speaker system that produces a pleasant sound. When I plug it into the new laptop, the subwoofer doesn't produce a very quiet sound, leaving an overall metal sound. The speake

  • RAID 0 - size of the pagefile - MIPS - Overclocking - HD video Production

    01/06/10Hi HP.Last month I bought a refurbishedHP Pavilion Elite m9650fProduct # NJO62AAR #ABAS/N [text removed for privacy]Intel Core i7 920 Quad Core 2.66 GHz CPUPegatron, IPMTB-TK, Truckee (HP) - UL8E, MB6 GB (2 GB x 3 sticks), RAM PC3-8500, DDR3,

  • Cannot start up satellite M40 136

    Hello I have a Satellite M40 136 2.5 years old. I used it yesterday and then closed the lid then it shut down as usual. About half an hour later, I realized that I had to check a file so I opened the lid and normally he would back automatically, but

  • NX 7300: type of memory RAM and size hp nx7300

    Hi friends, I would upgrade the RAM for my hp nx7300 processor Intel Celeron M and would like to know if possible what memory is compatible and the amount memory max size slot and comprehensive. Thank you very much! Davide Italy

  • F9H60UA #ABA: what "product range" and the model are my hp laptop?

    Hello Sell my HP like new on eBay, I tragically lack the original box or any documentation. I don't know how to fill out some fields on the eBay site: 1 range. As far as I know it's a HP 15 laptop. Is - this accurate enough? How could I know if it is