Conversion problem moving from CS3 to CS4 - adding files to book

I had a script which was working beautifully in CS3. Now we've moved to CS4 and it refuses to cooperate with me. I've tried a solution offered on the forum but it's not working for me.
        // Creating book
        var myBookFileName = myPath+"Personalized Modules/PW.indd";
         myBookFile = new File( myBookFileName );
        myBook = app.open( myBookFile );
         myBook = app.books.add( myBookFile );
        // Add the front cover
        myFilename = myPath+"Personalized Modules/PW_Cover.indd";
        myFile = File(myFilename);
        myBook.bookContents.add( myFile);
        // Add the rest of the individual files
For some reason, when it gets to the bookContents.add statement, it opens up a SaveAs dialog. I'm wondering if this is a setting within InDesign CS4 rather than a script issue.
I'd really appreciate any idea.
B

It looks like you're trying to add an existing CS3 document to a new CS4 book. InDesign wants to save the CS3 document in CS4 and so gives you the Save As dialog. You can either go through all the existing CS3 documents you'll be adding and save them out from CS4, or add a few lines to the script that will do it. (Change the variable name I used if it's used somewhere else in your script.)
// Creating book
var myBookFileName = myPath+"Personalized Modules/PW.indd";
myBookFile = new File( myBookFileName );
myBook = app.open( myBookFile );
myBook = app.books.add( myBookFile );
// Add the front cover
myFilename = myPath+"Personalized Modules/PW_Cover.indd";
myFile = File(myFilename);
// Save cover document in current version
myDoc = app.open(myFile,false);
myDoc.save(myFile)); // will overwrite CS3 file with CS4 file
myDoc.close();
myBook.bookContents.add(myFile);
// Add the rest of the individual files
I didn't test this code. Let me know if you have problems.
Jeff

