JS: Using CS2 Scripts with CS3

We're getting ready to (finally) upgrade from InDesign CS2 to CS3. We use several scripts (Javascript) regularly. I know quite a bit changed with the object model in CS3. I've seen a couple of threads here where Olav mentions "script versioning" that allows you to reference the old object model, but I haven't been able to find HOW to do that.
I want to upgrade all of our scripts to the CS3 model, but that will take some time, as I am no expert. Is there a way to use our CS2 scripts just as they are for now (until I'm able to get them all updated)?
Thanks,
Lisa

That script won't see any styles that are in style groups in CS3 -- is that the problem?
Or it could be that the effect of simply reasserting the style in CS3 is different from CS/CS2. I don't remember.
Dave

Similar Messages

  • Adobe Activation error I bought a used CS2 application with serial numbers: it loads fine and works, but I cannot activate it and it will run out in 26 days. I bought it on ebat for 40 dollars. I am willing to pay a royalty fee. In 2006, or so, I bought a

    Adobe Activation error I bought a used CS2 application with serial numbers: it loads fine and works, but I cannot activate it and it will run out in 26 days. I bought it on ebat for 40 dollars. I am willing to pay a royalty fee. In 2006, or so, I bought a student version of CS2 at the College bookstore legally and registered it and it is still running on my 2002 eMac, but my Mac cannot communicate with my wireless printer I just got. So I looked for a copy of CS2 to put on my second hand IBM PC.

    Error: Activation Server Unavailable | CS2, Acrobat 7, Audition 3

  • How to do Front End Validation for JSP Forms using Java Script with 9iJD...

    How to do Front End validation using 9iJD. Any wizard is there. We need to do the val. using Java Script. If its not available, please include that in the Production Release.

    Thanks a lot. When is the Production Release is scheduled. Please tell us whether itll be available for Free Download. Bec, we couldnt buy. Bec, if its working fine with all the options without any bug only, we can ask our company to buy 9iJD by stating the advantages. Just explain us.

  • Print All Colors As Black Using VB Script on CS3

    Is there a way to set all colors as black using a script? I have found the TextAsBlack option, but I also need it to work with images on the page. I have not figured out how to set the ink alias within a script (have not been able to find any information on how to so) and the print presets do not seem to include the ink alias setting. Below is what I have so far.
    Thanks,
    Archie
    Rem PRINT FILE
    Rem ----------
    Function myPrintFile (myInDesign, myDocument, myPrintToFile, myFileName)
    With myInDesign.ActiveDocument.PrintPreferences
    .Printer = myPrintToFile
    .TextAsBlack = True
    .ScaleHeight = 98
    .ScaleWidth = 98
    .PagePosition = idPagePositions.idCentered
    .PaperSize = "A4"
    .PrintFile = myFileName
    End With
    myInDesign.ActiveDocument.PrintOut False
    End Function

    I have no clue about the specific params, but from a conceptual point of view you will want to print to a grayscale destination profile (then everything else will simply fall into place).
    Olaf Drümmer

  • Using Login Scripts with OD

    Has anyone had success using login scripts from OD? When I try to add a script to the login prefs, i get an error that the script is not executable.
    Alternately, could anyone suggest an effective way to mount volumes based on user group membership? I've tried adding scripts, automator created apps and workflows to the login items without success.
    thanks.

    Hi
    Good question. I don’t really know. What I can say is I once attended a site where two of Apple Euro’s technical consultants implemented both methods. Neither mentioned either as being ‘best practice’. Both methods worked by the way. My gut feeling is the method not involving a login script would probably be what Apple would steer you towards. Although in my opinion whatever method works for you that gives you what you want would be ‘best practice’.
    Try cross posting this in the Terminal Forum. There are some guys there who are pretty handy when it comes to AppleScript.
    Hope this helps – Tony

  • Help needed to update CS2-script to CS3

    Folks,
    I am no good at scripting myself (its on my to-do-list), but a friend of mine has a problem with this script, that wont work in CS3. I know that the syntax is wrong, but am unable to do solve this. Who can help?
    var thecount = app.documents.length;
    app.changeTextPreferences = NothingEnum.nothing;
    app.findTextPreferences = NothingEnum.nothing;
    var myDocument = app.activeDocument;
    var mysearchitems = ["", "Double Paragraph", "Double Tab", "Double Space", "Para Tab", "Para Space", "? space", "Fullstop Double Space"]
    var mychangeitems = ["", "Single Paragraph", "Single Tab", "Single Space", "Para Tab", " Tab", "Fullstop Single Space"]
    var theClass = myDocument.selection
    if (theClass == ""){
    var searchOptions = ["Document"];
    else {
    var searchOptions = ["Document", "Selection", "Story"];
    //now to create the dialog
    var myDialog = app.dialogs.add({name:"Masterfoods B - zoek en vervang (© Hans de Bijl)", canCancel:true});
    with (myDialog){
    with (dialogColumns.add()){
    with (borderPanels.add()){
    with (borderPanels.add()){
    with (dialogColumns.add()){
    staticTexts.add({staticLabel:"Zoek:"});
    with (dialogColumns.add()){
    var myvijffindfield = textEditboxes.add({minWidth:180});
    with (dialogColumns.add()){
    staticTexts.add({staticLabel:"Vervang:"});
    with (dialogColumns.add()){
    var myvijfchangefield = textEditboxes.add({minWidth:180});
    with (borderPanels.add()){
    with (dialogColumns.add()){
    staticTexts.add({staticLabel:"Zoek:"});
    with (dialogColumns.add()){
    var myzesfindfield = textEditboxes.add({minWidth:180});
    with (dialogColumns.add()){
    staticTexts.add({staticLabel:"Vervang:"});
    with (dialogColumns.add()){
    var myzeschangefield = textEditboxes.add({minWidth:180});
    with (borderPanels.add()){
    with (dialogColumns.add()){
    staticTexts.add({staticLabel:"Zoek:"});
    with (dialogColumns.add()){
    var myeighthfindfield = textEditboxes.add({minWidth:180});
    with (dialogColumns.add()){
    staticTexts.add({staticLabel:"Vervang:"});
    with (dialogColumns.add()){
    var myeighthchangefield = textEditboxes.add({minWidth:180});
    with (borderPanels.add()){
    with (dialogColumns.add()){
    staticTexts.add({staticLabel:"Zoek:"});
    with (dialogColumns.add()){
    var myninthfindfield = textEditboxes.add({minWidth:180});
    with (dialogColumns.add()){
    staticTexts.add({staticLabel:"Vervang:"});
    with (dialogColumns.add()){
    var myninthchangefield = textEditboxes.add({minWidth:180});
    with (borderPanels.add()){
    with (dialogColumns.add()){
    staticTexts.add({staticLabel:"Zoek:"});
    with (dialogColumns.add()){
    var mytienfindfield = textEditboxes.add({minWidth:180});
    with (dialogColumns.add()){
    staticTexts.add({staticLabel:"Vervang:"});
    with (dialogColumns.add()){
    var mytienchangefield = textEditboxes.add({minWidth:180});
    with (borderPanels.add()){
    with (dialogColumns.add()){
    staticTexts.add({staticLabel:"Zoek:"});
    with (dialogColumns.add()){
    var myelffindfield = textEditboxes.add({minWidth:180});
    with (dialogColumns.add()){
    staticTexts.add({staticLabel:"Vervang:"});
    with (dialogColumns.add()){
    var myelfchangefield = textEditboxes.add({minWidth:180});
    with (borderPanels.add()){
    with (dialogColumns.add()){
    staticTexts.add({staticLabel:"Zoek:"});
    with (dialogColumns.add()){
    var mytwaalffindfield = textEditboxes.add({minWidth:180});
    with (dialogColumns.add()){
    staticTexts.add({staticLabel:"Vervang:"});
    with (dialogColumns.add()){
    var mytwaalfchangefield = textEditboxes.add({minWidth:180});
    with (borderPanels.add()){
    with (dialogColumns.add()){
    staticTexts.add({staticLabel:"Zoek:"});
    with (dialogColumns.add()){
    var mydertienfindfield = textEditboxes.add({minWidth:180});
    with (dialogColumns.add()){
    staticTexts.add({staticLabel:"Vervang:"});
    with (dialogC

    Hi Bert,
    Find and change in InDesign CS3 changed quite a bit from CS2, and scripting changed as well. Tell your friend to look at the examples of find and change in the Text chapter of the Adobe InDesign CS3 Scripting Guide: JavaScript--you can find the PDF and the associated scripts at:
    http://www.adobe.com/products/indesign/scripting/index.html
    ...and click the Scripting Resources tab.
    In brief: the search method was removed, and find and change methods corresponding to the find/change type were added (findText, changeText, findGrep/changeGrep, findGlyph/changeGlyph). The find/change preferences objects were also removed, and preferences objects corresponding to the new find/change types were added (findTextPreferences, changeTextPreferences, findGrepPreferences, changeGrepPreferences, findGlyphPreferences, changeGlyphPreferences).
    Thanks,
    Ole

  • How to use import script with FDM using adapter ERPI?

    Hi,
    I use FDM and ERPI 11.1.2 to load data from EBS R12 to Planning 11.1.2
    Data loaded from eBS are YTD data.
    I have seen that I could use an import script to calculate manually the amount with the periodic_net_cr and periodic_net_dr fields.
    But how to use this import script? Because in my import format in FDM, I don't use a file but directly the adapter, so no "Expression" field.
    Thanks in advance for your help
    Fanny

    Hello Fanny,
    No you will not need to put anything in the BatchAction. If you review the FDM API Documentation posted it will outline all the scripts that will execute for a particular event ... and the order in which they execute. The BatchAciton only affects the execution of the batch ... it does not control processing of data. Processing of data is controlled by many others.
    There is a script that can be written and placed (as Tony mentioned) in the ImportAction that will be able to recaculate the values from ERPi to be YTD values. You can possibly open an SR and a support Engineer can help you .... or you can search the current KM base and use that information there from the v11.1.1.3.00 version to build your own for v11.1.2.x
    Thank you,

  • Can I use java script with iWeb?

    I am quite pleased with iWeb for my web requirements, commercial and private, but I need to insert java script and don't know how or if iWeb accepts it.

    All custom code, including JavaScript, is pasted in the HTML Snippet.
    Read this : Using the HTML Snippet
    Everything you paste there, is your responsibility.
    iWeb happily publishes your code, whether it works or not. If not, mend it.
    See examples here :
         http://www.wyodor.net/_Demo/Fancy/Dynamic_Text.html
         http://www.wyodor.net/_Demo/html5/BlowUp.html
         http://www.wyodor.net/mfi/Maaskant/How_To.html
         http://www.wyodor.net/mfi/cultureclub/Movies.html
         http://www.wyodor.net/mfi/roodhout/How_To_Do.html
    You may have to learn HTML, CSS, JavaScript, AJAX, DOM and how iWeb creates its pages. Especially that.

  • Using Epson R2880 with CS3

    Can anyone direct me to information/website on setting up CS3 (Windows-Vista)for use with the new Epson R2880 printer?

    http://www.epson.com/cgi-bin/Store/support/supDetail.jsp?cookies=no&oid=104488&infoType=Ov erview

  • Using CS2 script in Indesign CS4

    Hello,
    I am very sorry if this point has been already treated but I have not yet found the solution.
    I have Applescripts running on CS2, and I would like that these scripts could work either under CS2 and CS4 without any change
    I know there is a possibility of choosing the version but I can't find the code corresponding to applescript.
    Anymore I would be happy to find the applescript reference for Indesign CS4
    Thank you for your help
    Jean

    Please move this thread to Indesign forum, http://forums.adobe.com/community/indesign.

  • Using Java Script With Item Button

    Hi All,
    please i want to know how can i call any java script function from an item button?
    i cannot find the "Action When Button Clicked" tab which is exist in a region button.
    Thanks in advance,
    Ola

    Hi,
    i am having a strange problem with java script
    i have defined the following commandlink in an af:table
    <af:commandLink
    text="lockUser"
    disabled="#{!bindings.lockUser.enabled}"
    id="cl1"
    partialTriggers="cl1"
    action="#{searchBean.lockUser}">
    <af:clientListener method="onlock1" type="click"/>
    </af:commandLink>
    I have defined the following java script function.
    <f:facet name="metaContainer">
    <af:resource type="javascript" >
    function onlock1(){
    if(confirm("Do you want to cancel")){return true;}
    else {
    return false;}
    </af:resource>
    </f:facet>
    when i click on the link, the dialog box appears asking if i want to cancel: when i press yes still the link action is activated. Kindly suggest where i am going wrong.
    the behaviour i need is to if cliked on yes then the link action does not activate and nothing happens. if i press any other button the link functionality should be activated and it should perform the locking functionality

  • Java Script With XE

    hi Expert,
    Can You Tell Me how to use Java Script With XE.
    Thanks
    Manoj

    Manoj.
    By the term "Use JavaScript", do you mean how to include JavaScript functions on your page(s) or are you looking for help in what JavaScript can be used for and how to add onclick, onchange events to form elements?
    If it is the former, there are several ways to include JavaScript onto your pages:
    1. Edit your page in the APEX Builder and place the normal syntax into the HTML Header Section i.e
    <script language="JavaScript">
    function hellWorld()
    alert ("Hello World");
    </script>2. Check out this article on how to link in File System based Javascript files: http://djmein.blogspot.com/2007/01/reference-javascript-from-file-system.html
    I hope that gets you started.
    Let me know if you need any more help.
    Duncs
    http://djmein.blogspot.com
    As a courtesy, please remember to mark correct or helpful responses accordingly :)

  • Can you run Action Scripts with Adobe Photoshop Elements 8?

    I have Photoshop Elements 5 and i cant find the 'Action' tab. Im considering buying Elements 8 but ONLY if i know for sure if i can use action scripts with it.
    Message was edited by: Jochem van Dieten

    Elements does not include Photoshop's Actions Palette function.  You can get an add on for elements that will is able to Play some Photoshop Actions in Elements. Not all Photoshop Actions actions can be played for some action use Photoshop features that are not in Elements like Photoshop Scripting. http://help.adobe.com/en_US/PhotoshopElements/8.0/Win/Using/WS961FF412-5006-4364-B315-1576 62B1F7E9.html
    http://hiddenelements.com/
    http://www.photokaboom.com/photography/learn/Photoshop_Elements/actions/1_actions.htm

  • Deploy application using ant script vs shell script

    Hi,
    I work with OAS 10.1.2 and I'm using shell script with dcmctl command to deploy EAR into OC4J but I know that ant script do the same things. I want to know if my choice is good or is it better to use ant script ?
    Regards

    This is difficult to decide.
    When you have just a few ear files you deploy once in a while a shell script might be sufficient. When developing more complex systems you should use ant as this is easier to maintain.
    cu
    Andreas

  • Oracle 11gr2 Software Installation on Linux Using Shell Script

    Hi,
    I have requirement to install Oracle Software on Linux Using shell script, with out any manual entries.
    Thanks,
    loganathan

    Srini_Chavali wrote:
    Pl identify exact version of database and OS.
    Ed - not sure where you looked :-) but response files can certainly be used for an automated installation (which is what I think OP is referring to)
    http://docs.oracle.com/cd/E11882_01/install.112/e24321/app_nonint.htm#BABFEECI
    HTH
    Srini
    You are right.  I must be losing it.  My failure rate lately has been abnormally high.  I don't remember exactly how I searched before .. I thought I opened the Installation Guide an searched for 'silent' in "this document only" -- but all I came up with was references to dbca and emca ... nothing for OUI itself.  Now that I go back and do the same search, there it is.

Maybe you are looking for

  • IPhoto will not open "version needs to be prepared"

    New computer running Mt Lion iphoto version 9.4.2 message on attempted opening states: "To open your library with this verion of i photo it first needs to be prepared"  Next message says this is not necessary if you are usiing version 5 or later. Thi

  • How to calculate freight,handling,insurance charges for PO

    Hi expert,               I need to show the details of PO with tax and freight,handling,insurance charges for purchase order. I calculated the tax amount of PO using CALCULATE_TAX_ITEM. but i don't know to calculate the freight and those charges. Gui

  • Almost all data lost

    Just opened Itunes and 90% of my music is gone, including all of my playlists, podcasts and movies. How do I get it back?

  • Nokia Maps 3.01 - missing 'My position' option

    Hi everyone, like mentioned in the subject, these is a missing 'My position' option in the "options' menu, so I don't know how to show current position on map? Thanks -s- Solved! Go to Solution.

  • Applescript/Automator and iWork

    Is there any way to script the iWork programs...? I have a basic workflow in which I export a Numbers sheet to CSV, then take one of those files and run a droplet on it to convert it to tab-delimited (an AppleScript droplet I wrote, adapting from cod