InDesign CS5 and CS6 Scripting Changes/Incompatibilities

I'm new to InDesign scripting and need to write a very complex Javascript for InDesign using the Toolkit. My concerns are if CS5/5.5 users will be able to run the script written for CS6. Are there known incompatibilities with the different releases? If so, where can I find a document to compare the differences. I will probably need to support both CS5 and CS6 (and anything in between), so a possibly solution may be to build for CS5, but if I do, will I be missing out on any key new features of CS6?

There are differences from 1 DOM version to another and they can and will break your script if you haven't designed it to handle them. For example:
If you want to use script labels like me (because they are awesome) the following will break if you use CS5 or later:
app.activeDocument.pageItems.item("myLabel").remove();
So you'd have to force the DOM to V6.0. But when doing so remember to revert back to the original version after you're done or you'll create bigger problems. This can be done like this:
app.scriptPreferences.version = 6.0; // CS4's DOM version
app.activeDocument.pageItems.item("myLabel").remove();
app.scriptPreferences.version = 10.2; // Current CC DOM version
This is very inconvenient (for me at least), so I wrap functions that require DOM changes with a custom version changer to handle this for me. In regards to a list of incompatibilities? Not sure, maybe someone here has one, I know Jongware has a website with all the DOM changes from 1 version to another. This can be found here:
Indesign JavaScript Help
Hope this helps.
Brett

