Change permission file pdf in script jsx indesign cs6

change permission file pdf in script jsx indesign cs6

What exactly is the question? If you are looking for help with a script, please post in InDesign Scripting

Similar Messages

  • Why won't Acrobat X Pro honor the margin (art box) from PDF's exported from InDesign CS6?

    Why won't Acrobat X Pro honor the margin (art box) from PDF's exported from InDesign CS6?
    When I export a PDF from InDesign CS6 with specific margins, Acrobat does not recognize the Art box. (I have PitStop Pro 11 for page box view)

    Thanks Steve,
    We are exporting PDF's as you indicate. I see the same thing. The boxes are all the size of the original InDesign document. The PDF art box should be predicated by the margins in InDesign. When we had CS3, this worked great. Now, it seems that there is a disconnect between the two Adobe products honoring the page box size. I have contacted the Adobe techs via chat, and they had no clue what I was referring to. I find it mystifying that Acrobat can not interpret the art box set in InDesign as margins.

  • How to change permission file

    i have an old file in my website lhokseumawe dalam angka for year 2004, 2005 and more
    you can check it here: http://www.bappedalhokseumawe.web.id/lhokseumawe-dalam-angka
    but i lost the original one because the person making the file is not there or retire.
    how do i change permission for copy, print,etc
    please help me, because this is important file for the local goverment in my place
    thanks

    sorry for not clear question, what i mean is Document restriction summary
    Printing                                              : Allowed
    Document Assembly                          : Not Allowed
    Content  Copying                               :Not Allowed
    Content  Copying for accessibilty       : Allowed
    etc
    how do i change permission to be allowed or not ?

  • How to create interactive pdf for Ipad using InDesign CS6

    Hi I created a Magazine layout using InDesign CS6 and wanted it to be viewed on native Ipad reader (but not as apps).  I put interactivity features like page navigations and hyperlinks and converted it to interactive pdf. The problem was the links and buttons are not showing on Ipad.
    I tried using Acrobat Pro to create the hyperlinks and this time the navigations and hyperlinks are showing. But is there a way not to create the hyperlinks manually one by one (specially the next page and previous page). If I have more than 100 pages of documents this process will be very tedious.
    Is there a solution to create the interactive pdf directly from InDesign without creating the links in Acrobat?

    Hi Guys
    This is Sean Smith.  Marilou who wrote the original post works for me.  Bob if you could point us in the direction of details you need I’ll ensure we provide the additional information as soon as possible.
    M tells me she pretty much doing exactly what Steve's article suggests.
    The concern is what a remarkably cumbersome process this appears to be.
    Even though I believe her explanation entirely I find the problem to be highly disconcerting as it’s wasting an immense amount of valuable time and inhibiting the production process significantly.
    She is producing wonderful results but via an immensely painstaking process fraught with potential for error.  Each page link has to be manually linked to the next by number.  It’s entirely possible to make a mistake and link to the incorrect page thus missing pages.
    If she inserts a new page – guess what? All the pages links have to changed manually and double checked yet again.
    If she makes a ‘Contents’ section as we do and exports the InDesign file as an interactive PDF all the contents items and links are missing and are therefore blank.
    She then has to export the document as a plain PDF and do the job again in Acrobat.
    For an extravagantly wealthy company with such extraordinarily expensive software I find this to be entirely incredulous.
    Who is the Product Manager for InDesign?
    Are they aware of this issue?
    What are they doing about it and when will it be done?
    Just curious are you guys paid employees or volunteers as this appears to be an official forum and we are new here?
    Digital publishing of PDF magazines appears to be an explosive growth market especially for platforms such as the iPad but this primary product for the task appears to be inadequate or ill-conceived.
    Is DPS a possible solution or is this more for Apps than PDF production?
    Regards
    Sean

  • Can't show special characters (ÆØÅ) in pdf fields created with inDesign CS6

    Hi Guys im having a problem with special characters in pdf's form fields created in inDesign CS6
    instead of the character ÆØÅ it creates squares or some other seemingly random character
    Here's the pdf

    I figured it out
    Just in case people had the same problem here is how it's done: (i misunderstood the two posters above me, so you are actually going to change fonts within acrobat, like they said, and save it)
    Open the pdf in acrobat, go and change font settings for each of your fields and change the font under the "Appearance" tab.

  • Plz help how to do pdf slide show from Indesign CS6 CC application

    Hi, how to apply to PDF page slide shows, export from Adobe Indesign CS6 CC

    Thanks Adrian, it worked! 
    File>export> save as: IDML.
    This issue happened to me while exporting to PDF, too. but after saving as IDML, the elements were misplaced! i had to rework them. but at least i didnt loose everything. anybody got a better solution to that? note: always keep an IDML backup of your Indesign files.
    this forum is life savin!

  • Incorrect images from .indb file export to ePub in Indesign CS6

    I am having problems exporting images to ePub and get a different result from the same file depending on whether I export directly from the .indd file or from the .indb file.
    When I export to ePub from the individual chapter (.indd) file, everything is fine and the images appear in the correct locations where they have been anchored.
    When I export via the book  (.indb) file, images are being replaced with the incorrect file in the resulting ePub.
    Looking at the HTML, it seems not all images are being exported from the .indb file and when the image is missing, Indesign is substituting the next available image from the alphabetical list in the images folder so I'm getting incorrect images peppered throughout the book.
    Any idea where I've gone wrong and how to fix it? I've produced several ePubs with images and never come across this before.
    More details on how I've set up the files and any other info I think might be relevant below if needed.
    - I'm using Indesign CS6 (8.0.1)
    - I'm producing an 11 chapter book.
    - Each chapter is a separate .indd file for ease of editing.
    - These 11 files have been added to an .indb file for export to ePub.
    - Images are all anchored to their captions within the text.
    - On Export to ePub settings for images I have selected to insert a page break before the image and that settings apply to anchopred objects.
    Nothing else is selected (I don't want to preserve appearance from layout.)
    - I'm using the Articles panel feature for order of content.
    - In the original file supplied, the images were placed as .tiff images. I saved them to jpeg and relinked them using the "relink to folder" and "match same file but this extension" options.
    - No links are flagged as missing.
    Any help much appreciated.

    The solution points to how, it appears, the book panel export is functioning: each file exports a set of tags referenced to itself; file01 adds a "1" to its tags, and so forth. What I was able to do was use a file referencing all of the tags in the style suite in two ways:
    first, I exported to an epub the single file, creating a fairly clean CSS, which I then extracted and renamed;
    then, making certain that file was the "source" file in the book panel, I mapped for export all of the tags, being careful to be certain each tag/class combo was same as in renamed clean CSS;
    I synchronized the whole shebang;
    I exported to epub, adding my clean CSS as an external style sheet, selecting only "include embeddable fonts".
    Bingo!

  • Script for InDesign CS6 - create multiple, prenamed layers

    I created a script for Illustrator CS6, in ExtendScript Toolkit, that will create multiple, prenamed layers...see below...
    //Apply to myDoc the active document
    var layerName = LayerOrderType;
    var myDoc = app.activeDocument;
    //define first character and how many layers do you need
    var layerName
    var numberOfLayers=0;
    //Create the layers
    for(var i=0; i<=numberOfLayers; i++)
    { var layerName = ":: GRADIENT";  var myLayer = myDoc.layers.add(); myLayer.name = layerName;  }
    { var layerName = ":: STRIPES";  var myLayer = myDoc.layers.add(); myLayer.name = layerName;  }
    { var layerName = ":: LEGAL";  var myLayer = myDoc.layers.add(); myLayer.name = layerName;  }
    { var layerName = ":: BLK BAR";  var myLayer = myDoc.layers.add(); myLayer.name = layerName;  }
    { var layerName = ":: FLAME";  var myLayer = myDoc.layers.add(); myLayer.name = layerName;  }
    { var layerName = ":: LOGO/TYPE";  var myLayer = myDoc.layers.add(); myLayer.name = layerName;  }
    { var layerName = ":: TRIM,ETC";  var myLayer = myDoc.layers.add(); myLayer.name = layerName;  }
    { var layerName = ":: LOEC INFO";  var myLayer = myDoc.layers.add(); myLayer.name = layerName;  }
    // Moves the bottom layer to become the topmost layer
    if (documents.length > 0) {
    countOfLayers = activeDocument.layers.length;
    if (countOfLayers > 1) {
    bottomLayer = activeDocument.layers[countOfLayers-1];
    bottomLayer.zOrder(ZOrderMethod.BRINGTOFRONT);
    else {
    alert("The active document only has only 1 layer")
    I tried to use this exact code to replicate the same scenario in InDesign but it doesn't work.
    Can anybody help me out!?
    Thanks in advance

    Marijan Tompa's scripts are very nice and useful, however, for this simple task you can try create your own wiht this code:
    app.activeDocument.layers.add ({name: "GRADIENT", layerColor: UIColors.red});
    app.activeDocument.layers.add ({name: "STRIPES", layerColor: UIColors.lightBlue});
    app.activeDocument.layers.add ({name: "LEGAL", layerColor: UIColors.gray});
    //merge existing document layer to bottom layer (in this case original layer will be merged to 'GRADIENT')
    var myDocument = app.documents.item(0);
    var myLayerA = myDocument.layers.item(2);
              var myLayerB = myDocument.layers.item(3);
              myLayerA.merge(myLayerB);
    alert("Layers created!");
    assume, your document has one layer.
    Script creates three new layers, they appear in Scripts palette in this order:
    LEGAL
    STRIPES
    GRADIENT
    and merges 'old' layer to bottom layer of newly created set (GRADIENT).
    sure, you can add as much layers as you need, just don't forget modify LayerA and LayerB numbers accordingly.
    Or disable second part of the script at all, if you don't want anything to be merged.

  • I'm hoping someone can kindly help with me with an error message that is causing PDF file generation failure when using InDesign CS6 for Windows and Acrobat Distiller 8.0

    <PDFX ISO="15930-1:2001" COMPLIANT="true">
    PDF/X Compliance Report
    1.  Summary
       Warnings: The total found in this document was 0.
       Violations: The total found in this document was 0.
       No problems were found in the document.
       This document passes PDF/X-1a:2001 compliance checks.
    </PDFX>

    @Jack – this is no error message, just a log, that all was running ok.
    See detailed answer here:
    Re: I am getting some errors while distilling the post script file.
    Uwe

  • Placed .png files in look blurry in InDesign CS6 & output PDF

    I'm brand new to InDesign...just learned it yesterday. I'm using CS6. However, I think I'm following best practices as I've watched many instructional videos and have a folder of images I'm using in the document which I place in the document using "File" -> "Place." I've both put them into frames that already exist (and used "Object" -> "Fitting" and often "Fit frame proportionally" but also other commands) as well as without a frame where I drag a window the size I'd like the file to be after I've loaded up my cursor using "File" -> "Place."
    I'm at a loss as my files are 72 DPI and 144 DPI (I'm on a Mac and have checked them out both in Photoshop and using "Tools" -> "Inspector" in Preview) and I have NO idea why they look so terrible in both InDesign and my output pdf! I'm attaching both the files I'm placing and screenshots of what they look like in the output .PDF.
    Thanks SO MUCH for any help anyone can give me--I'm working on an urgent project and must figure this out!

    This info was quite helpful--thanks everyone!
    First of all, I'm not entirely sure I chose the right tool for this job, and advice on this would be welcome. I wanted a document of portfolio pages formatted sort of like a book, so I thought it would be better to use InDesign rather than something like Photoshop or Illustrator (I've learned these tools in the last year but haven't really used them to create documents). My primary goal, however, was to present this information both from my computer and on my website, and a secondary goal was for it to be able to print nicely. So I thought InDesign was the right choice. (I read this article from 2010: Adobe Photoshop vs. Illustrator vs. Indesign | Dream Infinity Studios / Chris Takakura | Art Direction + Design to get some guidance...hopefully most of it is still relevant.) Because of that I wasn't sure whether to use "Intent" -> "Print" or "Intent" -> "Web", so I went with web with a 1024 x 768 page size, hoping that will look OK for desktop (not professional) printing. What do people do when they want something to function in both domains? Not sure if that could have affected anything about the way these images were placed...
    In terms of finding a solution:
    1. I was using High Quality Display--it was more an issue with my output document. (Though strangely sometimes when I toggle between high-quality & typical displays, sometimes things that looked good when I was working on them in high quality, after toggling to typical and back, look horrid.)
    2. It seemed at first that it might be an issue of the way I placed the files, e.g. I was positioning my cursor OUTSIDE any sort of field and dragging a square to the size I wanted my image to be. I'm wondering if it somehow reduced the image size because if I create the square using the "Rectangle Frame Tool" it seemed to work much better. I've also tried just dropping the file without the frame tool and resizing it that way, but my images are actually VERY long & wide, so that's difficult. I was also wondering the "fitting" option I chose may have been affecting the display...I've been trying "Fitting" -> "Fit Content Proportionally" lately.
    3. I created some .pdfs of some of the pings from Omnigraffle, and that seemed to help, but that actually makes them look worse because there are screenshots within the OmniGraffle mock-up files which are washed out and pixelated and the text that was added on top stands out too much (see attached screenshot...the one on top is a PDF and the header and footer looks funny and the bottom is a PNG where at least everything looks consistent).
    So though some files look better now (especially, ironically enough, the 72 DPI screenshot of Use Cases!), I can't figure out what process I should follow to get consistently good results. Because a) the mockup files look good when I first paste them, and b) they are longer and wider than the content area I'm using and I'm shrinking them significantly, I cannot figure out why I can't keep that level of detail after they've been shrunk to fit. I keep wondering if I'm placing image properly, shrinking them properly, or those Fitting settings properly...

  • Script for Indesign CS6 - Export Document to preset PDF

    Does anyone know how to do this please?

    Do what? You can't export a document to a preset. You can use a preset to export a document, is that what you mean?
    Check the ESTK object model under Document. Look at the exportFile() method.
    Dave

  • Is there an updatedcrossrefs script for InDesign CS6

    Running Mac Pro/2.66 GHz—Quad-Core Intel Xeon/Snow Leopard/
    OS/Mac OS X Version 10.6.2/2.66 GHz
    I converted a CS3 InDesign that uses the script "updatedcrossrefs.js", to CS6 InDesign. This file uses hyperlinks on the TOC and Index.
    I tried using the same script for CS3 InDesign in CS6 InDesign but it does not work.
    This is the error message "Could not catch page. Check destination names and existence."
    Is there an updated script for CS6?

    Sorry did not know I was using bold. My co-worker found this script however, she does not work here anymore. But here is the script. I know nothing about scripts except how to use them. Sorry.
    // Updatecrossrefs.js
    // Updates cross references made with hyperlinks
    // the hyperlink destination is where the reference refers to
    // the hyperlink sourcetext is the text that will be updated (like see xx)
    // If a book is open, the book will be handled,
    // if no book is open, the active document will be handled.
    // Made by Teus de Jong, last version April 10, 2006
    // Revisions by Dave Saunders January 22, 2006 and March 20, 2006
    // Thanks Dave!
    // Added unique naming mechanism for sources -- October, 2008
    if (app.books.length == 0){
              if (app.documents.length == 0){
                        errorExit('No documents are open');
              } else {
                        nrofdocs = 1;
                        doc = app.activeDocument;
    } else {
              nrofdocs = app.books[0].bookContents.length;
              for (i = nrofdocs - 1; i > -1; i--) {
                        if (app.books[0].bookContents[i].status != BookContentStatus.documentIsOpen)
                                  app.open(File(app.books[0].bookContents[i].fullName));
              doc = app.open(app.books[0].bookContents[0].fullName);
    for (d = 1; d <= nrofdocs; d++){
              for (i = 0; i < doc.hyperlinks.length; i++){
                        hyper = doc.hyperlinks[i];
                          // leave ID's own internal markers alone
                        if (hyper.name.substring(0, 1) == '.'){continue}
                          // leave hyperlinks to URLs alone
                          try {
                                  if (hyper.destination.constructor.name == 'HyperlinkURLDestination'){continue}
                        } catch (e) {
                                  hyper.showSource();
                                  errorExit('Selected hyperlink has undefined destination');
                        s = hyper.source.name;
                        // added October, 2008
                        // sometimes ID's unique name mechanism for sources fails; make sure the source has
                        // the same name as the hyperlink + '_src'
                        if (s != hyper.name + '_src')
                                  hyper.source.name = hyper.name + '_src';
                        if (hyper.destination.constructor.name == 'HyperlinkTextDestination'){
                                  s = getParentPageName(hyper.destination.destinationText);
                         } else {
                                   // try/catch added to allow for hyperlinks that have lost their destination -- Dave
                                   try {
                                              s = hyper.destination.destinationPage.name;
                                    } catch (e) { continue }
                        if (s != ''){
                                  // Check to see if update needed; saves a lot of time when processing large books -- Dave
                                  if (hyper.source.sourceText.contents != s) {
                                            hyper.source.sourceText.contents = s;
              if (d >= nrofdocs){
                        break;
              doc = app.open(app.books[0].bookContents[d].fullName);
    function getParentPageName(txt){
              try { 
                        var myFrame = getParentTextFrame(txt);
                        var pag = myFrame.parent;
                        while (pag.constructor.name != 'Page'){
                                  // in case the reference is in an inline, the parent of the frame is a character
                                  if (pag.constructor.name == 'Character'){
                                            pag = getParentTextFrame(pag);
                                  // in case the chain goes sour, back out
                                  if (pag.constructor.name == 'Application'){
                                            throw 'Error';
                                  pag = pag.parent;
                        return(pag.name);
              catch (e) {
                        alert('Could not catch page.\nCheck destination names and existence.');
                        return('');
    function getParentTextFrame(x){
              if(app.version == 3){
                        return(x.parentTextFrame);
              else {
                        return(x.parentTextFrames[0]);
    function errorExit(s){
              alert(s);
              exit();

  • Blurry Interactive PDF when exporting from InDesign CS6

    Hi there, wondering if anyone can help me out with this question,
    I've created a new document in InDesign, with intent set to 'web'. I have set the page size to exactly the correct pixels that I need. I've inserted my image, which is 72dpi and the exact pixel size I need. Everything looks good, and seems to be correct.
    Problem occurs when I go to export.
    I'm exporting the PDF as 'Interactive', but no matter what setting I put it at, the finished PDF seems to push the final view by about 30%? and therefor makes the PDF blurry.
    It seems a little crazy to me, as everything seems in place and correct?
    Any suggestions?

    Acrobat views files at 96 ppi.
    You can see this in Edit>Preferences and go to Page Display.
    Solution - I'd use 96 ppi images.

  • If Are all the pictures can be enlarged to 160% with script in indesign cs6?

    a book is composing ,but the gest feel the picture is too small,all want to  enlarged to 160%,
    but there is Thousands pictrure, It is could be Achieve with script?
    just like thist

    @喜狼_edny – if you are using my script snippet, there is a undo in one go for the whole action.
    Furthermore if used with images anchored, make sure that the anchor settings are appropriate before.
    Before:
    (The container below is locked and will not scale)
    Anchor settings with wrong anchor reference point settings (German UI):
    After scaling (new position according to the anchor settings):
    Second try with different anchor settings:
    After running the script:
    Note: images locked or images on locked layers will not be scaled.
    This could be expanded. Eg. for images positioned on not visible layers.
    Images on the pasteboard etc.pp.…
    Uwe

  • InDesign CS6 8.0.1 Fixes PDF, EPUB, Other Issues

    Adobe updated InDesign CS6 to version 8.0.1, fixing many problems with EPUB and PDF export, as well as other problems.
    Recent postings in the user forums the past few months have complained about failure of some buttons to work when PDF was exported, and that is now reported to be working. There were several EPUB problems reported with fixes included in the update. Here’s a list of changes from the release notes:
    INDESIGN
    • Links in the exported IDML still reference to old link path after connect to DAM with different display name [3195038]
    • InDesign Shuts down when processing a book document with a cross reference to another book document [3189648]
    • Invalid PDF/X-4 Generated Due to References to .notdef Glyphs [3193833]
    • Umlaute are not displayed in form fields 3193827]
    • Buttons from Master Pages for PDFs Won’t Work in some cases. [3193832]
    • InDesign shuts down during during document recovery [3210940]
    • Debug Log.txt file not getting created with InDesign CS6 [3210945]
    • Previous versions of InDesign shut down when opening an IDML created from ID CS6 containing a psd file which has new Pantone Plus colors spot channels. [3210939]
    • Deleting characters before hyphenated words causes the application to shut down. [3125513]
    • Support Margin-top property in EPUB and HTML output [3197167]
    • Do not translate carriage return to nbsp in EPUB export [3197157]
    • Extra tag -epub-ruby-* in EPUb export CSS output [3197179]
    • Warning when validating an epub exported from an ID doc that has Spaces in its name [3198096]
    • Unable to select poster image using IMediaAttribute::enPosterTime [3210941]
    • CrashReporter is unable to collect info in Mac OS X 10.8 [3291250]
    • Memory leaks in AdobeCrashDaemon [3303518]
    • It is not possible to seek new playback positions in a EPUB because audio and video files are compressed. [3131562]
    • “adobe-page-layout-version” meta tag is missing from the metadata in EPUB3 format. [3220987 ]
    • Adobe Edge Preview package (.OAM) is not available in importable-files list [3288926]
    • Re-center policy not being honored on some exported layouts [3289996]
    • If you use Alternate Layouts, content is duplicated when you export to EPUB or HTML [3293896]
    • Automatic image conversion when exporting to HTML 5 selects JPEG instead of PNG, resulting in loss of transparency [3293906]
    • When you export to JPEG export, the output is at mixed, or low resolution, if you have low memory [3168711]
    • Updating image links in InDesign snippets results in corrupt or missing links [3178169]
    • InDesign quits unexpectedly if you fetching properties of grouped items using a script [3212753]
    • During EPUB Export the margin properties are not always set if they are overriden using a style [3217520]
    • InDesign quits unexpectedly if the product license is invalid [3286021]
    INCOPY
    • Unable to select text in InCopy opened document at first attempt [3156586]
    INDESIGN SERVER
    • InDesign CS6 Server shuts down when replacing Glyphs via JavaScript [3210946]
    • InDesign Server CS6 shuts down when trying to open enclosed bug file [3174087]
    Here's a link to the release notes:
    http://helpx.adobe.com/indesign/release-note/indesign-cs6-1-release-notes.html

    Gone now. Appeared on updates. I was able to update two systems. Third system, it was if the update didn't exist at all. Update not available on Adobe's general software update website. 
              - Dov

Maybe you are looking for