CS6 findchangebuylist with javascript error

Running Mac OS 10.6.8
iMac 2.93 GHz Intel Core i7
4GB 1333 MHz DDR3
Indesign CS6 8.0.1
I have created an new page with nothing on it except a text box. I imported paragraph and text styles for a master page templatre created for a catalog I am creating. I created the new page to try and eliminate any issues that may have been cause by opending an document created in CS5.5. I am using the "recordfindchange" script latest version for cs3-cs5 written by Martin Fisher to export the findchange result of my test. Here is an image of the findchange quire:
I get a java script error when I run the script I created buy copying the "findchangebylist: javascript and txt file, adding the name _SimpleTest to the file names and replaceing Line number 116 in the javascript with this:
var myFindChangeFile = myFindFile("/FindChangeSupport/findChangeStrings_SimpleTest")
Here is the error I get:
I know nothing about javascript. so I am dead in the water. so can someone please help. Is there any issues with CS6 and the findchangebylist script? does "recordfindchange" no longer work with CS6? Could it be a javascript version problem (I just updated to the latest version)?

Sorry I should have included the entire javascript so you could see exactly whats there. I am calling the correct file and I am not including the .txt extension.
I'll include the findchange.txt file after the javascript.
Here it is Javascript:
//FindChangeByList.jsx
//An InDesign CS6 JavaScript
@@@BUILDINFO@@@ "FindChangeByList.jsx" 3.0.0 15 December 2009
//Loads a series of tab-delimited strings from a text file, then performs a series
//of find/change operations based on the strings read from the file.
//The data file is tab-delimited, with carriage returns separating records.
//The format of each record in the file is:
//findType<tab>findProperties<tab>changeProperties<tab>findChangeOptions<tab>description
//Where:
//<tab> is a tab character
//findType is "text", "grep", or "glyph" (this sets the type of find/change operation to use).
//findProperties is a properties record (as text) of the find preferences.
//changeProperties is a properties record (as text) of the change preferences.
//findChangeOptions is a properties record (as text) of the find/change options.
//description is a description of the find/change operation
//Very simple example:
//text    {findWhat:"--"}    {changeTo:"^_"}    {includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:false}    Find all double dashes and replace with an em dash.
//More complex example:
//text    {findWhat:"^9^9.^9^9"}    {appliedCharacterStyle:"price"}    {include footnotes:true, include master pages:true, include hidden layers:true, whole word:false}    Find $10.00 to $99.99 and apply the character style "price".
//All InDesign search metacharacters are allowed in the "findWhat" and "changeTo" properties for findTextPreferences and changeTextPreferences.
//If you enter backslashes in the findWhat property of the findGrepPreferences object, they must be "escaped"
//as shown in the example below:
//{findWhat:"\\s+"}
//For more on InDesign scripting, go to http://www.adobe.com/products/indesign/scripting/index.html
//or visit the InDesign Scripting User to User forum at http://www.adobeforums.com
main();
function main(){
    var myObject;
    //Make certain that user interaction (display of dialogs, etc.) is turned on.
    app.scriptPreferences.userInteractionLevel = UserInteractionLevels.interactWithAll;
    if(app.documents.length > 0){
        if(app.selection.length > 0){
            switch(app.selection[0].constructor.name){
                case "InsertionPoint":
                case "Character":
                case "Word":
                case "TextStyleRange":
                case "Line":
                case "Paragraph":
                case "TextColumn":
                case "Text":
                case "Cell":
                case "Column":
                case "Row":
                case "Table":
                    myDisplayDialog();
                    break;
                default:
                    //Something was selected, but it wasn't a text object, so search the document.
                    myFindChangeByList(app.documents.item(0));
        else{
            //Nothing was selected, so simply search the document.
            myFindChangeByList(app.documents.item(0));
    else{
        alert("No documents are open. Please open a document and try again.");
function myDisplayDialog(){
    var myObject;
    var myDialog = app.dialogs.add({name:"FindChangeByList"});
    with(myDialog.dialogColumns.add()){
        with(dialogRows.add()){
            with(dialogColumns.add()){
                staticTexts.add({staticLabel:"Search Range:"});
            var myRangeButtons = radiobuttonGroups.add();
            with(myRangeButtons){
                radiobuttonControls.add({staticLabel:"Document", checkedState:true});
                radiobuttonControls.add({staticLabel:"Selected Story"});
                if(app.selection[0].contents != ""){
                    radiobuttonControls.add({staticLabel:"Selection", checkedState:true});
    var myResult = myDialog.show();
    if(myResult == true){
        switch(myRangeButtons.selectedButton){
            case 0:
                myObject = app.documents.item(0);
                break;
            case 1:
                myObject = app.selection[0].parentStory;
                break;
            case 2:
                myObject = app.selection[0];
                break;
        myDialog.destroy();
        myFindChangeByList(myObject);
    else{
        myDialog.destroy();
function myFindChangeByList(myObject){
    var myScriptFileName, myFindChangeFile, myFindChangeFileName, myScriptFile, myResult;
    var myFindChangeArray, myFindPreferences, myChangePreferences, myFindLimit, myStory;
    var myStartCharacter, myEndCharacter;
    var myFindChangeFile = myFindFile("/FindChangeSupport/findChangeStrings_SimpleTest")
    if(myFindChangeFile != null){
        myFindChangeFile = File(myFindChangeFile);
        var myResult = myFindChangeFile.open("r", undefined, undefined);
        if(myResult == true){
            //Loop through the find/change operations.
            do{
                myLine = myFindChangeFile.readln();
                //Ignore comment lines and blank lines.
                if((myLine.substring(0,4)=="text")||(myLine.substring(0,4)=="grep")||(myLine.substring(0, 5)=="glyph")){
                    myFindChangeArray = myLine.split("\t");
                    //The first field in the line is the findType string.
                    myFindType = myFindChangeArray[0];
                    //The second field in the line is the FindPreferences string.
                    myFindPreferences = myFindChangeArray[1];
                    //The second field in the line is the ChangePreferences string.
                    myChangePreferences = myFindChangeArray[2];
                    //The fourth field is the range--used only by text find/change.
                    myFindChangeOptions = myFindChangeArray[3];
                    switch(myFindType){
                        case "text":
                            myFindText(myObject, myFindPreferences, myChangePreferences, myFindChangeOptions);
                            break;
                        case "grep":
                            myFindGrep(myObject, myFindPreferences, myChangePreferences, myFindChangeOptions);
                            break;
                        case "glyph":
                            myFindGlyph(myObject, myFindPreferences, myChangePreferences, myFindChangeOptions);
                            break;
            } while(myFindChangeFile.eof == false);
            myFindChangeFile.close();
function myFindText(myObject, myFindPreferences, myChangePreferences, myFindChangeOptions){
    //Reset the find/change preferences before each search.
    app.changeTextPreferences = NothingEnum.nothing;
    app.findTextPreferences = NothingEnum.nothing;
    var myString = "app.findTextPreferences.properties = "+ myFindPreferences + ";";
    myString += "app.changeTextPreferences.properties = " + myChangePreferences + ";";
    myString += "app.findChangeTextOptions.properties = " + myFindChangeOptions + ";";
    app.doScript(myString, ScriptLanguage.javascript);
    myFoundItems = myObject.changeText();
    //Reset the find/change preferences after each search.
    app.changeTextPreferences = NothingEnum.nothing;
    app.findTextPreferences = NothingEnum.nothing;
function myFindGrep(myObject, myFindPreferences, myChangePreferences, myFindChangeOptions){
    //Reset the find/change grep preferences before each search.
    app.changeGrepPreferences = NothingEnum.nothing;
    app.findGrepPreferences = NothingEnum.nothing;
    var myString = "app.findGrepPreferences.properties = "+ myFindPreferences + ";";
    myString += "app.changeGrepPreferences.properties = " + myChangePreferences + ";";
    myString += "app.findChangeGrepOptions.properties = " + myFindChangeOptions + ";";
    app.doScript(myString, ScriptLanguage.javascript);
    var myFoundItems = myObject.changeGrep();
    //Reset the find/change grep preferences after each search.
    app.changeGrepPreferences = NothingEnum.nothing;
    app.findGrepPreferences = NothingEnum.nothing;
function myFindGlyph(myObject, myFindPreferences, myChangePreferences, myFindChangeOptions){
    //Reset the find/change glyph preferences before each search.
    app.changeGlyphPreferences = NothingEnum.nothing;
    app.findGlyphPreferences = NothingEnum.nothing;
    var myString = "app.findGlyphPreferences.properties = "+ myFindPreferences + ";";
    myString += "app.changeGlyphPreferences.properties = " + myChangePreferences + ";";
    myString += "app.findChangeGlyphOptions.properties = " + myFindChangeOptions + ";";
    app.doScript(myString, ScriptLanguage.javascript);
    var myFoundItems = myObject.changeGlyph();
    //Reset the find/change glyph preferences after each search.
    app.changeGlyphPreferences = NothingEnum.nothing;
    app.findGlyphPreferences = NothingEnum.nothing;
function myFindFile(myFilePath){
    var myScriptFile = myGetScriptPath();
    var myScriptFile = File(myScriptFile);
    var myScriptFolder = myScriptFile.path;
    myFilePath = myScriptFolder + myFilePath;
    if(File(myFilePath).exists == false){
        //Display a dialog.
        myFilePath = File.openDialog("Choose the file containing your find/change list");
    return myFilePath;
function myGetScriptPath(){
    try{
        myFile = app.activeScript;
    catch(myError){
        myFile = myError.fileName;
    return myFile;
Here  is the File "findChangeStrings_SimpleTest.txt"
//FindChangeList.txt
//A support file for the InDesign CS4 JavaScript FindChangeByList.jsx
//This data file is tab-delimited, with carriage returns separating records.
//The format of each record in the file is:
//findType<tab>findProperties<tab>changeProperties<tab>findChangeOptions<tab>description
//Where:
//<tab> is a tab character
//findType is "text", "grep", or "glyph" (this sets the type of find/change operation to use).
//findProperties is a properties record (as text) of the find preferences.
//changeProperties is a properties record (as text) of the change preferences.
//findChangeOptions is a properties record (as text) of the find/change options.
//description is a description of the find/change operation
//Very simple example:
//text    {findWhat:"--"}    {changeTo:"^_"}    {includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:false}    Find all double dashes and replace with an em dash.
//More complex example:
//text    {findWhat:"^9^9.^9^9"}    {appliedCharacterStyle:"price"}    {include footnotes:true, include master pages:true, include hidden layers:true, whole word:false}    Find $10.00 to $99.99 and apply the character style "price".
//All InDesign search metacharacters are allowed in the "findWhat" and "changeTo" properties for findTextPreferences and changeTextPreferences.
//If you enter backslashes in the findWhat property of the findGrepPreferences object, they must be "escaped"
//as shown in the example below:
//{findWhat:"\\s+"}
grep    {findWhat:"  +"}    {changeTo:" "}    {includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:false}    Find all double spaces and replace with single spaces.
grep    {findWhat:"\r "}    {changeTo:"\r"}    {includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:false}    Find all returns followed by a space And replace with single returns.
grep    {findWhat:" \r"}    {changeTo:"\r"}    {includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:false}    Find all returns followed by a space and replace with single returns.
grep    {findWhat:"\t\t+"}    {changeTo:"\t"}    {includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:false}    Find all double tab characters and replace with single tab characters.
grep    {findWhat:"\r\t"}    {changeTo:"\r"}    {includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:false}    Find all returns followed by a tab character and replace with single returns.
grep    {findWhat:"\t\r"}    {changeTo:"\r"}    {includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:false}    Find all returns followed by a tab character and replace with single returns.
grep    {findWhat:"\r\r+"}    {changeTo:"\r"}    {includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:false}    Find all double returns and replace with single returns.
text    {findWhat:" - "}    {changeTo:"^="}    {includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:false}    Find all space-dash-space and replace with an en dash.
text    {findWhat:"--"}    {changeTo:"^_"}    {includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:false}    Find all dash-dash and replace with an em dash.
//The test starts here
grep    {, findWhat:"\\r\\r.+[:].+\\r"}    {, appliedParagraphStyle:"01-Header"}    {includeLockedStoriesForFind:false, includeLockedLayersForFind:false, includeHiddenLayers:true, includeMasterPages:true, includeFootnotes:true, kanaSensitive:true, widthSensitive:true}    //Comment

Similar Messages

  • Help with Javascript error in event handler slowing animation down.

    Hi all--
    I did an animated book cover for my publisher, Baen Books, but an error keeps coming up in my animation.  The actual animating can be viewed here:
    http://baen.com/310x204/A_CallToDuty.html
    As you can see, when the error pops up, the animation grinds to a halt, an it has to recover.  I am not well enough versed in javascript to know what is going on. The error code below repeats over and over again as it plays.
    6Javascript error in event handler! Event Type = timeline edge.3.0.0.min.js:171
    3
    <error> VM26:184
    Javascript error in event handler! Event Type = timeline edge.3.0.0.min.js:1714Javascript error in event handler! Event Type = timeline edge.3.0.0.min.js:1713
    <error>
    If anyone has an idea what is causing this, I would be extremely grateful for  any help.
    David Mattingly

    Hi Hemanth--
    I put it in a dropbox folder for you here:
    Dropbox - EdgeAnimation
    This contains 2 versions--a small one for the preview, and then a larger one when people click on the cover preview. Thanks in advance for your help.\
    David Mattingly

  • Document library, List content does not load in certain computers with Javascript error in status bar. Any solution?

    Hi All,
    The document library, list, discussion board contents are not loading only in certain computers.  Javascript error also appears in status bar.  How to resolve it? any suggestions?

    Hi,
    Do you have any updates?
    Best Regards,
    Lisa Chen
    Lisa Chen
    TechNet Community Support

  • Desktop create fails with javascript error (unable to proceed)

    When creating a new desktop from a portal template the action fails and the only error I can find is a javascript error.
    The error in the browser when trying to create a new desktop from the portal.
    <b>Error: unterminated string literal</b>
    Source File: http://localhost:7001/FoundationAppAdmin/portal.portal
    Line: 2710, Column: 28
    Source Code:
    ror(s) occurred during XmlDisassemblerContext parsing: Parser Error...
    That corresponds to this code in the web page source in the portal admin tool.
    function showUserErrorMessages() {
    alert(unEscapeChars("- Error: The desktop could not be disassembled. [com.bea.netuix.application.transform.disassembler.XmlDisassemblerException: com.bea.netuix.application.transform.disassembler.XmlDisassemblerException: One or more validation error(s) occurred during XmlDisassemblerContext parsing: Parser Error...
    org.xml.sax.SAXParseException: cvc-complex-type.3.2.2: Attribute 'columns' is not allowed to appear in element 'netuix:layout'.
    Parser Error...
    org.xml.sax.SAXParseException: cvc-complex-type.3.2.2: Attribute 'columns' is not allowed to appear in element 'netuix:layout'.
    Parser Error...
    org.xml.sax.SAXParseException: Duplicate unique value [ID Value:  bEarn] declared for identity constraint of element "desktop".
    Parser Error...
    org.xml.sax.SAXParseException: cvc-complex-type.3.2.2: Attribute 'columns' is not allowed to appear in element 'netuix:layout'.
    Parser Error...
    org.xml.sax.SAXParseException: cvc-complex-type.3.2.2: Attribute 'columns' is not allowed to appear in element 'netuix:layout'.
    Message was edited by:
    dallastx

    When creating the desktop from a .portal file in the admin tools, the .portal file is parsed and validated before persisting to the database. It looks like this is failing and you are getting some fairly straight-forward messages. Check the format of the contents in the .portal file and make the necessary corrections.

  • Photoshop cs6 crashes with BEX Error

    Hi all,
    Just not to sure what to do. I have a windows 7 32bit machine with sp1. And it meets all the system requirements for cs6
    After I install adobe, i can open a drawing, but if i make a change to the drawing it crashes with the following error
    Problem Event Name:
    BEX
      Application Name:
    Photoshop.exe
      Application Version:
    13.0.0.0
      Application Timestamp:
    4f61beba
      Fault Module Name:
    StackHash_0a9e
      Fault Module Version:
    0.0.0.0
      Fault Module Timestamp:
    00000000
      Exception Offset:
    191d5f40
      Exception Code:
    c0000005
      Exception Data:
    00000008
      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
    I have uninstalled it and reinstalled it.
    I have tried to go ( as I saw one person on you tube do ) --> Right click computer --> click on properites --> advanced system settings --> settings ( under performance section ) --> Data execution prevention --> Turn on DEP for all programs except the programs listes below. --> when I try to add photoshop in there, it wont allow me to. It says It needs to be turned on.
    Ive tried to research why it's crashing, but at the moment I cant see where or how to fix it.
    Really stuck, any help will be awesome.
    Thanks
    Lionel

    You're several updates behind -- please go install the Photoshop updates.
    But it looks like the error might be in a driver (or something that jumps into unknown code) - so you might want to update your video card driver from the GPU maker's website. And make sure that any third party plugins you have installed are up to date.

  • OTN Main page with Javascript Error

    Hi,
    Please observe that the OTN main page generates these Java script errors when it loads: Perhaps, that is one reason the page load is so slow.
    Regards
    Flemming G. Jensen
    http://otn.oracle.com/
    Event thread: onmouseover
    Error:
    name: ReferenceError
    message: Statement on line 1: Reference to undefined variable: No such variable 'popUp'
    Backtrace:
    In unknown script
    popUp("HM_Menu5", event);
    At unknown location
    {event handler trampoline}
    http://otn.oracle.com/
    Event thread: onmouseout
    Error:
    name: ReferenceError
    message: Statement on line 1: Reference to undefined variable: No such variable 'popDown'
    Backtrace:
    In unknown script
    popDown("HM_Menu5");
    At unknown location
    {event handler trampoline}

    Thanks for your fast reply.
    I am using Windows NT or 2K as OS depending on which machine I working on, and Opera as browser.
    http://www.opera.com
    In fact, using Opera has also helped me to find several error in my own Javascript code. ;-)
    Regards
    Flemming G. Jensen

  • CS6 crashes with runtime error on program start up

    I installed CS6 with no problems but I have had to uninstall it because every time I open the program I get this message:
    It is impossible to clear this message and I have to reboot to remove it. 
    Hard and software:  Asus P8Z68 Deluxe/GEN3;  2700K; 16Gb ram, SSDs and HDDs (all programs on one SSD and scratch disk for Photoshop on another, data files on HDDs); Gainward Phantom Nvidia vga card 1Gb.  All drivers upto date.  OS is Windows 7 Ultimate 64bit; among other installed programs - Photoshop 7, CS4 and CS5 - no problems with them at all).
    I would have submitted a crash report but couldn't discover how to despite following a number of links.
    I wonder if anyone else has had this problem?

    You have a plug-in misinstalled. More details here:
    http://forums.adobe.com/message/4282665#4282665

  • How can I get FF to stop hanging ('not responding') with javascript errors 13, 847 & 1000?

    I just wrote a long list of what I've done to check the situation and the info vanished when I looked lower on page. so to reiterate in condensed form-
    you name it I've done it over the past week including uninstalling and reinstalling from a new download after disabling addons and plugins. Sorry, but safemode cannot be located at all. Anti-virus checks.
    Machine is only two months old.
    Emptied caches, cookies, and history.
    Read knowledge base- good info -but didn't this problem yet.
    It happened with FF4 so dropped back to 3.6.15 and was updated to 3.6.16 , shortly after that surf city- hanging ten- or more time per hour.
    Tried live help but hanging kicked me out of line over and over again-was #1 in q for over an hour one day. Can't remember everything else and I'm getting frustrated

    hello, this is probably happening when you run the default profile with the -no-remote switch.
    http://kb.mozillazine.org/Profile_in_use

  • Javascript error in Content Admin- Portal Content

    Hi Experts,
    We have just installed SAP Netweaver Portal 7.0. We get an error of javascript when we navigate to Content Administration->Portal Content and due to this Portal Content Folder is not displayed. While through Super Admin role Portal Content is displayed with javascript error. Please guide us, its Urgent.
    Rewards to satisfactory answers.
    Regards,
    Bharat Mistry.

    Hi Bharat
    refer to this for the Log file
    Physical path of log files in EP server
    Portal Runtime Error - Where is the log file?
    For javscript problem refer  to
    Javascript error when loading Portal Content
    Portal Content Permissions
    Getting javascript error while logging in EP
    Thanx
    Pankaj

  • Interative report Charts Javascript error

    Hi All,
    I have a interactive report, when I generate a chart from the drop down action menu, it throws javascript error "null is null or not an object".
    Also I was wondering if I could include onclick event to this chart like the other normal apex charts.
    Thanks,
    Manish

    Hi Joel,
    I have noticed this in IE 7 also, I did little bit of investigation and found that chart id is not getting initialized in case of interactive report. I have created another page with the same code and passed a value to the chart id. Hopefully Apex team will take care of it in their next release. Thanks.
    without javascript error --> http://apex.oracle.com/pls/otn/f?p=50942:16
    with javascript error--> http://apex.oracle.com/pls/otn/f?p=50942:15
    <div id="apexir_CHART">
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="n1" width="700" height="400">
                      <param name="movie" value="/i/flashchart/swf/AnyChart.swf" />
                      <param name="flashvars" value="XMLFile=http://apex.oracle.com/pls/otn/apex_util.flash2?p=50942:15:&SESSION.:FLOW_FLASH_CHART2_RPT2262921504176107062_en-us" />
                      <param name="wmode" value="transparent" />
        <embed type="application/x-shockwave-flash" src="/i/flashchart/swf/AnyChart.swf" flashvars="XMLFile=http://apex.oracle.com/pls/otn/apex_util.flash2?p=50942:15:&SESSION.:FLOW_FLASH_CHART2_RPT2262921504176107062_en-us" wmode="transparent" id="n1" width="700" height="400">
       </embed>
    </object>
    </div>Thanks,
    Manish.

  • Fix for javascript errors in OrganizationDesigner and other places

    A sequence of DLL/Control re-registration to clear up javascript errors in all the OrganizationDesigner popups.
    I had a lot of problems with javascript errors in Org Designer.  I was able to fix them by re-registering some IE controls and libraries.  In doing so I have cleared up all my javascript errors.  Here is the sequence - hopefully it helps others.
    open a command window and type the following:
    regsvr32 msscript.ocx
    regsvr32 dispex.dll
    regsvr32 vbscript.dll

    Hi Blaine,
    This will also fix some errors you might see when a customer clicks on a calendar date/time field and the calendar shows up blank.  Was difficult to diagnose it but found unrelated articles on the internet.  Thanks for posting here and saving many people the time.
    Thanks,
    Ant

  • JavaScript Errors in Enterprise Portal side

    Hi all,
    I am facing a very serious problems with JavaScript Errors in Enterprise Portal related to SALESWORKBENCH application which is developed using PDK,EPCF,JAVASCRIPT and CSS concepts .

    salesworkbench might be an old applicaton i guess and Ep 6.0 is not compatible  after integrating with SALESWORKBENCH with respect to EPCF ( ENTERPRISE PORTAL CLIENT FRAMEWORK )

  • Cs6 dreamweaver - javascript error with Clean up Word HTML . . .

    Very recently upgraded to CS6 from CS5.5. Every now and then, I have to run the Clean up Word HTML Commands function for a client. Never had a problem before. This time, I got this message:
    While executing onClick in Clean Up Word HTML.htm, the following JavaScript error(s) occurred:
    At line 2012 of the "Macintosh HD:Applications:Adobe Dreamweaver CS6:Configuration:commans:Clean Up Word HTML.js"
    The object is not currently contained in a document.
    I searched through the Discussions and found refernce to deleting MacFileCache-###.dat file in the Library Configuration folder for Dreamweaver CS 6. Did that, same thing. It also mentioned deleted the entire Configuration folder. Same result.
    I called tech support and was directed to go through the (count 'em) 14 steps on the Troubleshoot JavaScript page -- http://helpx.adobe.com/dreamweaver/kb/troubleshoot-javascript-errors-dreamweaver-cs4.html. Still no luck.
    Anyone else out there having this problem? What am I missing? Help!
    Thanks, Tim

    Hi SnakEyes02,
    That could be. Let me know when you have grabbed these. They were Word docs that I saved the same way I always have done (Save As, Format: Web Page (.htm)), creating .htm files that work in CS5.5 Dreamweaver and earlier versions.
    http://test.babysneaks.com/WordHTML1.htm
    http://test.babysneaks.com/WordHTML2.htm
    Thanks for your help. Tim

  • CS6: Edit - Keyboard Shortcuts javascript error

    Does anyone know how to fix this:
    In CS6, when I right-click a new snippet and select Edit Keyboard Shortcuts, I just get a javascript error, the same error I get if I try to create a keyboard shortcut directly from the menu at the top of the screen, Edit -> Keyboard Shortcuts.
    The error is "At line 321 of <path>\Keyboard Shortcuts.js getMenuTree: Argument number 1 is invalid."
    After that, where the list of standard shortcuts should appear, the list is blank. All the other built-in shortcuts also are blank, and trying to duplicate the standard set  just creates a blank set and doesn't let me add anything. Deleting Dreamweaver's cache file, the blahblah.dat thing, doesn't fix it.

    Troubleshoot JavaScript errors.  Start with steps 10 & 12.
    http://helpx.adobe.com/dreamweaver/kb/troubleshoot-javascript-errors-dreamweaver-cs4.html
    Nancy O.

  • XML IDOC post to R/3 Via WAS - want to see error content with JavaScript

    Hi,
    I am posting XML IDOCs to our R/3 system via a webpage that I have built with JavaScript.  I am posting to the WAS, which is configured to read the XML IDOC with SAP's standard class handler CL_HTTP_IDOC_XML_REQUEST.  We are on basis 620 support pack SAPKB62041.
    In my webpage, I have the JavaScript code set to read the status and statusText so I can see the response from WAS when I post my XML IDOC.  However, I am getting back very generic information when I encounter a 409 error.  THe statusText is always "input_not_found".  So I debugged the class handler code and found that SAP is returning back the more descriptive error info in HTML format.
    I ran a packet sniffer to see what WAS returns and the info looks like this:
    <html><head><title>IDoc-XML-inbound not ok</title><h1>IDoc-XML-inbound not ok</h1></head><body>
    E:Table Lookup Error:300 Cannot map value for field MESCOD in table ZFI_IF_IDOCORG using values
    SNDSAD = |TE|  and RCVLAD = |GL|  and MESTYP = |ACC_DOCUMENT|</body></html>
    I want to know how I can get my webpage to read this HTML info and store that into an alert so I can read this text that I'm returning back to the HTTP post.
    This is how my script looks.  I'm using IE6.
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html>
    <head>
         <title>Test XML</title>
    <SCRIPT ID=clientEventHandlersJS LANGUAGE=javascript>
    <!--
    function XMLHTTPButton_onclick(DataToSend) {
         var xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
         xmlhttp.Open("POST","http://some_server:1089/sap/bc/zxml_idoc?sap-client=200&sap-language=EN",false);
         xmlhttp.setRequestHeader("Content-Type", "text/xml");
         xmlhttp.send(DataToSend);
            alert(xmlhttp.Status);
            alert(xmlhttp.statusText);
         alert(xmlhttp.responseXML.xml);
    //-->
    </SCRIPT>
    </head>
    <body>
    <BR>
    This page posts to
    <BR>
    http://some_server:1089/sap/bc/zxml_idoc?sap-client=200&sap-language=EN
    <FORM name=xmlform method=post >
    <P><TEXTAREA style="WIDTH: 623px; HEIGHT: 369px" name=xmlData rows=23 cols=77>
    </TEXTAREA>
    <P>
    <INPUT type="button" value="Submit XMLHTTP" id=XMLHTTPButton name=XMLHTTPButton
    LANGUAGE=javascript onclick="return XMLHTTPButton_onclick(document.xmlform.xmlData.value)">
    </form>
    Previously with this class handler, SAP returned the detailed info back to the "alert(xmlhttp.statusText)" and I had no problem seeing the return info.  But now they have decided to format it in HTML and I don't know how to view this text since it has no ID on it to pull this into an alert box.
    If anyone has any ideas, please let me know.
    Thanks,
    Andrea

    Ok!
    I have solve the problem. So, I was trying to connect via SSO within an user that was not registered in R/3 and I forgot it.
    Sorry for the inconvenience.

Maybe you are looking for