Similar Messages

  • Indesign CS5 and CS6 crashing

    OSX 10.7.5
    Working in Indesign CS5 and CS6 on the same computer. Opening multiple different documents, it will crash either while browsing the file, closing, or saving at random intervals.
    Indesign CS5 crash:
    http://pastebin.com/mWyFgWVv
    Crashed Thread:  0  Main Thread  Dispatch queue: com.apple.main-thread
    Exception Type:  EXC_BAD_ACCESS (SIGBUS)
    Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000001
    Indesign CS6 crash:
    http://pastebin.com/B3jJM7cr
    Crashed Thread:  0  Main Thread  Dispatch queue: com.apple.main-thread
    Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0x00000000ffffffff
    Using Universal Type Server 3 client for fonts. I tried doing a synchronize and reset, and reactivating all of the fonts, but this did not help.

    Is Universal Type Server updated to the latest version? Is InDesign the only program you're facing issues with? Are you working with the document that is located in a network location? Try saving the file locally to your computer and see if you can replicate the crash. Clean the InDesign cache location by dragging the en_US folder from the following location: Macintosh HD/Users/Username/Library/Caches/Adobe InDesign/version 7.0 or version 8.0/ for both CS5 and CS6. If you can't see the Library, then use the Go menu of the Finder holding down the Alt key on the keyboard to make the Library visible inside the Go menu and navigate to it that way.
    Once you've cleaned the cache, re-launch InDesign and open your document to edit. Do not activate all fonts using the UTS, just activate the fonts that you used in your document to test for crash. If ID still crashes, then replace fonts by local fonts and test for crash.
    Change the Display performance settings from Preferences to Fast for both Options panel and Adjust view settings panel and test for crash.

  • Line thickness problem in indesign CS5 and CS6

    I use indesign CS5 and many short lines of 0.5 point in my project.
    After export to pdf (press) everything seems correct. After rip process from printer office in compressed file lines seems to have different thickness even on large zoom (400%).
    High quality pdf from rip prepared by printer office still shows small differences in thickness. Lines are in one solid color in my project.
    What is the source of this problem? 0.5 point ines seems not extremely thin.
    If the line is not sharp in pdf will it be not sharp in press?

    I wouldn't go off what I see on screen. I'd be asking the printer for a hi-res proof. If that's not satisfactory they could run a test on offcuts on another print job to see where the problem lies.
    One reason for different linethickness could be that the lines are interacting with transparent areas, giving the appearance of thicker, or could be physically changing the width by a few decimals.
    I'd try putting any of the thin lines on their own layer - and perhaps try different PDF compatibilities, from PDF 1.3 to PDF 1.4 etc.

  • Save InDesign CS5 and CS6, js

    Hi,
    I need to save InDesign CS5 files as CS6 and overwrite the original, but I am not getting the save line correctly:
    myDoc.save(myDocPath+"/"+myDocName, indesign-8.0, true);
    What am I don't wrong?
    Thank you.
    Yulia

    Wow - I never noticed that a Converted doc does not have a valid name OR a valid fullName, unless it has been Saved once -- only the filePath is valid!  (So a Converted doc behaves pretty much like a New Untitled doc.)
    Off-hand, I don't see any other way to get the original doc name of a just-Converted doc.
    But why not have the script open the ID CS5 document in ID CS6? ... then you can grab the File or path of the document before it is even open.
    You must have a lot of documents to convert anyway, right? Otherwise you wouldn't need a script. So it seems like what you really want is something like a script that converts all of the CS5 documents in a folder to CS6. If so, it is not a very hard script to write, and I'll bet that someone has one already laying around...

  • Appcrash when closing Indesign CS5 and CS6

    Hello,
    Whenever a particular user closes Indesign CS5/6 with a file opened, the following appcrash appears. If there are no files open, and the client is opened, the crash does not happen when you close it.
    Problem signature:
      Problem Event Name:                        APPCRASH
      Application Name:                             InDesign.exe
      Application Version:                           7.0.4.553
      Application Timestamp:                     4d890440
      Fault Module Name:                          Public.dll
      Fault Module Version:                        7.0.4.553
      Fault Module Timestamp:                  4d8903ca
      Exception Code:                                  c0000005
      Exception Offset:                                00177873
      OS Version:                                          6.1.7601.2.1.0.256.4
      Locale ID:                                             1033
      Additional Information 1:                  0a9e
      Additional Information 2:                  0a9e372d3b4ad19135b953a78882e789
      Additional Information 3:                  0a9e
      Additional Information 4:                  0a9e372d3b4ad19135b953a78882e789
    Read our privacy statement online:
      http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
    If the online privacy statement is not available, please read our privacy statement offline:
      C:\Windows\system32\en-US\erofflps.txt
    I've tried uninstalling, reinstalling CS5 - with updates, as well setting preferences back to default.
    Any recommendations to resolve this issue would be great. Thanks!

    I suppose the obvious solution is train users to close files before they close the application.
    All kidding aside, the user test says it's either a damaged installation, or a system configuration/software conflict issue. Reinstalling might fix it if it's a damaged install, but won't help for configuationor software conflict. Unfortunately, Windows crash logs are pretty useless as far as diagnosing something like this, so it comes down to best guess and trial and error. You might want to turn off stuff in MSConfig and see if the crashing stops.

  • Indesign CS5 and CS6 crash at start up!!!!!!

    Help, Indesign CS 5 and CS6 crash at startup- on Mac OS 10.9.5 Mavericks
    Seems to crash at starting registry
    I have installed all the updates and patches, comes up with a long error log
    Can anyone help

    Ask in the ID forum and provide exact info like the actual error log/ crash report and what Mac.
    Mylenium

  • Hyperlink issues in InDesign CS5 and CS6

    This might be obvious, but it's driving me insane. I'm highlighting text and linking to external URL's from InDesign.  In InDesign it seems to keep rewriting the hyperlinks?  When I highlight and change it to a specific URL, I'll highlight another one and then the previous hyperlink goes to another URL in my hyperlinks list?  Does this make sense?  Anyone else have this problem?  I'm just trying to build a resume and link to websites.  Microsoft Word does this fine.  Any help would be greatly appreciated. 
    Thanks,
    Gerry

    Works fine for me, might be the process of how you create the links. My process is simple, I highlight the text "One", and then in the URL: box type in the website then hit return when done.
    Thinking this thorugh some more, I believe you may be not selecting the entire hyperlink use "Go To Source" to select the link entirely.

  • InDesign CS5 and InCopy CS3

    I work at a weekly newspaper, and we have been using and InDesign/InCopy workflow for several years. The Reporters use InDesign CS2 (never did get around to installing the CS3 upgrades we bought because at first the computers they use wouldn't handle it, and after the computer upgrades got done all around, no one ever bothered). After the stories are written, the editor reviews them in InCopy, then releases them to the page designers who are now working in InDesign CS3 as part of Standard and Premium Suites.
    We are considering upgrading to InDesign CS5, but absolutely NONE of the reporters or the editor needs (or will ever use) the listed improvements included in InCopy CS5. Since there are nine InCopy products in the office, and as everyone knows the economy sucks - especially for PRINTED NEWSPAPERS these days, we really hate to have to upgrade just for upgrades sake.
    I have downloaded InDesign CS5 trial to check if our CS3 files will open and work in it, after reading an article published in the Washington Newspaper, a publication put out by the Washington Newspaper Publishers Association, reported that one of the state's newspapers happily upgraded to CS5 and had a nightmare of problems just opening their CS4 files. This has my editor very nervious about us upgrading. So... I'm testing it out, and I can't place, then open and edit our CS3 Incopy Files. I get a message that says "this story needs toa be converted to "InCopy Document" format to edit it. I've saved it in InCopy CS3 to both incx and incd formats, and both receive the error. Has Adobe made simple InCopy files incompatible with InDesign? I can import files from just about everywhere BUT InCopy??? The Sister Program?
    Please advise a simple work around, or I'll bet our upgrade is totally put off.
    Daria Lacy
    The Reflector

    Bob,
    I have to feel that you aren't really reading my posts. While I did mention that our reporters and editor lessentially use InCopy for a word processing program, I did specifically mention in my last post that we use the program for exactly what it was originally intended, for reporters to write and edit, for designers to layout the text, and for writers/and or correction people to get into the files and fix problems - up until the last minute, so yes, we do need to use InCopy, in the manner we were told it was developed for. We don't use it for viewing layouts - that's what InDesign is for.
    PLUS, none of our reporters have time, inclination or need to view the layout as it appears in InDesign. If they did, we'd get InDesign for them. They are busy investigating and writing stories, they don't have time to learn even the basics of layout, and frankly, they don't even want to. The one single reporter that is interested has learned some of the basics of InDesign, but she doesn't use it on a regular basis, and dosn't need or want to view the pages. She does need and want to edit a story occasionally even after it's been placed into the layout, but she want's to view it as the same copy she wrote, so she can do it quickly, not as a page layout she has to hunt thru it and every other story on the page to find the problem.
    I don't mind Adobe stopping selling older versions - don't blame them at all on that one - if you're buying a new product - go buy the latest and greatest. If the version didn't matter, you wouldn't have to worry if about matching your other versions and you wouldn't need to find an old version. But why BUILD IN obselecense in a PART of a system within just a couple of years. We're using CS3 InDesign, yes, but we bought it just shortly before they came out with CS4. If we'd known when the release would be (we don't track the industry close enough to be checking on when release dates are "expected" to be) we'd have probably waited the 4 months and upgraded to that. But time wise, we haven't had the CS3 THAT long, so I don't go along with the "two versions back is too old" theory.
    I'm afraid I don't quite see why the text fit would change from one version to another when the fit is based on font, text size, etc. And that doesn't change, Times Roman, 10.5 point on 10.7 leading...  And as far as split/span/balanced column features and mutiple page sizes - those aren't going to affect our work flow at all. All we need is the ability to write text, and edit that text from other desks besides the designers, as well as the designers being able to open the file to fix headline size in InDesign.
    As for the reporters getting the trial version and trying it out - did you miss where I mentioned that we provided CS3 to all of them, and pretty much none of them bothered to load it onto their computers??? They don't want any bells and whistles. They want to keep going as they are going.
    If they wanted to go to the latest and greatest - it'd wouldnt' be an issue - but they don't need or want it, why should they be forced to upgrade just for the sake of upgrading?
    And that also brings up the issue, when we buy those 7 versions that aren't going on computers with InDesign (and the whole rest of the Standard and Design Suites) who wants to bet me that it's gonna take more hard drive space, more ram, and there's a huge potential that it ain't even going to fit on their computers and still leave room for it to think?
    And just one other though - just because backwards incompatibility is a fact of life in today's programs - does that make it good or right?
    What this basically means, with no specific NEED for the designers to upgrade to InDesign CS5, and the requirement that if they do we'll have to upgrade not only the reporter's versions of InCopy AND most probably, their computers, we will probably put off upgrading and wait another year and a half for CS6.
    Daria

  • I want to upgarde indesign CS5 to CS6. Please help.

    I'm working with CS5 and want to update my Indesign to CS6. How can I buy the upgrade, without buying the whole CS6. So I only need an upgrade from Indesign CS5 to CS6.
    Please help.

    Hi Leon,
    Please try the following link to purchase the CS6 version.
    Creative Suite 6
    Cheers,
    Kartikay Sharma

  • Programatically convert CS5 and CS6 illustrator files to lower versions

    Is there a way to programatically convert CS5 and CS6 illustrator files to lower versions (CS4, CS3 etc) programatically. Are there any third party tools to do it or does Scripting let you do that.

    The illustrator save options has a property for dealing with backward compatibility… As far as I know you can only do this using Illustrator…

  • Conversion of CS5 and CS6 Illustrator files to lower versions programatically

    Is there a way to programatically convert CS5 and CS6 illustrator files to lower versions (CS4, CS3 etc) programatically.  Are there any third party tools to do it.

    He's probably looking for a script to do the job. The answer is yes. There is an AI scripting forum. Check there.
    http://forums.adobe.com/community/illustrator/illustrator_scripting?view=discussions

  • Open Photoshop CS5 and CS6

    I can't open Photoshop CS5 and CS6 versions simultaneously. When I launch CS6, and then CS5, it takes me to CS6, and vice versa.
    Is it possible to keep open the two versions? With Indesign I can do it.

    As far as I know that is normal behavior:  only one instance of Photoshop at a time.   Forum members have reported running two versions of Photoshop simultaneously using virtual machines on their computer (which emulate separate computers).

  • Warning CS4 CS5 and CS6 Photoshop Action Users

    Adobe introduce the Adjustment Panel in CS4 and included two option that you should NEVER CHANGE from their default setting.  For if either or both are change from their default settings some actions that add adjustment layers will fail to work properly. They may or may not produce error pop-ups.
    I have been trying to get this fixed for a couple of years now.  The other day I received an e-mail from an Adobe programmer informing me that he had been assigned the task to fix the problems I've been having.  He included information he was considering.  It was clear he did not fully understand the problems and that keeping one of the options would make it impossible to maintain compatibility with previous versions of Photoshop.  I wrote two e-mails explaining the problems and a third detailing what the problems I saw with what was proposing.  He wrote back the all he wanted to do was to work on part of the problem not the whole problem. I wrote a fourth note but Adobe is back is stealth mode.
    The two options in the Adjustment Panel fly-out menu are:
    "Add Layer Mask by Default" checked by default.  This is how Photoshop always worked prior to CS4 there was never an option not to add one so nothing was ever recorded whether or not a layer mask was to be added they always were.  Changing this will make Photoshop not backward compatible.
    "Clip to Layer" not checked by default.  There has always been an option to clip adjustment layers to the previous layer. So when the option is used the action recorder records the option "With Clipping Mask" in the make adjustment layer step.  When the Adjustment Layer is not clipped the option "with Clipping Mask" is not recorded. In the past these recordings played back correctly and still do if the Adjustment Panel fly-out option "Clip to Layer" is not checked.  However if Adjustment Panel option is checked even though is was nit when the action was recorded for the option "With Clipping Mas" is not recorded Photoshop clips the layer because of the Adjustment Panel current Option setting. That could be fixed. The current option setting has no meaning in this context in fact the Adjustment panel may not have even been used to recode the Make Adjustment Layer step.
    Here is a link to a simple action recorded in CS6. It opens a new default size document add an Levels Adjustment Layer deletes the layer mask and then clips the adjustment layer to the previous layer.  The Action will play correctly in all versions of Photoshop prior to cs4.  It will fail in CS4, CS5 and CS6 if either or both of the Adjustments Panel fly-out options are changed from their default setting.  http://www.mouseprints.net/old/dpr/CS6AdjLayer.atn

    Generally, you would have got the option to remove the old versions.  However, you can uninstall the old versions but you should do it from Windows Add/Remove modules in the Control Panel so that it doesn't remove the common files from your machine.
    If you are not constrained by disk space then the best thing is to leave the old programs on the system until you are familiar with the new features of the upgraded program.
    I have renmoved the old programs from my Windows 7 because I wasn't using them.  These days I use "Corel Paintshop Pro X5" and "Corel Draw Graphics Suite X6".
    Photoshop is for something I need to test for my colleagues who are not familiar with certain features in Corel so I tell them how to do it in PS CS6.
    Hope this helps.

  • Are InDesign CS5 and InCopy CC compatible?

    Does a workflow between InDesign CS5 and InCopy CC work?Or does InCopy CC only work with InDesign CS6 or CC?
    I’d be really grateful for your advice - thanks!
    Kathrin

    I was looking for answers to a problem and I found this post. Question. Can InCopy CS5 and CC live togheter on the same computer? I'm creating inDesign files using CS5 that I want to use with inCopy.
    I cannot open any thing using InCopy CS5 but it all open in CC, Can save and re-open in InDesign CS5...
    But I'm the only one in my team using CC. Anyway, any tips would be gratefully appreciated.

  • Have CS5 and CS6.  Need to reduce size of file from 6Mb to 2 Mb for contest purposes without losing original

    Have CS5 and CS6.  Need to reduce size of file from 6Mb to 2 Mb for contest purposes without losing original

    Just save the document to a new jpeg file name using a lower quality setting or re-size the image down in  size the save a high quality smaller new jpeg image.

Maybe you are looking for

  • Making two hard drives work or appear as a single drive

    I have a G5 with two 500 GB internal drives. One I use to backup the first, however, now my drives are full and I would like to buy 1 TB external to back up the two internal drives but is there anyway to setup the second internal drive to work with t

  • How do I make safari open a pdf file with acrobat x instead of reader

    I would like a pdf file from a link in Safari to open the linked file with adobe acrobat x rather than either adobe reader of the safari version.  Where can I set the preference to get this done?

  • J Query not working

    Hi,     So i've created an image slider by downloading jquery and the jquery plugin cycle. I had it working but then it suddenly stopped and I cannot work out why. It would be great if someone could give me a hand in solving the problem. Here is the

  • Client-Side Java Application accessing a database

    Hello Sun Forums, I'm developing a Java based client application which accesses a MySQL database server via JDBC. My question is: How can I store the password for accessing the database in a secure way on the client? I'm looking for something like th

  • ORACLE error from auxiliary database: ORA-01152: file 2 was not restored fr

    Hello, i'm trying to clone a database. It is in archive log mode. I took a full back using below command run {   backup      tag 'DAILY_WHOLE'      format 'FULL_backup_%s_%p_%c.bkp'     database      plus archivelog      tag 'DAILY_WHOLE'      delete