Indesign Scripting Object Model

Hi,
Is there some reference documentation that provides detailed information on the Indesign object model as exposed to the scripting interface (javascript)?
I have done fair amount of scripting in Illustrator so I was looking for the Indesign equivalent of this document
http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/pdf/illustrator/scrip ting/illustrator_scripting_reference_javascript_cs5.pdf
I looked at this document but it seems kind of sparse (compared to illustrator)
http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/products/indesign/pdfs/InDes ignCS5_ScriptingGuide_JS.pdf
Obviously they are different applications but I was kind of hoping there would be more info for Indesign scripting.
In particular I am looking for some insight on how to effectively walk or traverse the document structure of an indesign document using code.
Finding specific things by type seems out of the picture becuase after doing object reflection on all the page items in an indesign document nothing seems to have a "type" property.
In my illustrator scripts I was able to place stuff in illustrator layers, give arbitrary pageitems a name and then later go find and manipulate via script. Not as clear how to do this in an indesign context.
The one advantage of this was that in illustrator I was able to use textframes to hold variable data and read later via scripts. The document becomes the database. And I could create any number of arbitrary "variables" inside the document outside the white board. WOndering how to do this kind of stuff with indesign so I can do template driven documents that are managed by scriptings and form UI that I create.

commnet: Glad to hear you're clear on the new keyword. It's something that a lot of people are confused about.
Also glad to hear you've read Crockford's book on this stuff. Honestly I think for most InDesign usage, it's a mistake to worry about any kind of inheritance...usually it's easier to ignore all that stuff.
And to answer the question about number of properties, probably talking max 100 or so. Certainly not thousands. I just want to have my own datastructure embedded in the indesign document that I can easily talk to via scripts. And this data needs to persist between instances of the javascript script's lifecycle. So it seems having some XML to parse is the solution. If that makes sense.
If there was a way to deal with JSON data "hidden" within an indesign document I would gladly work with that. But I still need to change certain common content snippets inside the flow of the indesign document in a consistent way.
I think if you have max 100 properties, you should probably choose the methods that are clearest code, rather than most efficient. I suppose you might have noticable delay with 100, though, obviously try it and see. I'm confused but I thought you needed to have your data associated with text elements inside your document, such that it is visible to a user in the user interface. Hence the proposal of using XML tagged text inside a Text Frame. Did that requirement go away?
If you just want to hide JSON in the document, then use document.insertLabel() of a string of JSON and be done with it.
You can also use the JavaScript interpreter's E4X features, that give you much richer Javascript bindings for manipulating XML objects and files. Unfortunately the Javascript's XML bindings have nothing to do with the InDesign XML object model. So could, e.g., export the InDesign DOM XML into a file, read that into a Javascript XML object, manipulating with E4X functions, write it out to a file, and then re-import it into the DOM. Not really very convenient.
I honestly don't know much about Javascript for browsers, so if you could be more concrete in your queries it would be easier to answer.
Looking forward to your example snippet though.
OK, so, in Jeff (absqua)'s example, you create a constructor for a changeNumber rule, you call the constructor to make a rule, add the rule to the ruleset, and change a value attribute of the rule, and then process the ruleset.
This strikes me as...extremely goofy. For two reasons, first the ruleset creation function should be parametrized with the value you want to change, and second, that you go change the rule's attributes after you have added it to a ruleset. Also, while this works in this example, I don't think it's appropriate to have the xpath attribute hardcoded in the rule creation function -- it's much plausible that you want a function that constructs a rule that changes some arbitrary tag to some arbitrary value.
So, anyhow, if you were going to stick with the constructor paradigm, then I would change from:
var changeNumber = new ChangeDocumentNumber();
var ruleSet = [changeNumber, changeDescription];
changeNumber.value = "5678";
__processRuleSet(doc.xmlElements[0], ruleSet);
to:
var changeNumber = new ChangeDocumentNumber();
changeNumber.value = "5678";
var ruleSet = [changeNumber, changeDescription];
__processRuleSet(doc.xmlElements[0], ruleSet);
But I don't like this, because it's not parametrized reasonably. I would want something like:
var changeNumber = new ChangeValue("//DocumentNumber", "5678");
var changeDescription = new ChangeValue("//DocumentDescription", "New descr.");
var ruleSet = [ changeNumber, changeDescription ];
But because of my disdain for classical inheritance in JavaScript, I would instead write it as:
function changeValue(xpath, newValue){
  return {
    name: "ChangeValue",
    xpath: xpath,
    apply: function(Element, processor) {
      if (newValue) {
        element.contents = newValue;
      return true;
var changeNumber = changeValue("//DocumentNumber", "5678");
var changeDescription = changeValue("//DocumentDescription", "New descr.");
Because I think that a lot clearer about what is going on without introducing confusion.
Edit: removed "this.value" from the above and just used newValue directly.
But if you're defining a lot of rules with different apply functions, this is a very cumbersome strategy. You have all this boilerplate for each function that is basically the same but the apply function is different. This is leads to a lot of wasted code duplications. Why would your apply function be different? Well, that would usually be if you are writing functions that move around XML elements within the document hierarchy, or other things that are not simply changing the value of an element.
I would much prefer to write this as:
var changeRule = makeRule("change",
  function(element, ruleProcessor, newValue) {
    element.contents = newValue;
var changeNumber = changeRule("//DocumentNumber", "5678");
var changeDescription = changeRule("//DocumentDescription", "New descr.");
var ruleSet = [ changeNumber, changeDescription ];
This kind of syntax makes it much more compact to create arbitrary rules with different apply functions. In retrospect, the makeRule() function is named wrong, because it returns a function that makes a rule. Perhaps it'd be more reasonable if it was called makeRuleMaker().
Anyhow, the downside is that the makeRule() function is kind of heinous. I wrote this in March in Re: How to shift content with in cell in xml rules table. But:
//// XML rule functions
// Adobe's sample for how to define these is HORRIBLE.
// Let's fix several of these problems.
// First, a handy object to make clearer the return values
// of XML rules:
var XMLmm = { stopProcessing: true, continueProcessing: false};
// Adobe suggest defining rules constructors like this:
//   function RuleName() {
//       this.name = "RuleNameAsString";
//       this.xpath = "ValidXPathSpecifier";
//       this.apply = function (element, ruleSet, ruleProcessor){
//       //Do something here.
//       //Return true to stop further processing of the XML element
//       return true;
//       }; // end of Apply function
// And then creating a ruleset like this:
//   var myRuleSet = new Array (new RuleName, new anotherRuleName);
// That syntax is ugly and, and is especially bad if
// you need to parametrize the rule parameters, which is the only
// reasonable approach to writing reasonable rules. Such as:
//   function addNode(xpath, parent, tag) {
//       this.name = "addNode";
//       this.xpath = xpath;
//       this.apply = function (element, ruleProcessor) {
//           parent.xmlElements.add(tag);
//           return XMLmm.stopProcessing;
// and then creating a ruleset like:
//   rule = new Array (new addNode("//p", someTag));
// So instead we introduce a makeRule function, that
// allows us to leave behind all the crud. So then we can write:
// addNode = makeRule("addNode",
// function(element, ruleProcessor, parent, tag) {
//     parent.xmlElements.add(tag);
//     return XMLmm.stopProcessing;
// and use:
// rule = [ addNode("//p", someTag ];
function makeRule(name, f) {
    return function(xpath) {
        var
            //xpath=arguments[0],
               // "arguments" isn't a real array, but we can use
               // Array.prototype.slice on it instead...
               args=Array.prototype.slice.apply(arguments, [1]);
        return {
            name: name,
            xpath: xpath,
            apply: function(element, ruleProcessor) {
                    // Slice is necessary to make a copy so we don't
                    // affect future calls.
                var moreargs = args.slice(0);
                moreargs.splice(0, 0, element, ruleProcessor);
                return f.apply(f,moreargs);

Similar Messages

  • How do I add InDesign's Object model to ESTK Object model viewer?

    I am new to InDesign scripting, and was told that I could view InDesign's DOM in ESTK's object model viewer. The problem is that my ESTK does not show InDesign Object Model in ESTK's model selector drop down! InDesign DOM is not there in the drop down list.
    How do go about adding the ID DOM to the list?
    BTW, I am on CS6.

    this might help.
    Also, the best thing for the Object model is http://jongware.mit.edu/idcs6js/

  • InDesign Object Model Not in OM Viewer

    I have the trial of InDesign CS4 installed, along with the scripting componetns and Adobe bridge.
    In the ES Toolkit object model viewer I have four options in the dropdown:
    Core JavaScript Classes
    ScriptUI Classes
    Adobe Bridge CS4 Object Model
    Adobe InDesign CS4 Object Model
    The first three options work fine. The crucial fourth option (the InDesign model) does nothing. I open it and the drop down just closes, then snaps back to whatever the previous selection was.
    What is causing this and how do I fix it? Hard to script without the object model reference!
    Many thanks in advance for any help.
    Jude Fisher
    http://www.jcfx.eu

    Try selecting InDesign from the drop down before starting InDesign.
    That's the only way I can get it to work on my installation...
    Harbs
    http://www.in-tools.com

  • Where can I find a Javascript developer for InDesign scripting?

    Hi
    as
    I apologise in advance for posting on a technical site for InDesign developers, but our company (Dorling Kindersley) is looking for a full-time permanent developer to join our team. I've been looking for some months now and I would really appreciate some advice on where or how InDesign scripters look for work, as our role is quite specialised.
    We can offer an attractive package and although I'm biased as I work there, Dorling Kindersley really is a nice place to work - fun, friendly and super creative. I would welcome advice or for someone to approach me if they're interested.
    It's advertised as full-time and permanent but for the right candidate we can offer flexible working conditions.
    Best
    Heather Hughes
    Publishing Technologies Software Developer (permanent role)
    We’re looking for an enthusiastic individual keen to join our Creative Technical Support team, to create, maintain and enhance software tools for our creative and operations teams around the globe. This is a permanent full-time role.
    Each tool is a script or collection of scripts that allows DK to automate their creative workflows, from checks that spreads and covers have been created correctly to automated deployment of colour settings.
    The ideal candidate will have solid experience of using scripting to command Mac OS and Adobe products, have strong analytical skills and be curious, patient and willing to learn new skills. If you have design, publishing or print experience this will be an asset, but we can help fill in the gaps with training and guidance. You’ll need to be a ‘people’ person as most of the people you’ll come into contact with won’t have a software development background.
    Not only do you get to work next door to Covent Garden, in the heart of London, but  you’ll be welcomed into a small team of  friendly and irreverent geeks, who are experts in Adobe applications and workflows  and helping creative teams overcome their technical problems. Lunchtimes are often spent getting out and sampling the local cuisine in the vast number of restaurants and eateries around the office.
    You’ll get to work in a relaxed, sociable and friendly environment, working alongside our award-winning creative staff to develop their ideas for tools and get satisfaction from freeing them up to be even more creative.
    Skills required:
    Excellent skills and experience in using Javascript
    Experience of working with Macs and Adobe applications preferred
    Other programming skills and experience an advantage, e.g.  Applescript, Adobe InDesign Document Object Model, XML structure, TDD, Shell Script, Obj-C, C++ and Xcode
    Ability to learn new technologies swiftly
    Why work for DK?
    DK is an award-winning global publisher of distinctive, highly visual products for adults and children alike. We have a reputation for producing innovative design and digital products.
    Everything we make from books, eBooks and apps give unrivalled clarity to topics with a unique combination of words and pictures, put together to spectacular effect.
    We produce content for consumers in over 52 countries and 42 languages from offices in Delhi, London, Melbourne, Munich, New York and Toronto. We celebrate our 40th birthday this year, and we are enormously proud to be the world’s leading illustrated reference publisher.
    You’ll  be joining an awesome and highly talented, diverse and creative team, in an environment where everyone is encouraged to learn and coach new skills, as well as having the opportunity to grow and develop with people who are passionate about what they do.

    Hi Heather,
    I think you've found probably the best place possible to post this opening.
    I personally am interested, and would like to pursue this further. My email is admin [at] freelancebookdesign.com
    Thanks,
    Ariel

  • HELP! Where I can find the InDesign Object Model, Methods, and Properties?

    I've done a little VB scripting with InDesign, using some of the examples I've found here and there. But I can't for the life of me find a full listing of the Object Model, nor a listing of methods and properties. I'm limited in what I can do by stumbling upon objects here and there in others' scripts. Surely this must be documented somewhere.
    One thing that's particularly confusing to me (partly because I'm not well-versed in JS), is I'll see something the following
    app.selection[0].fit(FitOptions.frameToContent)
    where "FitOptions.frameToContent" seems to reference a constant, presumably in a structure. How do I determine the actual constant value, or supply an object reference (as I'm scripting from a stand-alone VB app) such that it can "find" that constant?

    I don't know how VB5 works, but when you add reference to InDesign and declare variable, for example:
    Dim myInDi as InDesign.Application
    then when you write somewhere "myInDi." - VB6 IDE give you context list with all methods and properties of InDesign application
    here is link to AS/JS/VB CS2 reference and AS CS3 reference
    http://www.indesignscriptingreference.com/
    here is link to CS2 ScriptingGuide - 20MB ;)
    http://www.adobe.com/products/indesign/pdfs/InDesign_Scripting_Reference.pdf
    I remember that was page with InDesign Scripting PDFs on adobe site - but now all links are broken ... somebody in Adobe - web admin - should check what is going on ...
    Photoshop and Illustrator pages works fine:
    http://www.adobe.com/devnet/photoshop/scripting/
    http://www.adobe.com/devnet/illustrator/scripting/
    somebody forgot to add links to scripting section in InDesign page:
    http://www.adobe.com/devnet/indesign/
    robin
    www.adobescripts.com

  • [ANN] InDesign CC 2014 Document Object Model Documentation

    I've freshly rendered an alternative documentation for Adobe ExtendScript API and the InDesign Object Model.
    InDesign ExtendScript API (10.0)
    I don't like the representation in the Object Model Viewer provided by the Adobe ExtendScript Toolkit and hence used the HTML Version from Jongware on a daily basis. However these files are only up to InDesign CS6 and not searchable. So I started to convert them on my own. If you feel familiar with the structure and layout from Jongware files, this is not by chance, because I'm totally used to it.
    Feel free to browse the documentation, download a copy for offline usage (Unfortunately the offline search function will not work in Chrome). The sources of the Transformation can be found on github. The copyright of the original Files is by Adobe Systems Incorporated.
    I'm happy about Feedback and Bug reports. Keep in mind that the doucmentation sources are written by Adobe and I can only corret transformation errors!
    Acknowledgements
    This project ist based on the fantastic ExtendScript API HTML from [Jongware]. Without his efforts and inspiration I would not have realized it. Thank You!

    Hello Jongware!
    After a couple of changes for ID CC2014 as you'll note below (" -> ', and, Object Styles) to an old couple lines of your code, I got the following to work beautifully to delete all the unused Indesign styles in a document off a hot key. A real time saver!
    //DeleteAllUnusedStyles
    app.menus.item('Paragraph Style Panel Menu').menuItems.item('Select All Unused').associatedMenuAction.invoke();
    app.menus.item('Paragraph Style Panel Menu').menuItems.item('Delete Styles…').associatedMenuAction.invoke();
    app.menus.item('Character Style Panel Menu').menuItems.item('Select All Unused').associatedMenuAction.invoke();
    app.menus.item('Character Style Panel Menu').menuItems.item('Delete Styles…').associatedMenuAction.invoke();
    app.menus.item('Object Styles Panel Menu').menuItems.item('Select All Unused').associatedMenuAction.invoke();
    app.menus.item('Object Styles Panel Menu').menuItems.item('Delete Styles…').associatedMenuAction.invoke();
    The only thing stopping me from popping it into a loop to do a whole book at once (a trick I got from your excellent show-hide layers script) is that I don't know how to "Check The Box" in the ID UI that opens as it does each panel to make it "Apply To All". I'm sure it's quite simple but I've been through your handy dandy Script classes list, and ExtendScript, 'til I'm blue in the face and can't take it any more.
    Can you offer me a hint where to look?
    Best Regards,
    HP

  • Help to find out some of the object model for InDesign preference

    Hi All,
    I'm writing script to update the specific client preferences for each and every preferences of InDesign CS5. I couldn't find some of the object models in Extendscript help. If someone knows, please help to find out this.
    These are the list. Also refer screenshot.
    1. Dictionary Preference - Language English: USA
                                          Hyphenation
                                          Spelling
                                          Double Quotes 
                                          Single Quotes 
    2. Autocorrect Preference - Language English: USA
    3. File Handling Preference - Default Relink Folder
    Many thanks in advance.
    Peru.

    I looked and was not able to find a way to do this.

  • Mapping action script object to mx:model object

    Hi all,
    I am having an action script class and an mx:model element
    with same elements. I want to assign an action script object to
    this mx:model. How can I do that one?
    Let me state it clearly.
    Say, my action script class contains two elements - user and
    rollno with required getter and setter methods.
    And I am having an mx:model element with the following
    format.
    <mx:model id="data">
    <data>
    <user/>
    <rollno/>
    </data>
    </mx:model>
    I want to assign an instance of action script class to this
    model object.
    I tried extending action action script class from Objectproxy
    and used data=actionscriptinstance.
    But it's not working properly.
    Is there anyway I can do this one?
    Thanks in advance

    The quick answer:
    <mx:model id="data">
    <data>
    <user>{ myASObj.user }</user>
    <rollno>{ myASObj.rollNo}</rollno>
    </data>
    </mx:model>
    The bigger question might be, "Why have the mx:Model?"
    The Model tag is all Strings, so you lose data typing.
    Why not just create a value object (VO) for your user data
    and pass that around?
    package samples.user {
    [Bindable]
    [RemoteClass(alias="samples.user.User")]
    public class User {
    public var user:String;
    public var rollNo:int;
    Then when the result data returns, cast to the VO.
    public var user:User = (eventObj.result as User)

  • ESTK Indesign Object Model

    Hi All,
    How to deal with InDesing Object Model in ESTK? Is anybody have any manual or reference?
    I am having problem to understand classes (singular and plural) and method. I have not found any reference in Java script Tool Guide.
    Please guide me.
    Thanks,
    Mon

    Mon,
    The distinction between singular and plural is an artificial one. The plural refers to a class of objects, the singular to inividual objects. Take page, for instance. Under pages you see methods such as add(). Under page you see methods (move(), remove()) and properties (length, characters). But page doesn't exist as an object: instead you address an item in the class. Some examples:
    Relating to the whole class:
    myDoc.pages.add()  // add a page to the document's pages collection
    myDoc.pages.length  // the number of pages in the document
    Relating to individual pages:
    myDoc.pages.item(0).textFrames  // the text frames on the first page
    myDoc.pages.item(1).groups  // the groups on page 2
    As tomaxxi mentioned, Jongware files are very good. For some more explanation of the object model, see http://oreilly.com/catalog/9780596802523/
    Peter

  • How to connect to Indesign object model from VBA (Macintosh_Office)?

    In PC it was: find/load tlb-file and chek box to activate. In Mac i don't see any tlb-files, so can't add this lib to VBA reference. Can i do this at all?

    Hi,
    According to your description, you might want to connect SharePoint Online environment using Client Object Model.
    For the authentication, you can take a look at the link below with code demo provided:
    http://www.vrdmn.com/2013/01/authenticating-net-client-object-model.html
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

  • Canvas support in Indesign scripts?

    Hi there,
    short version:
    I was wondering if it is possible in any way to include auto generated raster content (Using canvas api for example) in in-design using JavaScript?
    Long version:
    I noticed that In-design supports a very old version of JavaScript, and since I'm pretty new to InDesign scripting I thought it's better to get informed about its capability / limitations before planing about what to do with it! I wrote a Javascript code (not in in-design script) that generates unique random patterns of motifs, now I'm interested if I can integrate it in in-design scripts so it would put one of this raster images in each page of an in-design document (IE: left and right side of each relatively facing pages);
    also since my first guess after studying a bit In-design's object-model documentation was that it is very much limited to just what is possible through the software UI itself (and not any/some thing new/more), then I was wondering (in that case) how much is it possible to hook an script to an external script, and sending and receiving data/vars between them; like putting both scripts in the same folder, the first one calls the other one giving it some info (document dimensions, etc.), the second script runs (outside of ID), put the images on disk and return to main script when it's done!! :/
    I have some other solution sketches as well in my mind, but wanted to have your input before doing anything ridiculous!! :-)))
    I really appreciate your in-put on this,
    thx, mim,

    And yeah! It looks like I can execute an external file of any type!
    After reading and looking for a while, finally:
    In 52th page of documentation it says:
    execute()
    fileObj.execute ()
    Opens this file using the appropriate application, as if it had been double-clicked in a file browser. You can use this method to run scripts, launch applications, and so on
    Voila! Exactly what I need (If what I think I need is actually what I need! indeed!!)
    I'll try to see if it works later on (impatient actually!), and thx again!
    ,mim

  • ExtendScript2 CS3 Object Model Viewer (very complicated - any alternative viewer ??)

    hallo iam just starting with JavaScript in CS3 and what i found most confusing is the Adobe's Object Model Viewer in ExtendScript2...
    its no help whatsoever and i didnt figure out the logics of the various dictionary items listed, whatsoever...
    if this is currentlly the only complete reference to CS3 JavaScript model than god help us....
    the ExtendScript2 Object Model Viewer needs to be COMPLETELLY REWORKED to become a full powered dictionary tool instead of an unorganized pile of items
    have you tried InDesign CS3 AppleScript Dictionary in Apple's ScriptEditor... thats a dictionary of object model as i would imagine
    1) its FULLY tree-structured dictionary from topmost level down
    2) all items are categorized and sorted BY TYPE using various icons
    3) every item has a properties catalog card with nice english explanations of that function with hyperlinks to all other relevant items
    IS THERE ANY ALTERNATIVE TO VIEW CS3 JAVASCRIPT OBJECT MODEL AND NOT USE THE EXTENDSCRIPT2 WEAK VIEWER ?????

    Hi Rosta,
    I have to admit that I don't understand. I see very little difference between the ESTK object model viewer and the AppleScript dictionary viewer. If anything, I think the ESTK version is superior because it connects methods with their objects--something that the AppleScript viewer doesn't do at all. But I pretty much find them equivalent.
    Regardless, the descriptions are *identical* between the object model viewer in the ESTK, the AppleScript dictionary viewer, and the Visual Basic/VBA object browser. All descriptions come from the scripting resources in InDesign, and all languages use the same description string.
    Jongware's HTML version, however, is much better than any of the above. Its hyperlinking is very good, and everything else can be found with your browser's Find command.
    Relying on the object model viewers has freed me from the task of maintaining the reference PDFs--which was taking almost all of my time. Without that burden, I can focus on writing the Scripting Guides, Scripting Tutorial, and example scripts. While I agree that the object model viewers aren't perfect, I believe that this is a better use of my time. I think that scripting examples are more useful, overall, than reference documentation (which simply repeats the information from the scripting resources, in any case).
    One very nice thing--because we have to rely on the object model viewers, we were allowed to fix literally hundreds of errors in the descriptions in the scripting resources.
    Thanks,
    Ole

  • ExtendScript Toolkit - Object Model Viewer

    Hi all,
    I know there's not really a way around this but I'm curious if anyone knows why the Object Model Viewer in ExtendScript Toolkit doesn't have After Effects Object Model in the Browser dropdown?  It has it for Bridge, InDesign, Illustrator and Photoshop. 
    Not that jumping into the AE Scripting Guide is much of a pain...but it just seems like it would be appropriate to have it inside ESTK...

    In my opinion, this should be one of the top priorities of the ESTK. It has been a constant frustration for me over the last everal years that this hasn't been included for After Effects. I can't tell you how many hours I've wasted trying to look up examples in the scripting guide and other people's work when it would have been far faster with this feature. To me without this, it seems the that particular tool (ESTK) has made very little improvements that are obvious to me, especially with the fact that my scripts run far slower in newer versions of After Effects since CS4.

  • How do I start learning InDesign Scripting?

    Hello Everyone!
    I just cut down my workflow from 40 hours per document to less than 20 using scripts! So exciting!
    Can anyone suggest a good recent book or online resource to start learning scripting for Indesign?
    I'm loving what we can do with scripts, but I want to start understanding what exactly I'm doing, not just how to do it.
    Thanks a bunch!
    Amy

    Hi, Amy!
    A good start would be the following books:
    Grant Gamble
    InDesign CS5 Automation – Using XML & JavaScript
    Peter Kahrel
    Scripting InDesign CS3/4 with JavaScript
    Scripting InDesign CS3/4 with JavaScript - O'Reilly Media
    And the DOM (Document Object Model) documentation here (especially the chm files):
    Indesign JavaScript Help
    For German readers also:
    Gregor Fellenz
    InDesign automatisieren
    InDesign automatisieren
    Uwe

  • Basic doubt in InDesign Scripting

    Hi All,
    I have little bit knowledge in InDesign Scripting, but i have not rectify the below error.
    Take an example,
    I want to move "Footnote" styled paragraphs to another frame or another document. I have followed the below steps.
    1. Find parastyle
    2. Matched para's assigned to array
    3. using the array i am going to move.
    In this logic, First para moved perfectly, but other paras are totally changed.
    It is happend because of para index changed at the time of moving. How to avoid this problem?
    Regards,
    sudar.

    findText() and its cousins have an optional argument to reverse the order of the results.
    At least that's what the object model says.
    Dirk

Maybe you are looking for

  • Loading Master Data from a Flat File

    Hi Guru, I have flat files of different SAP tables (Transactional data tables and Master Data ), I want to upload this flat files to a DSO, my question is in the case of Master Data Files example SAP table USR03 ( User Address Data) in a Flat file fo

  • What if Terminated

    Dear All Can anyone help me in explaining how to set up the functionality What if I terminate in employee self-service. In vision instance by default it is there, but in our insatnce it is not there. Do we need to do any setup for this? Is there any

  • V4.1 "You cannot perform this action in this region of the page" Bug?

    I am receiving an "You cannot perform this action in this region of the page" error when I try to add a link to an image. And yes I am in an editable region. The weird thing is, for the images that already have links, I can edit them successfully, bu

  • One file swf

    Hi Is anyone know how can i connect all file ine one in captivate 3 ? I create one project with is consist of diferent parts - demonstrations, symulation quize when I use publish option i get couple different files swf . thx for Your help Edyta

  • FTP Passwords not retained.  Business Catalyst widget not functioning correctly

    I am using OS X 10.10.3, Dreamweaver 2014.1.1 Build 6982. I am unable to connect to my remote server through business catalyst.  it tells me that my credentials are incorrect and to check the settings. I check my credentials for the ftp server and it