ActiveDocument indesign version (cs4 or cs5.5)

Hi
how can we get whether the active document is cs4 or cs5.5. I need to remove pasteboard items. But i have 2 different codes for indesign cs4 and cs5.5.
Please help.
Thanks,
Sangeetha M

@Sangeetha M – there is an version property for the app object. That will return a string object.
Try:
alert(app.version);
For CS4 you'll get a string back.
Something like this:
"6.0.6.622"
Could also be slightly different. Depending on the patch version of the specific InDesign installation.
And there is a method for strings to change that into a number.
var myVersionNumber = parseFloat(app.version);
That will return the number:
6
In the case of InDesign CS5.5 the string will be something like this:
"7.5.3.333"
With using parseFloat the number returned will be:
7.5
Uwe

Similar Messages

  • File size comparisons, InDesign CS3, CS4 and CS5?

    Hi, all.
    It seems there was a trend for several major releases where each time Adobe released a new version of InDesign and InCopy, average file sizes grew by 20% or so from the old release to the new release, at least back in the older CS days. Has this trend continued, such that file sizes in CS4 are substantially larger than file sizes from CS3, and CS5 files are substantially larger than those from CS4?
    Adobe, of course, wants to keep writing functionality that will keep the user community coming back to buy in to upgrades. The added functionality sometimes comes at a cost beyond the price tag. If file sizes are larger in a newer version, then page saves over a network or to a database are likely to be slower, and user productivity takes a hit while users are waiting for files to be saved.
    Has anyone done any testing to build the "same" page in multiple versions of InDesign to understand what the effect is on the file sizes? I'm specifically interested in the file sizes between InDesign CS3, CS4 and CS5. To be meaningful, the test page would have to be at least moderately complex, with a couple of photos, multiple text elements and so forth. By "same," the page wouldn't take advantage of new functionality in newer versions but would be saved as a native page of the current version, though the file sizes may be bloated by the new functionality like it or not.
    If you've done any testing along these lines, I'd like to hear more about it.
    Thanks.
       Mark

    The overall structure of ID's files have been exactly the same for -- as far as I can see back -- CS. No change at all, in there.
    There have been significant additions to the 'global' spaces; stuff like InCopy user data, table styles, object styles, and cross references. Each of these add a major chunk of data to each file, whether you use it or not, plus a few bytes per object (again, whether you use them or not -- ID also needs to know where you did not use them, that's why). I think these might be the main source of 'global' file size increase (a single object style in one of my files, for example, eats up a healthy chunk of 11,482 bytes).
    For the rest, all new stuff like 'span columns' is a handful of bytes per paragraph style. Tracking changes may very well double the size of text runs -- but 1 character takes up 1 byte of storage (plus perhaps some overhead of indicating its 'tracking' status). Any single measurement unit always uses 8 bytes at least (for example, the left inset for a column span -- even if it's not used, or set to 0pt).
    I think we're talking about a couple of K's here (oh -- perhaps a max of a hundred or so), in a file format that has been designed around the concept of "disk pages", each 4K big, meaning that sometimes adding one single character to a text box increases the file size by 4 K.
    Your idea of comparing the size of a file created in CS3 against the same saved as CS4 and as CS5 is certainly feasible -- I might try it some time, just to confirm it's purely the extra 'new objects' data that accounts for the size increase and to confirm my guesstimates of the number of Ks involved.

  • Can we use Adobe Creative Suite (student version) CS4 and CS5 for commercial usage in Australia?

    Can we use Adobe Creative Suite (student version) CS4 and CS5 for commercial usage in Australia?
    Can we use for commercial purposes while we are studying?
    How about after we graduate?
    Thank you.

    Check your regional S&T pages for specifics. Generally commercial usage is allowed during school and after graduating, but in some regions extra restrictions may apply if e.g. your software is subsidized by your government or the license owned by the school and you just "loaned" it.
    Mylenium

  • Is it possible to have Indesign CS4 and CS5.5 both installed on the same Mac? 10.6.8

    We have a bunch of recent Intel macs at our corporation.  Currently they should all have 10.6.8.  They were all imaged from a base image that has Adobe CS4 embedded in it. 
    We are now using a packaging software part of the JAMF Casper suite and AAMIE to push CS5.5 to the end users.
    The problem is that we want to keep CS4 on the end user's computers in case of issues.  That way the end users can try Indesign 5.5 and see if it does everything they need to do and still have Indesign for backwards compatiblity.
    So we created a CS5.5 install package using the AAMIE tool which works fine.  We then use Casper to spam the package out to a Mac.
    The issue that arises is that a few Plugin errors occur during the lauch of Indesign CS5.5 such as:
    Adobe inDesign does not recognize InCopy Bridge UI.InDesignPlugin as a valid plug-in.
    Adobe InDesign does not recognize InCopyExport.InDesignPlugin as a valid plug-in.
    Adobe InDesign does not recognize InCopyExportUI.InDesignPlugin as a valid plug-in.
    Adobe InDesign does not recognize InCopyImport.InDesignPlugin as a valid plug-in.
    There was one more plugin error that occured before the first one but I forgot to write it down.
    If we click okay to them, the application launches okay but when you quit and relaunch it, you still get one of the errors.
    Is this because both applications are installed at the same time?
    Is it offically okay as per Adobe to have Indesign CS4 and CS5.5 installed on the same Macintosh?
    What else should we be considering what to do?

    Well currently, I'm just testing this issue.  I just installed the trial version of  Adobe CS4 suite on my mac and then deployed the CS5.5 package on top off it  The resulting errors that I listed above are the same ones that occur when the end user has a licensed volume license install of CS4 and CS5.5.
    So I'm still back to square 1 where when I deploy cs5.5 on an  end user's mac, they get those plugin errors when they launch Indesign CS5.5.  
    I am not sure about the licensing restrictions, I asked my Director and he is going to check with our VAR.

  • InDesign CS4 and CS5 scripting on Windows 7 unstable

    Hello, have not found any solutions to our previous issues with RPC errors while scripting InDesign CS4 and CS5 on Windows 7.
    Even more problematic, I just installed a trial version of InDesign CS5 on Windows 7, created a small JavaScript script that places a counter text from 1 to 10.000 in a one page, one frame document and found out this crashes when the counter is at around 4500 or so. This was the same issue with CS4, that's why I tried CS5.
    These scripts run fine with CS4 on Windows XP and Vista. So what is the problem with scripting Indesign on Windows 7 ? Are there any settings that should be changed in Windows 7 to create a more stable situation ? Need to allocate more memory somehow ?
    Anxious to know, for now I try avoiding Windows 7.
    Roelof Janssen

    Shouldn't be a problem but you should be aware that if you upgrade to CS5.5 now you'll get a free upgrade to CS6 when it ships.
    Bob

  • Upgrading from InDesign CS4 to CS5.5

    How much would it cost to upgrade from InDesign CS4 to CS5.5

    There is no longer any official upgrade for any version of InDesign. The only offerings from Adobe now are Creative Cloud subscriptions (which currently provide access to both CC and CS6 versions), or purchasing a perpetual license for CS6, at full price, with the understanding that CS6 is considered "feature complete" and will not receive any further updates and may not work on the next OS releases or new generations of hardware.

  • InDesign CS4 or CS5?

    For work, I use a PC and currently have the CS4 Web version which does not include InDesign. I need input on ordering InDesign CS4 vs CS5.
    We are now looking to buy InDesign and was wondering if I should stick with CS4 since that is the version of the other programs I have or if I should go ahead and get CS5 for InDesign since it is the newest version.
    Will there be any errors between the two versions...working with Illustrator CS4, Photoshop CS4 and InDesign CS5? If so, what types of errors will there be? I'd like to make a pretty quick decision so any input you can give, I'd really appreciate!
    Thanks!!

    Despite Scott's usual cynicism , buying the full version of InDesign will cost you more than upgrading your CS4 Web suite to CS5 Design Premium.
    Standalone InDesign CS5 is $670
    Design Premium upgrade (Windows) is $580 at Amazon: http://amzn.to/bNBkmF. Mac: http://amzn.to/a8NT7A
    I have an article on my website on why I think Design Premium is the best choice: http://www.theindesignguy.com/purchase-advice.shtml
    Hope that helps,
    Bob

  • Can I use both CS4 and CS5 separately so as to use Version Cue ?

    I am thinking about buying CS5 to keep up to date.
    I cannot do without Version Cue which is only CS4.
    Can I buy the upgrade and run them to take advantage of both ?

    Yes, you can run both CS4 and CS5 simultaneously, however, you must first launch CS5, then launch CS4. I don't know much about Version Cue or whether it would still work in a CS4/5 workflow, but you could always try the 30-day CS5 Trial as a test.

  • Is it possible to download a previous version of Photo shop (ie. cs4 or cs5)?

    Is it possible to download a previous version of Photo shop (ie. cs4 or cs5)? I purchased Photo shop CC for my windows computer but when I attempted to download it to my mac I was told that my computer does not meet the system requirements.

    I don't know your OS, but I'll assume Snow Leopard 10.6.8  In which case Photoshop CS6 would be the best especially if you have a cloud membership like the Photography Plan.
    Download Photoshop CS6 Mac here Download CS6 products
    Install and sign into it with your Adobe login.

  • I want to download Photoshop CS6. Should I first deinstall my old Version CS4 and parts of CS5?

    I want to download Photoshop CS6. Shold I first deinstall my old VErsion CS4 and parts of CS5 from my PC?

    You can keep your old versions along side CS6.  You might want to test CS6 before you uninstall anything else.
    Nancy O.

  • I,m start to instal my adobe master collection cs5 in a new PC and during the installation ask me a aditional serial number to a previus version (CS4). I put the serial number of my cs4 and recived a message indicating that this number is not correct, but

    I,m start to install my adobe master collection cs5 in a new PC and during the installation ask me a aditional serial number to a previus version (CS4). I put the serial number of my cs4 and recived a message indicating that this number is not correct, but I check in my acount and is correct

    For the link below click the Still Need Help? option in the blue area at the bottom and choose the chat option...
    Serial number and activation chat support (non-CC)
    http://helpx.adobe.com/x-productkb/global/service1.html ( http://adobe.ly/1aYjbSC )

  • InDesign Backwards Compatibility in CS5 an MAJOR issue

    I am a print designer who works in InDesign. I bought CS3 Design Premium in late summer of 2008. Shortly thereafter CS4 came out, but after just having forked out a big chunk of change, I decided against upgrading to CS4 right away. Recently I considered upgrading but then heard CS5 was coming out so I decided to postpone the upgrade and wait for the new software. I've just checked out the trial version of CS5 InDesign and after speaking with Adobe Support have come to the conclusion that I can't upgrade to CS5. Why? BACKWARDS compatibility to CS3. The previously offered export features that supplied a path for backwards compatibility via an .inx file are gone.
    I design freelance for a lot of different customers and once the design is complete, I have to deliver the InDesign file along with all associated fonts ad images to my clients. Most of my clients are still on CS3. If I upgrade to CS5 I will instantly not be able to work for 2/3 of my clients, as I will have no means by which to save a file backwards to CS3. I was informed by Adobe support that I would need to buy CS4 and CS5, as I could save my CS5 file in the IDML format and open it in CS4 and then I could save the file from CS4 as an INX file and open that is CS3. ARE THEY INSANE??? First off that requires keeping 3 version of InDesign up and running on my machine all of the time and secondly, why should I have to buy CS4 when I'm paying an additional fee to upgrade to CS5 because I didn't upgrade from CS4? This is so screwed up that it has to be an oversight---please tell me there is a patch in the works!!!
    PS- I've never posted to a forum before, so if I have broken any rules of forum etiquette or offended in any way, I offer my apologies now and if I (and the Adobe Support staff I spoke to) have overlooked something, please enlighten me!

    Cynthia Ryan Graphic wrote:
    I am all for working with better workflow practices and I understand that saving files backwards is less than ideal but Adobe needs to look at the real world uses of their software as well. I have to work with firms that aren't upgrading now--especially with the economy we are now in--and most of the items I design for them are ads-- one page- nothing too complex--really nothing fancy. I obviously wouldn't save a book or a very complex document backwards in this way, but simple things have translated just fine in the past. In the real world we hit situations like this.
    I bought my software 21 months ago and in this time Adobe has expected me to upgrade twice--I haven't even finished expensing  the initial cost of the software on my books yet. Upgrading that often just can't happen in a small firm--it's prohibitively expensive for a one man shop.
    So now from what I understand, to do this properly, I am supposed to buy the upgrade and keep both versions running on my machine and track with every client which version of the software I need to be working in. What happens when I have to add an employee? I will have to buy the CS3 version of the software in addition to the CS5 Suite because otherwise we can't work on the same files. I'm finding this frustrating.
    Your suggestion of buying CS4 from Amazon is a good one. I will look into that further.
    DISCLAIMER: I'm an Adobe stockholder. REALITY: My holdings are probably in the same proportion as the number of bits it takes to store a period character (".") on an Internet server is to the entire Internet's storage capacity. So, while I may have some self-interest here, it's not driving me to encourage you - or even all the participants on this forum - to buy more software than you want to or need to.
    If you're simply interested in test-driving a new release, you can do that with the free 30-day trials. If you run out time, you can probably figure out a way to trick out your system to get another 30-day shot.
    However, if you use the software commercially - either to train others, or to create new material or revise old material for clients or employers - you need to decide if you can continue to do this with the software versions you own, or if the commercial needs will require you to license new versions.
    Regarding "expensing the initial cost of the software on my books" If I understand the US income-tax policies, purchases under a rather modest amount can usually be expensed in the year of purchase. If, because of your accounting method or preference, you're using a longer expensing time period, you might want to reevaluate your approach. If you attribute a portion of the software cost to each project you use it on, and, in this case, in 21 months your work hasn't let you recapture the investment, they you may want to use that information to decide how to pursue more paying for the software, or decline that stream of work and forgo upgrading.
    An alternate way to evaluate the software, especially as an employer of users, is to compare the product cost vs. how many more billable hours you and your workers can complete in a given time with it and without it, and, how competitively you can bid projects, due to the product's efficiency.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • Selecting InDesign version in VB script

    I am having some difficulty with selecting the proper version of InDesign in my VB scripts.
    Usually I use the connection string: CreateObject("InDesign.Application"), which will launch in whatever version is installed.
    Now, one of my customers has installed version 6 along side with version 5.5, which means that I have to supply either: CreateObject("InDesign.Application.CS5.5") or CreateObject("InDesign.Application.CS6"), in order to get it to run on the proper version.
    What I don't understand is why the script doesn't start within the version of InDesign that it is activated from. If I use the connection string: CreateObject("InDesign.Application"), and I start it from within InDesign version 6 (from the script menu), why does it launch version 5.5 and try to run the script there? Why does it not run inside the InDesign application that launched it?
    It quickly becomes a mess to have to modify scripts whenever people install new versions of InDesign, so is there any way to ensure that a VB script is always run within the InDesign application that launched it, regardless of what other versions people might have installed?

    you can use WMI to have a peak at all the ID processes.
    here I have both CS4 and CS5 running, hopefully only one version should be running at a time, and we can use the ExecutablePath property to get the version (CS4 for instance) from it.
    Dim WMI, Col, Ob, S2
    Err.Clear
    On Error Resume Next
    Set WMI = GetObject("WinMgmts:")
        If (Err.number <> 0) Then
           MsgBox "Error creating WMI object. Error: " & Err.Number & " - " & Err.Description
           WScript.quit
        End If  
    '-------------- processes ------------------------------------
    Set Col = WMI.ExecQuery( _
        "SELECT * FROM Win32_Process" & _
        " WHERE Name = 'indesign.exe'",,48)
      S2 = S2 & " Process Info:" & vbCrLf & vbCrLf
      For Each Ob in Col
        S2 = S2 & "Caption: " & Ob.Caption & vbCrLf
        S2 = S2 & "ExecutablePath: " & Ob.ExecutablePath & vbCrLf
        S2 = S2 & "ProcessID: " & Ob.ProcessID & vbCrLf & "__________________________" & vbCrLf & vbCrLf
      Next
                msgbox S2
    Set Col = Nothing
    Set WMI = Nothing
    MsgBox "Done."

  • Porting from CS4 to CS5

    Im trying to port some plugins from CS4 to CS5. During the process I encounter several errors. Once of them is listed below.
    Error 1 fatal error C1189: #error :  DEBUG and NDEBUG are out of sync!    // $$$ need to set NDEBUG in release builds c:\program files\adobe\cs5\indesign product sdk\source\public\includes\K2Debugging.h 53

    Pectora:
      Check the C++/Preprocessor/Preprocessing Definitions field in your Project Properties dialog.  Make sure that your Debug version has a "DEBUG" definition placed in there, and that your release version has an "NDEBUG" definition placed in there someplace.  My guess is that either you left one of them out, or that you have the DEBUG definition in your release properties.  Other possibilities are a failure to separate definitions properly or misspelling.
    HTH!
    P.S. I am assuming that you are working with VS8 on a Windows box.  This information should be included in your next submission just to make sure we are all working from the same starting point.

  • Best workflow CS3 to CS4 to CS5 or CS5 to CS4 to CS5

    I had been doing a monthly magazine in Mac CS3 and sending it for text edits to someone with Mac CS4. They would return it to me as an .inx doc and I would prepare it as PDF for the printer.
    Now that I have CS5, Would I be better off doing it in CS5 then giving them .inx to do edits?
    So what's best?:
    CS3 to CS4 to CS5
    CS5 to CS4 to CS5
    CS3 to CS4 to CS3
    TIA

    I had been doing a monthly magazine in Mac CS3 and sending it for text edits to someone with Mac CS4.
    Text edits? Only text?
    How about CS5 -> RTF -> CS5?
    Just set up your text as one great big threaded, well-styled story, and export the RTF. Your editor edits text using TextEdit (how apropos), and returns the edited RTF file to you. You place it & clear overrides, and magically have an updated InDesign file requiring only minor tweaks. (We call this "poor man's InCopy" in our office.)
    If I had to pick, I'd be dithering between unhappy options. Going backwards (CSn -> CSn-1) is a bad idea. Going forwards two versions at once (CSn -> CSn+2) is also a bad idea. Heck, in any workflow you want to be reliable, going forwards one version (CSn -> CSn+1) is dangerous and should be avoided. I would suppose that CS5 -> CS4 -> CS5 would be the least dangerous, if you made absolutely certain that no CS5-specific tools were being used. This requires some serious diligence, and even if you are 100% perfect in your avoidance of the new tools in CS5, text reflow will still happen occassionally. On top of that, I wouldn't advise relying on CS5 until the first bugpatch gets distributed by Adobe.
    Basically, every option you have is fraught with possible dangers.
    Edit: it's tough to tell someone to do something dangerous. CS3 -> 4 -> 3 is something I've done a great deal of, and it's worked out okay. Over more than a year, I've only had two projects blow up in my face because of backsaving in this workflow.

Maybe you are looking for

  • After updating to windows 8.1 the games I played wont start

    Good day, Im new to this stuff, i recently updated my windows 8 to 8.1. After updating the game that i was playing works just fine. After a few minutes an update was done on something(i dont know what that was) Then I closed the game becuase it froze

  • Vendor payables report

    I'm searching for a report that will allow to me to show payment status to a supplier given a prvoded date range. The one key pieces of the output I need included is the payment infomation linked to the purchase order we used. I've not been able to f

  • What to do when readString() fails and String[] out of bounds ?

    Dear Java People, I have a runtime error message that says: stan_ch13_page523.InvalidUserInputException: readString() failed. Input data is not a string java.lang.StringIndexOutOfBoundsException: String index out of range: 0 below is the program than

  • Using a Math Formula in AS3

    Hi, I am trying to test using a math formula (probit function) in AS3. I can't get the script to work: the dynamic text box is displaying NaN after I run the function and use a hard-coded number for the variable. Here's the button's script that is ge

  • Apps failing to install 80004005

    SCCM 2012 SP1 CU4. Brand new site. Apps setup but are all failing within the OSD Task sequence Execution status received: 16 (Application failed to evaluate ) InstallApplication 13/06/2014 13:48:49 3552 (0x0DE0) Installation failed. InstallApplicatio