Similar Messages

  • Problems moving from CS3 to CS4

    Hi, I'm hoping someone here will be able to assist me.
    I have a file that has been created in CS3, and I am now adding the rest of the code in CS4. It is based off a tutorial that a tutor gave us, which would not work unless it was completed in CS4 (originally I tried saving down to work on it as we were provided the interface as a CS4 file, but when that failed, bought CS4, started again, and it worked perfectly fine). Last time I presumed the issue was the saving down, but this time I'm saving up.
    What is essentially happening is that I am getting an Error 1009 because the code is trying to access buttons that doesn't exist. The reason it thinks that it does not exist is because the gotoAndStop(frameLabel) does not appear to be working. The frameLabel is coming from an array (and before that an XML file) but using a trace statement shows that the name of the frameLabel it is receiving is correct, it is just not 'going' for some reason. Has anyone encountered this before and have a solution? Again the code works perfectly fine in a file that was started in CS4, but will not work in a file that was started in CS3.
    All is in ActionScript 3, I have also run the update to Flash CS4 10.0.2.
    Any assistance would be fantastic. Thanks

    if the timing is correct (ie, your trace is executing BEFORE the goto) and the trace appear to be correct, you either:
    1.  have a typo and your label and goto argument are not the same or
    2.  you have whitespace in your label.
    to debug use:
    trace(frameLabel,frameLabel.length); // where frameLabel is your frame label

  • Moving from CS3 to CS4

    Sorry if I'm in the wrong area but I was wondering if I can just use a saved file from CS3 flash like on my flash drive and use it on a different computer that has CS4 flash on it. Also if I can is there a specific way I need to import it or can I just open it up when I start up CS4?

    cs4 can open any cs3 file like you open any file.  cs3 cannot open a file saved for cs4.

  • Conversion from CS3 to CS4 - closing files without saving

    One more issue...
    I'm making temporary changes to a book and a document so I want to close the documents without saving. This is what I'm currently using.
                    myBook.close(SaveOptions.NO);
                    myDocument.close(SaveOptions.NO);
    What seems to be happening is that the file is saved anyway. No Save As window opens. I've looked in the Object Model and it looks like CS4 uses the same syntax as for CS3. Any suggestions?
    B

    It looks like you're trying to add an existing CS3 document to a new CS4 book. InDesign wants to save the CS3 document in CS4 and so gives you the Save As dialog. You can either go through all the existing CS3 documents you'll be adding and save them out from CS4, or add a few lines to the script that will do it. (Change the variable name I used if it's used somewhere else in your script.)
    // Creating book
    var myBookFileName = myPath+"Personalized Modules/PW.indd";
    myBookFile = new File( myBookFileName );
    myBook = app.open( myBookFile );
    myBook = app.books.add( myBookFile );
    // Add the front cover
    myFilename = myPath+"Personalized Modules/PW_Cover.indd";
    myFile = File(myFilename);
    // Save cover document in current version
    myDoc = app.open(myFile,false);
    myDoc.save(myFile)); // will overwrite CS3 file with CS4 file
    myDoc.close();
    myBook.bookContents.add(myFile);
    // Add the rest of the individual files
    I didn't test this code. Let me know if you have problems.
    Jeff

  • Problems moving between CS3 and CS4 - missing plugins

    Hello all. Sorry if this is a really obvious question. I'm still sort of new to InDesign.
    I'm working on a newsletter right now that I originally created using CS3. When the CS4 trial came out, I downloaded it, and the file it automatically transferred to opening on that version by default and I finished it up on CS4. Now my CS4 trial has run out and I don't want to buy it, but instead would like to keep working on the newsletter in CS3. When I try to open it in CS3 however, it says a ton of plugins are missing, namely:
    conditional text
    word ready
    appframework
    indexing
    xml
    generic page item
    package and preflight
    image
    master page
    incopy shared
    cjk text attributes
    assignments
    spread
    text
    links
    toc
    text attributes
    scripting
    hyperlinks
    document framework
    cjk grid
    workgroup
    text wrap
    whew! I'm pretty sure I have all the current updates. I tried looking for some of the plugins but I'm not really sure how to go about this or even if it's the right solution.
    Any help would be greatly appreciated! We wanted to get the newsletter to our printer before the holidays but that's not looking so great now.
    Thanks in advance!
    Alyssa

    You cannot open a CS4 file in CS3. If you'd like to email me the file,
    I'll save it back as an INX file for you. Depending upon what features
    you used in CS4 it may or may not be satisfactory...new features will be
    lost or badly mangled and text is quite likely to reflow.
    Bob

  • Migrate actions from CS3 to CS4

    Hi,
    I would like to migrate my actions from CS3 to CS4. The CS4 is a new install on a fresh Windows 7, from the CS3 settings I only have a backup of my disk before the new install. Of this backup I checked the "C:\Users\<username>\AppData\Roaming\Adobe\Adobe Photoshop CS3\Presets\Actions" folder but it is empty. In my CS3 I had many actions, sorted in different folders. The other presets (like for curves or the channel mixer) are there, so I am quite confident that my backup worked correctly.
    Am I missing something here and can I find the actions of CS3 somewhere else or are they gone for good?
    Thanks and regards, Robert

    Different folders as in different action sets in the Actions panel right? did you actually use the Save Actions command from the Actions panel menu? If you didn't save them then try copying this file: C:\Users\<username>\AppData\Roaming\Adobe\Adobe Photoshop CS3\Adobe Photoshop CS3 Settings\Actions Palette.psp to the same location but with CS4 instead of CS3 in the path

  • How do I transfer plugins/actions from CS3 to CS4?

    I am working on a newer computer for my wife. Her current computer is Windows XP Pro with Photoshop CS3, her new computer will be Vista Ultimate with CS4, both with default installation locations. I know she has alot of actions/presets/plugins she uses; my question is...
    How do I transfer all of her actions/plugins from CS3 to CS4? Is there a folder I can just copy/paste?
    Any information would be helpful. Thanks!

    For actions it depends how they are saved.
    The best thing is to save them in sets on the old computer in a folder of your choice. They can then be loaded from a copy of that folder on the new computer.
    Third party plug-ins should be installed again because not all will work in 64-bit and you may need to get updates.

  • Copy favorites from CS3 to CS4

    Is there a way to copy favorites, keywords, other settings from CS3 to CS4?
    Thanks,

    Hi Mogur203,
    Sorry, but there is no way to copy your CS3 Favorites over to CS4. However you are able to copy your keywords over if they did not get imported during your first launch.
    1. Launch CS3, Click on the flyout menu in the keyword panel
    2. Select export, Save the text file
    3. Launch CS4, Click on the flyout menu in the keyword panel
    4. Select import, select the text file that you saved from CS3
    This should complete the import of all the keywords from CS3 to CS4.
    Please let me know what other settings you are referring to and I will let you know if you can copy them over or not. Please let me know if you have any other question

  • Getting error after administrator who upgraded from CS3 to CS4

    Hi,
    We have had an administrator who upgraded from CS3 to CS4.
    However, any of our other users still using CS3 now get the
    following error message:
    “The website is being administered with a newer version
    of Contribute. For more information contact this website's
    administrator."
    Do you know any way around this issue?
    Thanks,
    Greg

    quote:
    Originally posted by:
    sdfsdf e3wwre4
    Just wondering if somebody here can clerify the following....
    If I upgrade contribute and then administer a contribute enabled
    website will users of CS3 still be able to edit the site or will
    the be forced to update as well?
    Hi,
    No they don't have to, at least I think so. If your
    administror go to the menubar: Contribute>Administer
    Websites> Choose the site you wish to set the settings for. In
    'Compatibility' choose 'Transition Mode' and klik OK. This should
    allow the other users to keep working in their version of
    Contribute.
    I say 'should'... Read my entry in the general discussion
    forum.
    (a not so happy) Ingrid

  • Transferring PDF, Print and Preferences from CS3 to CS4

    I have just upgraded from CS3 to CS4 (all in Windows) and wonder if it is possible to transfer the preferences, export-to-PDF and print settings in CS3 to CS4. Just askin.
    potterjazz

    What happens when you try to install the plugins to CS4?

  • Exporting site info from CS3 to CS4

    How do I export my "remote info" under "manage sites" from CS3 to CS4? I have about 30 sites under "manage sites" and would hate to have to dig up all the passwords after the upgrade. I used the "export" button in CS3, but it didn't bring in the remote info.

    1.  In CS3, open Site Manager
    2.  Select the sites you want to Export
    3.  Click Export and select a KNOWN location into which to write the *.ste files
    4.  Open CS4.
    5.  Open Site Manager
    6.  Click IMPORT, browse to and select the site files you just exported and click OK.
    Such fundamental questions as this are always answered in DW's F1 Help.  You'd have been done an hour ago if you had looked there.

  • Taking Site List from CS3 to CS4

    Hi,
    I want to upgrade from CS3 to CS4 but am a little nervous that I will lose all over my sites in my site list.
    Is there a way to carry my sites accross to CS4?
    Thanks

    Click on the first site listed, Shift+Click on the last site listed (so they're all highlighted) then Export.
    Individual .ste files will be created for each defined site.

  • Is it time to upgrade from CS3 to CS4?

    I currently use CS3 but have a version of CS4.  I edit full HD XD CAM EX and Cineform 25p.   The reason I have not yet switched to CS4 is because I am waiting for the bugs to be worked out.  I am now checking in to see how things have moved forward on that end.  Is it worth it to upgrade or should I stick with CS3 for now?    

    I currently use CS3 but have a version of CS4.
    What is stopping you from trying it out? CS3 and CS4 can peacefully coexist on the same system. Given your decisiveness shown in the past, only you can decide and you have the means to make a decision. OTOH, I would not be surprised I you only make your decision when CS5 has been on the market for over a year.
    Your question has about the same value as someone saying:
    "I have a Beamer 530 from 2004 and a Beamer 530 from 2009. Should I be driving the 2009 version?"

  • Photographer moving from CS3 to CS5.5 looking for discussion of new features

    Hi,
    I'm a photographer (not retoucher or designer). Just moved over to CS5.5 from CS3 due to the price changes that will happen in the next upgrade. I'm finding the changes quite difficult to navigate. I know there's lots of info out there, but really, there's too much! I'm looking for a good discussion, video, print, whatever, of the main changes in workflow between the versions. I'm pretty old school in my PS use. I use Curves a lot, set skin tones with CMYK numbers etc. My work flow is probably closest to that used by many beauty retouchers. One of the big changes thats throwing, me for instance, is that I can no longer simply cmd click on a eyedropper target on skin then cmd 1, 2, 3 on the RGB curves layers to set points to adjust colour. 
    Links, suggestions of video's etc much appreciated.

    One of the big changes thats throwing, me for instance, is that I can no longer simply cmd click on a eyedropper target on skin then cmd 1, 2, 3 on the RGB curves layers to set points to adjust colour.
    In the Adjustments Panel it’s alt-2 (composite) and alt-3 (red), alt-4 (green), alt-5 (blue) to select the individual channels now.
    And command-shift-click to set the points on the R-, G- and B-curves.
    You may want to consider setting the Adjustments Panel to »Auto Select Targeted Adjustment Tool«.
    One can still trigger the old modal dialog via a Script, but it might be better to just get accustomed to the Adjustments Panel.
    You may be able to download the Help as pdf for CS4 and CS5, their respective »What’s new?«-sections should provide an overview of the accumulated new features.
    http://help.adobe.com/en_US/Photoshop/11.0/photoshop_cs4_help.pdf
    http://help.adobe.com/en_US/photoshop/cs/using/photoshop_cs5_help.pdf

  • What serial number from CS3 does CS4 want?

    I'm upgrading from CS3 Production Premium/Windows to CS4 Design Standard/Mac. I have the email from the CS3 order (it does not show up anywhere in my order history on adobe.com, I don't know why) and I have 3 serial numbers. 2 are 6 groups of 4 numbers, and 1 is 6 groups of 4 numbers with 4 letters preceding them. None of these work when I enter them into the CS4 install dialog.
    Also, I was unable to deactivate CS3... the option was grayed out.
    I'm guessing my next step is to call Adobe, but I thought maybe someone here would have some advice also.

    Mac CS4 wants a Mac CS3 serial.
    You can't do what you tried, it does not work.
    If you are moving to Mac you need to get a crossgrade. This includes a letter of destruction of the Windows software then Adobe will send you the correct software to install on your Mac.
    Only Customer service can help you.

Maybe you are looking for

  • Need to "Place" Images on White Coffee Mugs

    I am creating virtual samples of several hundred coffee mugs using PS CS 5.5. (I have access to CS6 but haven't installed it.) There will be two views of each mug, front and back. The images to be wrapped around the mug are PDFs of identical rectangu

  • Setting background color in multi record block

    Hi all! I've a table with around 150 records of colors with html-color-names and rgb codes. I would like to have a sample item in my form 9.0.4 to display the color as a preview for each record in a multi-record block when querying the table. I would

  • Return; after RequestDispatcher.forward();

    I notice that some examples using return; keyword right after the line with RequestDispatcher.forward(request, response); Can anyone pls explain when and why we do this?

  • IDOC Very Urgent

    Hi all I need to pass Master Inspection Characteristics (MIC) data or any other data to XI in a receiver format. For that I need to create custom function module according to xml format. Then I need to send MIC data to custom idoc fields. So I called

  • IOS 8.1.2 breaks Wifi and Bluetooth on iPhone 4s

    Since I upgraded my iPhone 4s to IOS 8.1.2, i am unable to use wifi or bluetooth. My wifi button is greyed out and I cannot turn it on. Bluetooth will just display a spinning wheel when i turn it on. I have tried resetting network settings twice, mul