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

Similar Messages

  • How can i start learning designer6i i am new

    hello,
    i am new for designer6i & not finding appropriate guidance for this can i find some tutorial for designer6i which will help me for learning designer6i.
    Please guide me how can i start learning.
    thanks's in advance
    pradip mistry

    Pradip,
    There is a fairly good tutorial built into designer 6i. It doesn't automatically install, you must do that yourself. The option is available in your start menu after a successful installation.
    I haven't found even one book for Designer 6i.

  • How do I get to Indesign scripting page. Thank you

    How do I get to Indesign scripting page. Thank you

    Here you go for the Scripting Forum for InDesign:
    InDesign Scripting
    Uwe

  • Best resources for learning InDesign scripting

    Hello,
    I am teaching myself scripting in InDesign and having problems with the help systems.
    I read the scripting docs from Adobe, examine free scripts and use the help in the ExtendScript Toolkit but I lack an education in javascript to really do well.
    What books or online resources do you think could help me go from tinkerer to amateur scripter ?
    Thanks in advance,
    emmanuel.

    In my experience as a learner, there is no substitute for trial and error. Olav Kvern's very helpful comments in his numerous examples (with very helpful explanatory comments) are a great start, because they enable anyone to start experimenting on their own. And I return to his examples practically every day. They answer such simple questions as "How do I open a new document?", as well as giving very clear, well-commented examples of stuff that I would otherwise find completely impossible -- such as "How do I rotate a text frame around the top-left corner?"
    I'm no longer a complete beginner, but I am very much a learner still, and I think trail and error is THE way to learn anything, especially scripting. When I started off, it was about 99% error. Now I've got it down to about 75% error. But I nearly always end up with a script that works, after a struggle that is every bit as enjoyable as it is maddening, and it's a huge sense of achievement when I get there. Some gullible folks have even paid me money for this -- I have one in the pipeline for tomorrow!
    Rather than reading too much stuff written by experts, I would urge you to experiment as much as possible, just by playing around to see what works and what doesn't work. Don't be discouraged if it doesn't work first time. I'll bet even scripting experts (most of whom are on this list) fail on almost every first attempt. After you get one modest script to work, and then another, you'll build up a sort of "library of past scripting achievements" in your head (and in your scripts panel). Nowadays, every time I start a script, I think of how I successfully managed to do something like it before -- and I build from there.
    Good luck with it -- Jeremy

  • How can I get my Indesign script to apply to all pages in the document?

    My script (java) shown below will only apply to the first page of the document. How can i get it to apply to all pages of my document? What am I missing? Thanks.
    scirpt:
    myDocument = app.activeDocument
    with (myDocument.pages.item(0).marginPreferences){
    columnCount = 1;
    //columnGutter can be a number or a measurement string.
    columnGutter = "0";
    bottom = "0"
    //When document.documentPreferences.facingPages == true,
    //"left" means inside; "right" means outside.
    left = "0"
    right = "0"
    top = "0"
    inside = "0"

    Hi,
    You have to iterate through all pages.marginPreferences:
    var
      myDocument = app.activeDocument,
      allPagesMaPref = myDocument.pages.everyItem().marginPreferences,
      curPageMaPref;
    while ( curPageMaPref = allPagesMaPref.pop() )
      with (curPageMaPref) {
      columnCount = 1;
      //columnGutter can be a number or a measurement string.
      columnGutter = "0";
      bottom = "0"
      //When document.documentPreferences.facingPages == true,
      //"left" means inside; "right" means outside.
      left = "40"
      right = "0"
      top = "0"
      inside = "0"
    Jarek

  • How a new one start learning SAP MDM

    Hi All,
    I am the new in SAP MDM, So Pls. guide me how to I start learning SAP MDM, what is the easy reference book with example or any document that guide me step by steps. Can I install Dummy SAP MDM server at our home for learning purpose.
    Pls. help me. In India right now client using web based SAP MDM or console based? Any one have their own manual that great help me. Pls. also provide your number on which I can contact for any help.
    Regards
    V V Shukla

    Here you can find the access point to all the MDM materials (blog, articles, elearning, documentation). If you need something in detail please let me know:
    Enterprise Master Data Management
    Here the SAP Help for MDM:
    http://help.sap.com/saphelp_mdm550/helpdata/en/43/D7AED5058201B4E10000000A11466F/frameset.htm
    Hope this help you.
    And if you want more link then put MDM Learning and perform a search, you will get similar threads.

  • Learning to Script

    I'd like to learn InDesign scripting.  I have very little experience.  Where can I start? Where can I progress?
    Thanks!

    Hi,
    Im new too in the developpement of javascript extension … But I can explain to you witch documentation I readed:
    – First, you have to know how to developpe scripts with JavaScript (a progamming language)
    Do you have some knowledge in programming?
    – then you can read the Adobe Javascript Documentation, Adobe give many examples of scripts
    http://www.adobe.com/devnet/indesign/sdk.html
    – use the application ExtendScript Toolkit to write your scripts
    I would like to do this in the following order:
    – learn a programming language like Javascript
    – read the documentation and follow the examples
    Bye

  • How I can start my career in BI

    Hi frnds,
    Currently I am working as a PL SQL developer.It is a kind of IFS ERP related support.Already we are doing Quick report all those things..How I can start learning this OBIEE I have more interest on that....any specific website is there for learning OBIEE......

    Hi,
    Refer below link
    http://www.oracle.com/technetwork/middleware/bi-enterprise-edition/tutorials/index.html
    http://obiee101.blogspot.com/2009/07/obiee-how-to-get-started.html
    http://www.rittmanmead.com/blog/
    http://www.oracle.com/technetwork/middleware/bi-enterprise-edition/tutorials/index.html
    http://docs.oracle.com/cd/E23943_01/bi.htm
    Thanks
    Deva

  • InDesign CS4 Scripting Help how i can start scripting

    Hi all,
    I'm new to Indesign Scripting, and I'm hoping someone can help me with the following Apple/Java_Script which script language (Apple/Java) good for me.
    (1) Adobe InDesign CS4 Apple/JavaScript tutorial (.PDF/Text/ExampleScript)
    (2) How i can start scripting ???
    I'm working Adobe InDesign/QuarkXpress with ETMV2 with (Pearson DTD/IDML) as a Operator last 4 Year. I want learn Scripting.
    Any one Help/Suggest i really appreciated!
    Thank's
    snegig
    email => [email protected]

    Thank you so much!
    Kudos to you.

  • How to learn java script in indesign

    Dear Sir,
    I am a template designer, I am interesting on Indesign scripting but I don't know basic knowledge in software languages. So Please help me which languages i should learn for indesign scripting. (some of them saying C language is must). Is c language is essential or Shall i go directly with java script. And also i want Beginners indesign scripting guide (not advanced) and give me some tips how should i develop skills in a short period. Please advice me.

    +1
    What we call here "InDesign JavaScript" (DOM+language) is syntactically based on Adobe ExtendScript, which derives from E4X (ECMAScript for XML) and ECMAScript itself. (JavaScript is known as an implementation of the ECMAScript standard.)
    In short terms, "InDesign JS" as a language should somewhat implement the ECMAScript and E4X specifications, i.e. ECMA-262 and ECMA-357:
    1) http://www.ecma-international.org/publications/standards/Ecma-262.htm
    2) http://www.ecma-international.org/publications/standards/Ecma-357.htm
    It is true that the JavaScript's syntax and conventions contain familiar echoes from C or even Java, but these languages are definitely different on the semantic level and I really don't believe it's a good idea to learn C before learning JS.
    Here are a few links I would add to this discussion:
    The basics:
    – Eloquent JavaScript (Marijn Haverbeke): http://eloquentjavascript.net/
    – JavaScript Guide (MDN): https://developer.mozilla.org/en/JavaScript/Guide
    – Douglas Crockford on JavaScript: http://javascript.crockford.com/
    Advanced articles and resources:
    – Peter Michaux (see "JavaScript Language"): http://peter.michaux.ca/
    – Learning Advanced JavaScript (John Resig's tutorial): http://ejohn.org/apps/learn/
    – Higher-Order JavaScript (Sean M. Burke): http://interglacial.com/hoj/hoj.html
    – Annotated ECMAScript 5.1 (next spec., in the making): http://es5.github.com/
    @+
    Marc

  • How to Run Indesign Script in a file from plugin code in CS4?

    Hi,<br />I have the code to execute the InDesign script stored in external file for InDesign CS3.<br /><br />InterfacePtr<IScriptManager> scriptManager(Utils<IScriptUtils>()->QueryScriptManager(kJavaScriptMgrBoss)); <br />InterfacePtr<IScriptRunner> scriptRunner(scriptManager, UseDefaultIID()); <br />     IDFile scriptFile(scriptFilePath); <br />     if (scriptRunner->CanHandleFile(scriptFile)) <br />     { <br />       ScriptData returnValue; <br />       PMString errorString; <br />       ErrorCode error = scriptRunner->RunFile(scriptFile); <br />         ASSERT(error == kSuccess); <br />     } <br /><br />But the RunFile() method is cs4 expects an additional argument of the type RunScriptParams. <br />Someone please show me with a code snippet on how to excute a script file in CS4??

    Dear Ian
      Here I'm used the below coding in CS3, Its working fine....
    //In CS3 Coding
      PMString jsFullPath("c:\\windows\\sample.jsx"); // a path to my java script file
    do
    const
    IDFile outFile(jsFullPath);InterfacePtr<IScriptManager> scriptManager(Utils<IScriptUtils>()->QueryScriptManager(kJavaScriptMgrBoss));
    ASSERT( scriptManager ) ;
    InterfacePtr<IScriptRunner> scriptRunner(scriptManager,UseDefaultIID());
    ASSERT( scriptRunner ) ;
    if(scriptManager){
    InterfacePtr<IScriptRunner>scriptRunner(scriptManager,UseDefaultIID());
    RunScriptParams params(scriptRunner);
    ErrorCode err = scriptRunner->RunFile(outFile, kTrue, kFalse);
    while(kFalse);
    But the same time I used this coding in CS4, Its not woking
    //In CS4 Coding
    PMString jsFullPath("c:\\windows\\MacID\\BIN\\sample.jsx"); // a path to my java script file
    do
    const
    IDFile outFile(jsFullPath);InterfacePtr<IScriptManager> scriptManager(Utils<IScriptUtils>()->QueryScriptManager(kJavaScriptMgrBoss));
    ASSERT( scriptManager ) ;
    InterfacePtr<IScriptRunner> scriptRunner(scriptManager,UseDefaultIID());
    ASSERT( scriptRunner ) ;
    if
    (scriptManager){
    InterfacePtr<IScriptRunner>scriptRunner(scriptManager,UseDefaultIID());
    RunScriptParams params(scriptRunner);
    ErrorCode err = scriptRunner->RunFile(outFile, params);
    while(kFalse);
    I changed the "RunFile" arguments also
    RunScriptParams params(scriptRunner);
    ErrorCode err = scriptRunner->RunFile(outFile, params);
    But Still I'm facing the problem in InDesign CS4.  That's mean  "Adobe InDesign CS4" shout down for serious error happend.
    Please kindly help me, for solving this problem.
    Thanks & Regards
    T.R.Harihara Sudhan
    Message was edited by: Adobe-InDesign CS4

  • I am new in indesign scripting, please tell me how to write a script to get  content of a element in xml and then sort all the content

    I am new in indesign scripting, please tell me how to write a script to get  content of a element in xml and then sort all the content

    Hi,
    May the below code is useful for you, but I dont know how to sort.
    Edit the tag as per your job request.
    alert(app.activeDocument.xmlElements[0].contents)
    //Second alert
    var xe = app.activeDocument.xmlElements[0].evaluateXPathExpression("//marginalnote");
    alert(xe.length)
    for(i=0; i<xe.length; i++)
        alert(xe[i].texts[0].contents)
    Regards
    Siraj

  • I'm a new java learner from china,how should I start my journey?

    I have never learned java before,how should I start it? Dose it hard to learn?
    At the beginning,which part of it should I learn?
    Thank you !

    Advice:
    1. Learn the basics with simple command line applications first. Don't worry about complicated topics like Swing, databases, Web applications, etc. for at six months
    2. After you learn how to write, compile & run programs with just a text editor & Java compiler, download & learn to use an Integrated Development Environment, such as Eclipse. Especially, learn how to use the debugger that comes with the IDE.
    3. Experiment with lots of small programs & examples. Learn by doing (and by making mistakes).
    4 Find others in your community who use Java & learn from them.

  • How to start learning jdeveloper

    Hi friends
    I am working in oracle forms 6i and 9i. I am very much interested to learn oracle jdeveloper.My friends saying java knowlege is must for learning jdeveloper. Is it true.I don't have much knowlege in java.
    Pls guide me how and where to start learning jdeveloper
    Dev

    Hi Abu,
    Do you mind if I send you an email too,to get a copy of the materials as well??
    Regards,
    --zoheb.                                                                                                                                                                                                                               

  • How to start learning Weblogic Administration

    Hi,
    I am working as an oracle DBA. I want to start learning Weblogic Administration and troubleshooting too. I am a newbie and for exposure I have installed Weblogic on my laptop.
    I want you to guide me how to proceed learning and getting expertise considering I'm a newbie.
    Any online tutorial? Any good book?
    Regards,

    This (http://middlewaremagic.com/weblogic/?p=7265) presents a step-by-step example that introduces a lot of different aspects for WebLogic Server.
    The links in the post provide extra information in the context of a particular subject.
    An other option is to follow some course (http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getCourseDesc?dc=D58682GC20&p_org_id=1001&lang=US)

Maybe you are looking for

  • Unable to log into WRT1200N

    I host a Minecraft server, and until a few days ago everything worked fine, but now no one can log onto the server. Troubleshooting, I discovered I am unable to access my WRT1200N at all unless I use Simple Port Forwarding. When trying 192.168.1.1, a

  • Swing disabled components look and feel problem.

    Hi All, I have a Swing application. My system is recently upgraded to JRE 1.6 and I'm facing problem with look and feel of swing components when they are disabled. Color of disabled components is very faint and its being difficult to read the text in

  • Windows cannot read the application install dvd

    hi i finished installing windows on my macbook pro. i m at the step where ur supposed to put the application dvd to finish the installation. but it says that the disk is damaged and something like that and windows cannot read it. but when i try to re

  • Rman dataguard script for oracle10g

    Dear Friends , I am going to configure oracle10g dataguard on oracle wnterprise linux  5.0 . I am trying to do this configuration using RMAN .   After succesfully configuration of the PRIMARY End as well as I am going to configure standby end . n the

  • Role Config Key when testing component using BSPWD_CMP_TEST?

    Hello, I have component view for which we have done some configuration change and saved with some Config Key. This key has been already assigned to the business role. Now when testing this component how can I force the component to load the view base