Obtaining permission to print Scripting Guide

Hello,
My (soft) copy of the Photoshop CS3 Scripting Guide says on the copyright page that:
>NOTICE: All information contained herein is the property of Adobe Systems Incorporated. No part of this publication (whether in hardcopy or
electronic form) may be reproduced or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or
otherwise, without the prior written consent of Adobe Systems Incorporated.
I would like to have this manual printed in hard copy form (a single copy, for my own personal use), which means I must obtain written permission to do so. Does anyone have any information about whom I should contact to get permission to print the manual?

Hello,
My (soft) copy of the Photoshop CS3 Scripting Guide says on the copyright page that:
>NOTICE: All information contained herein is the property of Adobe Systems Incorporated. No part of this publication (whether in hardcopy or
electronic form) may be reproduced or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or
otherwise, without the prior written consent of Adobe Systems Incorporated.
I would like to have this manual printed in hard copy form (a single copy, for my own personal use), which means I must obtain written permission to do so. Does anyone have any information about whom I should contact to get permission to print the manual?

Similar Messages

  • InDesign Scripting Guide/Apple Script

    The command
    set myTop to top of margin preferences of myPage
    described in the InDesign Scripting Guide doesn't work with Indesign CS2. Does anyone can help?
    Thanks

    Hi Morenga 65,
    Try:
    tell margin preferences of myPage
    set myTop to top
    end tell
    But, as Dave says, do come to the Scripting Forum--there's lots of good stuff there!
    Thanks,
    Ole

  • Check printing script debuggin problem

    Hi
    i am working on a check printing script. i need to adjust the layout of few things in this layout.
    in the debuggin mode i am getting the short dump stating vendor number = xxxxxxxxxxxx (invalid).
    can anyone tel me the windows for date,account payee,amount in words and amount in figures or atleast the fields related to them r tell me where i have to correct my script to proceed in debuggin mode.
    thanks in advance

    Hi,
    CHECKSPL  -> for amount in words,
    CHECK -> other fields ( date, amount )
    CHECKADD -> Payee
    other open form se71 -> display -> go to UTILITIES menu -> select FORM INFO. option
    There you find with general Find( CTRl + F ).
    Reward if helpful.
    Bye

  • Duplex printing script

    Hi All,
      I have requirement for a customer Acct statement form, wherein I have to print different footers on alternate pages.. say like.
    it's a duplex printing script.
    for each customer statements, the first page should have a footer "Contd on reverse" and the second should have "contd.."
    and again the third "Contd on reverse".
    I.e for even pages it's "Contd on reverse"
    and for odd pages it's "contd..".
    I suppose we can manage using the PAGE variable.
    Can you provide some help on how to go about this logic.

    Hi,
    Based on the page number try to print the footer. Try to define the text elements in the same window. In driver program, try to keep if condition based on page number then print the correspoding text elements.
    or
    In driver program-> calling Text elemnts-> keep this code in Text element in script.
    consider the MOD of page No by 2.
    If it is Zero
    print that 'Conttd on reverse'.
    else.
    print 'Contd'.
    endif.
    Thanks & Regards,
    Chandralekha.

  • Scripting Guide referenced scripts

    All over the CS3 scripting guide there are parts of scripts and it says
    in parentheses (for the complete script, see ...). Where do I find these
    scripts that are being referenced to?

    Hi Fred,
    You can download the scripts from here:
    http://wwwimages.adobe.com/www.adobe.com/products/indesign/scripting/downloads/indesign_cs 3_guide_scripts.zip
    Kasyan

  • Scripts for CS6 Scripting Guide

    The link in the PDF document "Adobe InDesign CS6 Scripting Guide:Javascript" is broken and I can't find the file with the example javascripts. 
    Can you help?
    /f

    http://www.adobe.com/devnet/indesign/documentation.html

  • AME-specific scripting guide

    Hi, I see plenty of references in this forum to people scripting AME, but I can't find the promised doc for the AME-specific subset of Extend Script anywhere.
    In the "Adobe Introduction to Scripting" pdf, in the section "More information about scripting", we are told:
    "Each scripting language contains many more devices and techniques for adding power and complexity to
    your scripts. To continue learning how to script your Adobe applications, please refer to the Adobe
    scripting guide for your application."
    Is there any such documentation? 
    If not, how do folk on this list work this out?
    Many thanks
    Peter

    @Jeff – don't know if there is a specific scripting guide for InDesign CC.
    For news of new methods, properties and objects in the DOM (Document Object Model) in ExtendScript (Adobe's implementation of JavaScript) with InDesign see:
    Marc Autret:
    So What's New in InDesign CC Scripting DOM
    http://www.indiscripts.com/post/2013/06/so-what-s-new-in-indesign-cc-scripting-dom
    Another valuable reference (not covering CC but also InDesign CS6) is:
    http://www.jongware.com/idjshelp.html
    For learning ExtendScript you will find useful:
    1. Learn about "core" JavaScript (there are plenty of useful courses floating around in the web)
    2. Buy yourself a book like Grant Gamble's "InDesign CS5 – Automation Using XML & JavaScript"
    and experiment with your own InDesign files and code snippets from that base on…
    3. Find a collegue or some friends who also want to learn about it and do some learning sessions together
    4. Visit this forum a lot and browse through older threads. Most threads are about ExtendScript.
    Where did you hear that Adobe wants to phase out AppleScript on its products?
    Flash based extensions and related to that "ActionScript" will be phased out next year for building Extensions for CC applications. It will be replaced with [HTML5, CSS and JavaScript] for building widgets. PhotoShop CC will be the first product where we will see this (maybe around mid 2014); others will follow.
    Maybe you read about the abbreviation "AS" in this regard; which for some people is "AppleScript" and for some people it is "ActionScript". Don't confuse the two scripting languages.
    Uwe

  • CS3 Scripting Guide AppleScript

    Shane Stanley wrote:
    > No, I have no financial link with Script Debugger, but I do think that
    > trying to script without it is a bit like having one hand tied behind your
    > back.
    >
    > We've talked of doing AppleScript Pro Sessions in Amsterdam, but alas
    > nothing has come of it so far. Ray did do a session for Apple over there a
    > couple of years back.
    Okay, I'll download the Script Debugger demo at some point and give it
    a run, but I'd better stick to one thing at a time at this point considering
    how long it's taking me just to get through the ID Scripting Guide. I have,
    however, managed to get beyond Chapter 2, and have renamed this topic
    accordingly.
    Thanks,
    Roy

    Shane Stanley wrote:
    > BOMs tend to matter only when you're moving stuff between systems
    > using
    > different endian processors, eg Intel vs PPC. It's a pity in a way
    > that BOMs
    > aren't used more widely, but much of the industry seems stuck in
    > good-enough
    > mode with ASCII variants. if you're not seeing text get garbled,
    > you're
    > fine.
    I did get some garbled text the other day, but I don't think it was a
    BOM issue. Setting the TextWrangler encoding preferences for Little-
    Endian seems to occasion some problems, mainly undesired alerts, so I
    changed them back to Western (Mac OS Roman). As far as I can remember,
    I needed Little-Endian only for doing something with ID tagged text
    that I'm now done with for the time being.
    Hey, here's one I managed to do on my own:
    tell application "Adobe InDesign CS4"
    activate
    set myDocument to make document
    set myMarginPreferences to margin preferences of myDocument
    set bottomMargin to bottom of myMarginPreferences
    set bottomYPoint to (page height of document preferences of
    myDocument) - bottomMargin
    set rightMargin to right of myMarginPreferences
    set rightXPoint to (page width of document preferences of myDocument)
    - rightMargin
    tell page 1 of myDocument
    set myTextFrame to make text frame with properties {geometric bounds:
    {top of myMarginPreferences, left of myMarginPreferences,
    bottomYPoint, rightXPoint}}
    select insertion point -1 of myTextFrame
    end tell
    end tell
    I suppose that's what you'd call trivial, but I didn't have it before
    and now I do - assigned to cmd-n, understandably.
    It wasn't easy for me and I blew too much time on it. I think the main
    problem was that I kept hitting this point:
    tell application "Adobe InDesign CS4"
    activate
    set myDocument to make document
    set myMarginPreferences to margin preferences of myDocument
    tell page 1 of myDocument
    set myTextFrame to make text frame with properties {geometric bounds:
    {top of myMarginPreferences, left of myMarginPreferences, (page height
    of document preferences of myDocument) - (bottom of
    myMarginPreferences), [...]}}
    at which it would keep telling me:
    Canât make «class marb» of «class impp» of document "Untitled-
    [n]" of application "Adobe InDesign CS4" into type number.
    I couldn't figure out what was going on there, and still can't. There
    wasn't any problem with top of myMarginPreferences. bottom of
    myMarginPreferences had to be a number, in order to work with top of
    myMarginPreferences which evidently was text, and, uh... confused again!
    Oh... top of myMarginPreferences is text, while
    page height of document preferences of myDocument is a number, right?
    If so, that doesn't seem to be intuitively evident, exactly.
    Thanks,
    Roy

  • Adobe Premiere Scripting Guide

    Hello, I have to write some scripts for Premiere. It will import, cut and set rendering. I can do it in after effects, because there is Adobe After Effects Scripting Guide for CS6.pdf , but I cant find anything similar for Premiere But scripting in premiere is possible. I can find some commands in Data Browser in ExtendScript Toolkit editor, but I dont know how can I use it. (Import, edit etc.) Is for Premiere any scripting manual ? If not, why? Scripting in Premiere is not official supported? Thanks.

    yeah it took me half a day to find out that all the stuff is in the data browser
    so that's what i found out yesterday:
    you can add an array of files like this:
    var myFiles = ["C:\\'theFilePath'\\File.mov", "C:\\'theFilePath'\\File2.mov", ...];
    app.project.importFiles(myFiles);
    and all files will be added to the project browser.
    also you can add a sequence to the project like this:
    app.project.createNewSequence("nameOfTheSequence","xxx");
    I don't know which param I had to choose for the "xxx", but it works if you set it empty.
    I'm currently looking for adding the files to the sequence, but I have to try some stuff till i find it out.
    Let me know if you find out something new

  • Printed User Guide

    Does anyone offer a printed user guide for the 8330?
    Solved!
    Go to Solution.

    Try downloading from here
    If someone has been helpful please consider giving them kudos by clicking the star to the left of their post.
    Remember to resolve your thread by clicking Accepted Solution.

  • [ID CC] Is there a specific scripting guide for CC?

    Hi,
    I was looking for the scripting guide (both applescript and Javascript) for ID CC, but all I see is the CS6 version. Is that normal? I know there isn't that much new between the two version, but it would be nice to have the updated guides.
    Also, I had heard that the Applescript language was going to be fased out. Meaning, no new feature would be supported and things that changed would break current code in future version of the software. Is there any thruth in this? I'm a fairly novice applescripter and I can't even read Javascript, so I was wondering if I need to try to learn Javascript ASAP or if I'll be able to go by with my applescript.
    Thanks for any input.
    Jeff

    @Jeff – don't know if there is a specific scripting guide for InDesign CC.
    For news of new methods, properties and objects in the DOM (Document Object Model) in ExtendScript (Adobe's implementation of JavaScript) with InDesign see:
    Marc Autret:
    So What's New in InDesign CC Scripting DOM
    http://www.indiscripts.com/post/2013/06/so-what-s-new-in-indesign-cc-scripting-dom
    Another valuable reference (not covering CC but also InDesign CS6) is:
    http://www.jongware.com/idjshelp.html
    For learning ExtendScript you will find useful:
    1. Learn about "core" JavaScript (there are plenty of useful courses floating around in the web)
    2. Buy yourself a book like Grant Gamble's "InDesign CS5 – Automation Using XML & JavaScript"
    and experiment with your own InDesign files and code snippets from that base on…
    3. Find a collegue or some friends who also want to learn about it and do some learning sessions together
    4. Visit this forum a lot and browse through older threads. Most threads are about ExtendScript.
    Where did you hear that Adobe wants to phase out AppleScript on its products?
    Flash based extensions and related to that "ActionScript" will be phased out next year for building Extensions for CC applications. It will be replaced with [HTML5, CSS and JavaScript] for building widgets. PhotoShop CC will be the first product where we will see this (maybe around mid 2014); others will follow.
    Maybe you read about the abbreviation "AS" in this regard; which for some people is "AppleScript" and for some people it is "ActionScript". Don't confuse the two scripting languages.
    Uwe

  • Printed User Guide for Elements 6 for Mac

    While the very useful downloaded pdf version from Adobe is in color, I discovered that the images in the printed guide from Adobe are in black and white, and are not of the same quality.

    I have the printed Users Guide for Windows PS Elements 6 and it is also in black and white. To me the quality of the black and white images in the Windows book is OK: however the absence of color is very significant for some images. I have not seen the book for the Mac so I can't comment on image quality.
    I can only suggest using a combination of the book plus the PDF file images displayed on screen.

  • Find check print script program in nace

    Hi experts,
    check printing script program ( TCODE  IS  FCH7 ).
    how to find in the NACE  this check print script program.
    please help me in this

    Hi,
    Hi,
    FI documents are not maintained in NACE. In Nace if you can see there are several applications but nothing is for FI or CO.
    Print program RFFOUS* to print cheque.
    Thanks,
    Abhijit

  • Photoshop CS5(64Bit): "You don't have permission to save to this location. Contact the administrator to obtain permission."  I am the administrator and I give myself permission. What can I do to save the file?

    Photoshop CS5(64Bit): "You don't have permission to save to this location. Contact the administrator to obtain permission."  I am the administrator and give myself permission. What can I do to save the file? This is the user's PC, licensed PS CS5 software and Win 7 OS.

    Temporarily save to another folder, until you figure it out.
    Just because you are the owner and are the sole administrator, does not always guarantee that you have permission. There are several folders that you can not access no matter how hard you try. As for folders in your document folder, it is more likely a basic permission setting that took on permissions of a copied file. Some folders and files are set to a child/parent default setting, meaning the child folder/file (the one you are accessing) has the identical settings of its parent and when the parent changes, so does the child.
    You can alter the parent or the child folder/file.
    Right click on the folder/file select properties.
    Click on the security tab.
    Click on each of the group names and see what permissions are set.
    You can then edit a group if necessary.
    If it will not allow it, you may need to use the advanced button to create a new copy of the group which should happen when you alter its settings (In other words, you don't have to physically create the copy, it does it for you when you OK the changes)
    The administrator should have full access to the folder in the documents folder, if you are listed as an associate of the administrator group your name should also be listed there with full access. The System should also have full access.
    All other groups should have reading access only if they exist.

  • Help! 'Package for Print' Script

    Hi all,
    I have a specific 'Package For Print' script, that needs a small modification, and and I was hoping someone could help me.
    Essentially, I need to OMIT 'Include PDF' option when packaging, since this makes things a bit wonky on my script (see below).
    Let me know if you need to see the script, and I'll post it.
    Thank you.

    Here you go, and thank you. I know notes are also included in it. Sorry about this.
    //Package the active document and setup the dockets folder structure.
    //The active document shouldn't have been saved (has no name), so provide a name
    //taken from the first and only link.  After creating the dockets folder structure,
    //close and delete the original file and open the file in the docket's originals
    //folder.
    #target InDesign
    //Constants
    const PROOF_PREFIX = 'Proof_';
    const OUTPUT_SUFFIX = ' Folder';
    const ORIGINALS_FOLDER = 'Originals';
    const PRINT_FOLDER = 'Print';
    const DIGITAL_PROOF_FOLDER = 'Digital Proof';
    const CLIENT_FOLDER = 'Client Provided Files';
    const DEFAULT_MAC_DOCKETS = '/Users/parham/Desktop';
    const PDF_PROFILE = 'Linx_Proof'
    function Err() {}
    //Use a more user-friendly version than throwing an error.
    Err.FatalError = function (msg) {
      alert(msg, 'Fatal Error', true);
      exit();
    function makeShowUI(runtime) {
      var doc = runtime.doc;
      var window = (function () {
      var windowDef = "Window {\
      type: 'dialog', \
      properties: { \
      resizeable: false, \
      closeButton: true, \
      maximizeButton: false, \
      minimizeButton: false \
      text: 'Dockets Package', \
      orientation: 'column', \
      var w = new Window(windowDef);
      //Folder name
      w.add("StaticText { text:'New Folder Name', alignment: 'left' }");
      var defaultName = doc.name;
      if (defaultName.slice(-5) == '.indd') {
      var origlength = defaultName.length;
      defaultName = defaultName.substr(0, origlength - 5);
      w.folderText = w.add("EditText { alignment: 'left', characters: 30, justify: 'left', " +
      "text:'" + defaultName + OUTPUT_SUFFIX + "'}");
      //Destination dir
      w.add("StaticText { text:'Save To', alignment: 'left' }");
      var dirGroup = w.add("Group { orientation: 'row', alignment: 'fill' }");
      w.dirText = dirGroup.add("EditText { characters: 30, justify: 'left', " +
      "text:'" + DEFAULT_MAC_DOCKETS + "'}");
      w.dirBrowseBtn = dirGroup.add("Button { text: 'Browse...' }");
      w.dirBrowseBtn.textBox = w.dirText;
      //Package Options
      w.options = w.add("Panel { orientation: 'column', alignment: 'fill', \
      text: 'Package Options', alignChildren: 'left'}");
      w.options.fonts = w.options.add("Checkbox { text: 'Copy Fonts' }");
      w.options.links = w.options.add("Checkbox { text: 'Copy Linked Graphics' }");
      w.options.profiles = w.options.add("Checkbox { text: 'Copy Color Profiles' }");
      w.options.update = w.options.add("Checkbox { text: 'Update Graphic Links In Package' }");
      w.options.hiddenContent = w.options.add("Checkbox { text: 'Include Fonts and Links From Hidden and Non-Printing Content' }");
      w.options.ignore = w.options.add("Checkbox { text: 'Ignore Preflight Errors' }");
      w.options.report = w.options.add("Checkbox { text: 'Create Report' }");
      w.options.fonts.value = true;
      w.options.links.value = true;
      w.options.profiles.value = true;
      w.options.update.value = true;
      w.options.hiddenContent.value = true;
      w.options.ignore.value = true; //Parham's request for true
      w.options.report.value = false; //Saeed's request for false (no instructions)
      //Digital Proof
      w.proof = w.add("Panel { orientation: 'column', alignment: 'fill', \
      text: 'Digital Proof', alignChildren: 'left'}");
      w.proof.make = w.proof.add("Checkbox { text: 'Make PDF Proof' }");
      w.proof.viewAfter = w.proof.add("Checkbox { text: 'View PDF' }");
      w.proof.make.value = false;
      w.proof.viewAfter.value = false;
      //OK / Cancel
      var buttonDef = "Group { orientation: 'row', alignment: 'right', alignChildren: 'right' }";
      w.bg = w.add(buttonDef);
      var okDef = "Button { text: 'OK', alignment: 'right' }";
      var cancelDef = "Button { text: 'Cancel', alignment: ['right', 'center'] }";
      w.okBtn = w.bg.add(okDef);
      w.cancelBtn = w.bg.add(cancelDef);
      return w;
      runtime.window = window;
      window.dirBrowseBtn.onClick = (function () {
      var result = Folder.selectDialog('Choose destination directory');
      if (null !== result) {
      //Replace string with selected path
      this.textBox.text = result.fullName;
      return window.show();
    function deleteFolder(folder) {
      if (!folder.exists) {
      return;
      var children = folder.getFiles();
      for (var i = 0, im = children.length; i < im; i++) {
      if (children[i] instanceof Folder) {
      deleteFolder(children[i]);
      } else {
      children[i].remove();
      folder.remove();
    //Main path
    try {
      var a = app.activeDocument;
    } catch (e) {
      Err.FatalError("No document open");
    var runtime = {};
    var doc = app.activeDocument;
    runtime.doc = doc;
    if (doc.saved) {
      //Document has already been saved (already has a name), so stop.
      Err.FatalError("Document has already been saved");
    //Ensure at least one link, since multipaged PDFs end up as more than 1 link.
    if (doc.links.length < 1) {
      Err.FatalError("Document has " + doc.links.length + " links.");
    //Save the existing file in a temporary place, same dir as first link.
    //Take the name from the first link
    var link = doc.links.firstItem();
    var defaultName = link.name;
    if (defaultName.slice(-4) == '.pdf') {
      var origlength = defaultName.length;
      defaultName = defaultName.substr(0, origlength - 4);
    } else {
      //Placed item is not a pdf, as per Parham's request, don't warn about it.
      //Just take the filename best guess and go with it.
    // if (confirm('Linked item is not a PDF.  Package anyways?',
    // true, 'Package non-PDF')) {
      //break on the last '.'
      var lastIndex = defaultName.lastIndexOf('.');
      if (lastIndex > -1) {
      defaultName = defaultName.substr(0, lastIndex);
      } else {
      defaultName = defaultName;
    // } else {
    // alert('Did not package.');
    // exit();
    //filePath should be a File, but is actually a string, so make a file.
    var linkFile = new File(link.filePath);
    var origFile = new File(linkFile.path + '/' + defaultName + '.indd');
    if (origFile.exists) {
      //Folder already exists, get user to confirm
      if (confirm("File " + defaultName + '.indd already exists.  Replace?',
      true, 'Replace File')) {
      //Erase the temp file
      origFile.remove();
      } else {
      alert('Did not overwrite existing files, did not package.');
      exit();
    doc.save(origFile);
    if (2 == makeShowUI(runtime)) {
      //User pressed cancel
      exit();
    //Main code, do the packaging and make the directories.
    //But first check for existing folder.
    var folderName = runtime.window.folderText.text;
    var destinationPath = runtime.window.dirText.text;
    if (destinationPath.slice(-1) == '/') {
      var newFolderPath = destinationPath + folderName;
    } else {
      var newFolderPath = destinationPath + '/' + folderName;
    var outputRoot = new Folder(newFolderPath);
    if (outputRoot instanceof Folder && outputRoot.exists) {
      //Folder already exists, get user to confirm
      if (confirm('Dockets folder ' + folderName + ' already exists.  Replace?',
      true, 'Replace Folder')) {
      //Erase the destination directory
      //Get all contained files + folders, then delete them.
      deleteFolder(outputRoot);
      } else {
      alert('Did not overwrite existing files.');
      exit();
    } else if (outputRoot instanceof File) {
      //Destination folder exists as a file, fail.
      Err.FatalError('File named ' + folderName + ' already exists, cannot make folder.');
    //Destination doesn't exist, create it.
    if (!outputRoot.create()) {
      Err.FatalError('Error creating folder ' + folderName);
    //We have an empty directory, now do the packaging and everything else.
    var printFolder = new Folder(newFolderPath);
    printFolder.changePath(PRINT_FOLDER);
    if (!printFolder.create()) {
      Err.FatalError('Error creating Print folder.');
    var digitalProofFolder = new Folder(newFolderPath);
    digitalProofFolder.changePath(DIGITAL_PROOF_FOLDER);
    if (!digitalProofFolder.create()) {
      Err.FatalError('Error creating Digital Proof folder.');
    var clientFolder = new Folder(newFolderPath);
    clientFolder.changePath(CLIENT_FOLDER);
    if (!clientFolder.create()) {
      Err.FatalError('Error creating Client folder.');
    var originalsFolder = new Folder(newFolderPath);
    originalsFolder.changePath(ORIGINALS_FOLDER);
    if (!originalsFolder.create()) {
      Err.FatalError('Error creating Originals folder.');
    //Do the package
    var f = runtime.window.options;
    if (doc.packageForPrint(originalsFolder, f.fonts.value, f.links.value, f.profiles.value, f.update.value, f.hiddenContent.value, f.ignore.value, f.report.value, false, true)) {
    } else {
      Err.FatalError('Failed to package.');
    //Do the PDF proof
    if (runtime.window.proof.make.value) {
      var proofname = PROOF_PREFIX + doc.name;
      if (proofname.slice(-5) == '.indd') {
      var origlength = proofname.length;
      proofname = proofname.substr(0, origlength - 5);
      proofname = proofname + '.pdf';
      var proofFile = new File(digitalProofFolder.fullName + '/' + proofname);
      if (proofFile.exists) {
      Err.FatalError('Digital proof already exists.');
      } else {
      var exportProfile = app.pdfExportPresets.itemByName(PDF_PROFILE);
      //We get an object even if the profile doesn't exist, have to check isValid
      if (!exportProfile.isValid) {
      Err.FatalError('PDF profile ' + PDF_PROFILE + " doesn't exist, digital proof not created.");
      //Explicitly set to export all pages.
      app.pdfExportPreferences.pageRange = PageRange.ALL_PAGES;
      //Set view preference
      app.pdfExportPreferences.viewPDF = runtime.window.proof.viewAfter.value;
      doc.exportFile(ExportFormat.PDF_TYPE, proofFile, false, exportProfile);
    //Open the Originals folder .indd, close the current file and delete it.
    var newFile = new File(originalsFolder.fullName + '/' + doc.name);
    if (!app.open(newFile)) {
      Err.FatalError("Failed to open packaged .indd");
    doc.close();
    origFile.remove();

Maybe you are looking for

  • Runtime Error in Standard Include

    Hi, After upgrading from SAP 4.7 E to ECC 6.0, we have facing few problem in execution of Reports.. Main problem is that, it called Standard INCLUDES.. Error:- Short text     Format error with IMPORT. What happened?     Error in the ABAP Application

  • Error when running MakeDim package

    Hi there, I have a really annoying problem with the Admin_MakeDim package in the Examples folder of BPC. We have a Data Services process which is populating a staging table which is an exact duplicate of the mbrAccount table. When I run the makedim p

  • RAW formats not supported

    Is it possible to know Apple has the intention to support file formats like the ones of the Olympus SP series? I own an Olympus SP-350 (it came out one year ago) but MacOS doesn't still support it (i.e. neither iPhoto nor Aperture). Since Adobe suppo

  • The transported request can not be stop

    Dear basis experts, I transported one change request by t_code STMS at yesterday afternoon.But until today it still is running. Could you help me? Thanks and regards, collysun

  • Moving user files from one server to another.

    Hi everyone I would need your help to help me migrate the user files of around 300 persons to a new server. Is there a tool that could help me doing that? Here is the situation: I have an old 2003 server with all the user accounts. We are using the s