Redraw tons of Script errors and slow

Recently, I set CS 5.5 with Bridge 4.1.0.54 on a new MacBook Pro.

When I launch Bridge I get the following messages:

screenshot 2012-03-01 at 9.52.34 PM.jpg

screenshot 2012-03-01 at 10.05.04 PM.jpg

screenshot 2012-02-29 at 3.11.44 PM.jpg

I am confident of a few things. First of all, it is obviously somewhat related to this issue:

http://forums.Adobe.com/message/3083307

Secondly, it has nothing to do with the CFS or Samba share.

Finally, the error has something to do with the output module script - if I start without it, no errors.

Currently I have my MBP installation with two drives. SSD for the system software and a second SATA drive for content. All software from my system are on the boot SSD drive, however, my users folder is divided between the two. All except ~/users/xxx/library is symbolicly linked on the second disc.

If you look carefully at the above referenced thread, all errors are the same except for the error "could not create. In the thread, it lists a specific user, my error lists the Volumes/Null /...

Here's what I've tried so far:

Reset the app

Trashed the prefs.

Start without scripts

reinstalled all of the CS Suite 5.5 after uninstalling and using the cleaning tool

To add insult to injury, when the output script is disabled and bridge does not charge, it makes it very slow to the point where it is not usalbe. It should also have a ton of redraw problems.

Any advice?

I think I can find a workaround.

I've been racking my brain over the past days to understand it. I've tried at least a dozen patches permsissions, through the apple utility and manually. I reinstalled the bridge and CS 5.5 three times using the cleaner script and a new installation. NOTHING.

So, I went back to the original error message:

One thing I noticed was that whenever bridge began, it created a folder in /volumes called 'null '. I checked three different installation program for Mac that it the same mine and NONE of them has created this folder when you start bridge.

I still don't understand why my laptop does this.

However, I looked at the error and it seemed to me that the bridge was looking for a path that does not exist, which was null/volumes / / Adobe/Adobe Bridge CS5.1/Adobe Output Module/Mediagallery

the path of Adobe/Adobe Bridge CS5.1 /... is the same way that my folder ~/library/application support /... for adobe.

First, I created a regular alias in this folder to create the false path. No dice. Then I tried a symlink to creat the fake/volumes/null/Adobe/Adobe Bridge CS5.1 road / Adobe Output Module / Mediagallery

Voila. Worked like a charm. I can now start Bridge without errors, script errors, etc. I have also all the features of my exit sign back and I am able to use it without having the disk space error.

Now to understand why bridge creates a folder "Null."

Tags: Bridge

Similar Questions

  • JQuery errors and slow site

    I get error messages and really sulggish performance on a site that worked very well on BusinessCatalyst, but when transferred to blue host I am riddled with error and slow loading pages bearly messages. Can anyone provide support?

    Here is some info on the site:

         -     http://patchenlaw.com (the blue host site)

         -     http://Patchen.BusinessCatalyst.com/index.html (test the site on BusinessCatalyst for review w/client, RSS home widget settings now directly to patchenlaw.com)

    -error message: cannot read property 'msie' undefined

    -error message: MuseJSAssert: error calling the function switch: TypeError: jQuery.browser is undefined

    After that reading previous posts similar error messages, I have eliminated first the news feed on the home page, then the blog wordpress on the news page, then finally the two. None of those provided bugs. Whenever I downloaded new files exported and cleared my cache and history navigation between each new download site and download. Safari seems to be the best performer, but chrome and firefox are horrible.

    Any ideas would be very appreciated.

    Hi aakozy,

    The script on your page that loads in your workflow takes over also in JavaScript which is incompatible with Muse pages. Specifically, it loads in a different version of jQuery or substituting our version, which is causing problems that you encounter. You should see if they have a version of their code which do not load in jQuery, work with the creator of the script to disable or pull in your stream using a different mechanism.

    I'm sorry, and I hope that helps clear things up.

    Andrew

  • I double clicked on update of programs and I wonder now run a legacy cpl high. When I click ok it says script errors and nothing works.

    original title: run a legacy cpl high?

    Hi all. on my control panel I double clicked on update of programs and I wonder now run a legacy cpl high. When I click ok it says script errors and nothing works. If I click on details until I click on continue it says; "C:\Windows\System32\RunLegacyCPLElevated.exe" Shell32.dll, Control_RunDLL "C:\Windows\system32\ISUSPM.cpl",Program updates I'm not very technical and well I tried to look on the search engines, I can't find anything to help me.

    Hope someone can advise me please

    Thank you aypee74

    I figured how to stop my warning high. I just got an answer and it reminded me that I now know why my computer was giving this prompt. This may help a bit there. So I decided to write.

    In my case it was my 'Sigmatel Audio Control Panel.
    I had disabled "allow reconfiguration pop ups".
    This will make the warning "Run a legacy CPL high" lights up to chance that your system can access this audio program. Once I've rechecked. The warnings went away unless I open the control panel. But it's a normal warning according to the manufacturer of my computer.
    Some of you may have something much more serious, but for the few who becomes confused by the latter and have this audio driver, this may help.
  • Cannot open internet Explorer. says I have a script error and I can not download another version

    I have internet explore 8, but something happened to him earlier so now I use google chrome. The logo for IE disappeared and I was getting script errors at the time also and now I want to use IE, but I can't. I tried to download IE 9 and he said: it could not copy a file and then took me to the troubleshooting and IE has no good at all. I have IE 8, but how do I connect it? Its a puzzle to be sure. Help?

    IE9 is not compatible with xp...

    For the script, open internet options, Advanced tab, look for 'Disable script debugger' & uncheck

    the box, too, look below it & uncheck 'Disable script-other', close when thru.

    Also, download & install these updates at: http://technet.microsoft.com/en-us/security/bulletin/MS10-022

    Scroll down to xp 5.8 would later...

  • many runtime errors and slow responses

    Originla title: what is WiseFixer and is a legitimate program?

    I get a lot of errors of execution and slow responses.  Ran the scan in the wise Fixer but was reluctant to unlock the registry to run the repair.

    Hello

    · When you receive the errors?

    · It is when you work with a program or a particular application?

    · Do you remember all the recent changes on the computer before the show?

    · What is the service pack installed on the computer?

    · Give us the exact error message that you receive to help us best solve the problems.

    For the problem with the performance of the computer, you can follow the steps in the link below: how to make a computer faster: 6 ways to speed up your PC: http://www.microsoft.com/atwork/maintenance/speed.aspx

    NOTE: Microsoft cannot guarantee that problems resulting from the use of third-party software can be resolved. Software using third party is at your own risk.

  • solution for the script error and what it

    I'm not very tech savy, so I need details on how to solve this problem and what he does. I got a script error the reads as follows:

    Online: 52

    Char: 2

    Error: Cannot move the focus to the control because it is invisible, not enabled, or of a type that does not accept focus.

    Code: 0

    URL: file:///C:/Program%20Files/HP/Digital%

    20Imaging/skins/HP1/UL/js/unload_startup.js

    Please be gental with the solution, as I said I'm not a programmer at all. I recently had a virus and my computer "cleaned" and had reinstalled it. So this might help explan the problem. I have also problems with Windows media player.

    When I encountered this problem I have installed software from a disc to a new digital camera.

    Thanks in advance for your help

    Hi famcole1,

    1. do you have an Antivirus installed on the computer software?
    2. what questions do you have with Media Player?

    Disable the script debugger, and then check the issue.

    a. open Internet Explorer, click Tools and then click Internet Options.

    b. in the Internet Options dialog box, click the Advanced tab.

    c. Click to select the script turn off debugging (Internet Explorer) and disable script debugging (other) check boxes, and then click to clear the display a notification of every script error box.

    d. click OK to close the Internet Options dialog box.

    Review the links below, I'm sure that this will help solve your problem better:

    How to fix script errors in Internet Explorer on Windows computers?
    http://support.Microsoft.com/kb/308260

    To keep your computer safe in the future, you can useMicrosoft Security Essentials , which is a free software from Microsoft, which provides coverage in real time to your PC at home that protects against viruses, spy software and other malicious software.

    Kind regards
    Manasa P - Microsoft technical support.

  • Script errors often slow Firefox, does not and the display no longer responds.

    In recent weeks, firefox has often been insensitive, usually represented as "does not. It lasts anywhere from a few seconds to several minutes (maybe more, but by this amount of time, I lose patience and "end task" in the Task Manager.) It is usually followed by an error "the script is not responding. What script it's varies. I answered by clicking on "stop script" which usually fixes the problem temporarily.

    The problem seems to occur more often at random, but happen always predictable on site with videos like youtube. Here, it's also worse, take much longer to solve if we do at all. I have active flashblock, and sometimes the error occurs before I got the chance to activate the video and sometimes after, but occurs systematically. In addition, on this kind of site, the error "the script is not responding" will also go on which most of the time, which I have not seen anywhere else, which means that the only solution, after a certain time must end the process in the Task Manager. Sometimes, I tried to play the same video for half an hour without success.

    As I have spent some time in the Task Manager, I noticed that I find myself with many processes running for FlashPlayerPlugin_15_0_0_152.exe * 32 (Description: Adobe Flash Player 15.0 r0.) They accumulate more I use firefox, but disappear when I restart my computer. I'm away until at least 50 at any given time. Most use 128 or 124 K of memory, but about 1 in 7 uses between 1-5000 K. I don't know if it is related to these issues, but I only noticed it since it was started.

    I tried to reset firefox and it changed nothing of the above.
    If it helps, I've used Windows 7. Do not hesitate to ask for more details on my system and I will do my best to answer, although I'm not a computer expert. Thank you very much in advance for your help.

    Please update to version 32 and make sure that it also does not happen with the disabled extensions/addons.

    Was this an improvement when you have disabled the extensions?

  • Script errors and a question

    //Created by Daryl R. Smith
    //This is the tab for Totes
    
    #target illustrator
    
    var thisDoc = app.activeDocument;
    
    if (thisDoc.selection.length > 0)
    {
    
    var w = new Window ("dialog", "Choose Totes Template", undefined, {closeButton: false});
    w.alignChildren = "right";
    
                  w.onShow = function()
                    {  
    
                        for(var i=0; i<totes1.children.length; i++)
                {  
                    var thisPanel2 = totes1.children[i];  
                    thisPanel2.originalLocation = [thisPanel2.location[0], thisPanel2.location[1]];  
                }//end for
            
            }//end on show function
        
    var tpanel = w.add ("tabbedpanel");
    tpanel.size = [400, 520]; 
    
    
    //**********************************************************************************************************************************************************
    //******************************************************Section to setup the Totes Tab******************************************************************
    //**********************************************************************************************************************************************************
    
    //creates the Totes Tab
    var totesTab = tpanel.add ("tab", undefined, "Available Totes");
    totesTab.orientation = "column";
    
    //Creates first Row Group for Totes, contains panels 1,2 and 3
    var TotesGroup = totesTab.add("group",undefined);
            TotesGroup.orientation = "row";
            TotesGroup.alignChildren = "left";
    
    //first Totes Panel
    var totes1 = TotesGroup.add ("panel", undefined, "");
    totes1.alignChildren = "left";
    totes1.size = [300,480];
    
    
    var docSelection = app.activeDocument.selection;
    var newGroup = app.activeDocument.groupItems.add();
    
    for ( i = 0; i < docSelection.length; i++ ) {
       var newItem = docSelection[i] ();
    newItem.moveToEnd( newGroup );
    }
        
       alert (thisDoc.selection.length)
    
    GetToteTempNames()
    
    function GetToteTempNames()
    {  
        
        //Replace this address for the "toteTempPath" to the folder that has all the templates it in it, then the for loop will place them all
        //into a radio button array for the user to choose which one they want.  This updates everytime that this script is ran so if
        //one if removed or added it will show up reducing the amount of required time needed to update the script.
        //when replaced make sure to change the \ marks to / marks or it will not work.
        
      var toteTempPath = Folder ("Z:/  Vitronic Master Templates/STE2 Templates/TOTES & BAGS");   
      var toteTempFiles = toteTempPath.getFiles();  
      var TotenamesArr = [];  
      for(var i=0; i<toteTempFiles.length; i++){  
      var thisToteFile = toteTempFiles[i];  
      TotenamesArr.push(thisToteFile.displayName); 
      }  
    
      return TotenamesArr;  
    }  
    var totesarr1 = GetToteTempNames();
    
            for(var i=0; i<totesarr1.length; i++){  
                var lbl = totes1.add("radiobutton", undefined, totesarr1[i]);  
            }  
        
            var scrl = TotesGroup.add('scrollbar'); scrl.size = [20, 480];  
              
            scrl.onChange = scrl.onChanging = function()
            {  //start function
                for(var i=0; i<totes1.children.length; i++)
                {  //start for
                    var thisPanel2 = totes1.children[i];  
                    var xLoc = thisPanel2.originalLocation[0];  
                    var yLoc = thisPanel2.originalLocation[1];  
                    thisPanel2.location=[xLoc, yLoc-((this.value/100) * ((totes1.children.length*27.5) - (scrl.size[1]+5)))];  
                    // These numbers are my arbitrary way of setting the y location  
                    }//end for loop
                }//end function
            
           totes1.children[0].value = true;
            
            var bottombuttons = w.add ("group");
            bottombuttons.orientation = "row"
            
            var rsize = bottombuttons.add ("panel", undefined, "Resize Artwork?");
    rsize.alignChildren = "left"
    rsize.orientation = "column"
    
    rsizeyes = rsize.add ("radiobutton", undefined, "Yes");
    rsizeno  = rsize.add ("radiobutton", undefined, "No");
    
    rsize.children[1].value = true;
    
    
    var kbottombuttons = bottombuttons.add ("group", undefined, "")
    kbottombuttons.orientation = "column"
    kbottombuttons.add ("button", undefined, "Ok");
            
    
     //**********************************************************************************************************************************************************
    //********************This section is for the functions to output your choice then run the function depending on the choice you made****************
    //**********************************************************************************************************************************************************
    
    if (w.show () == 1)
    {
        
    var templateselected = selected_rbutton
    
    var requestedtemplate = selected_rbutton (totalgroups)
    
    var confirmed = confirm ("You picked [ " + selected_rbutton (totalgroups) +" ]"+ "\nYou picked [ " + questionResize (rsizechoice) + " ] to resize" + "\n" +"\nContinue?");
            confirm.noAsDflt == false;
            
            if (confirmed == true)
            {
                
                
                copy();
                openTemp ();
                paste();
                centerArt ();
                resizeart ();
                savefile ()
               //need to wait for the save script to finish before it does the put name so that if the user changes the file name from the save pallet it will be reflected
               //in the putname function.
               
               wait = savefile();
    while(!wait) {
        //wait = false; // this is just killing time  
        // so is this
        a++;     
          
        if (a>1000) break; // guard against infinite loop  
    }  //end wait
               
                putname ();
                
             } /*end if */ else
         {
             alert ("You chose not to continue, script stopped")
             }//end else
    }//end if OK
    
    
    //**********************************************************************************************************************************************************
    //*********This section is for the function to check which option for resize gets pressed and returns the text to a variable for output******************
    //**********************************************************************************************************************************************************
    
    var rsizechoice = [rsize]
    
    function questionResize (rsizechoice)
    {//start function
    //when choice is pressed return choice text for variable output    
    for (var i = 0; i < rsize.children.length; i++)
    {
    if (rsize.children[i].value == true)
    return rsize.children[i].text;
    }//end for
    }//end function QuestionResize
    
    
    //**********************************************************************************************************************************************************
    //***************************************************************This is the section that will center the artwork ******************************************
    //**********************************************************************************************************************************************************
    
         var thisDoc = app.activeDocument;
        thisDoc.rulerOrigin = [0,0];  //  Sets the coordinates of the artboard to the lower left hand corner of the document.
        thisDoc.pageOrigin = [0,0];  //  This makes sure a valid reference point is used for different sized documents.
        
        function centerArt()
       {   
           var thisdoc = app.activeDocument;  
            var selecteditem = app.activeDocument.selection;
            var hasDocCoords = app.coordinateSystem == CoordinateSystem.ARTBOARDCOORDINATESYSTEM;
            
            
            var p = thisdoc.pageItems;  
            for (var i = 0, l = p.length; i < l; i++) {  
                var pID = p[i];  
                if (pID.guides == true) {  
                    var guideBox = pID  
                }  
            }   
            var wNum = guideBox.width;  
            var hNum = guideBox.height;
            var swNum = selecteditem.width;
            var shNum = selecteditem.height;
            
            var sxOffset = (swNum/2);
            var syOffset = (shNum/2);
            var xOffset = (wNum/2);
            var yOffset = (hNum/2);
            
            
            var xNum = guideBox.position[0]+xOffset;  
            var yNum = guideBox.position[1]-yOffset; 
            
            var guideXCenter = xNum-sxOffset;
            var guideYCenter = yNum+syOffset;
            
            var sxNum = selecteditem.position[0]+sxOffset;
            var syNum = selecteditem.position[1]-syOffset;
            
            //to test your script for position un annotate the two alerts below
            
                   alert("GuideBox Data:\nWidth: "+wNum+"\nHeight: "+hNum+"\nX Position: "+xNum+"\nY Position: "+yNum); 
                    alert ("Selected object Data:\nWidth: "+swNum+"\nHeight: "+shNum+"\nX Position: "+sxNum+"\nY Position: "+syNum);
                   
                   
            //changes the position of the selected artwork to the center of the guide box.
            app.activeDocument.selection[0].position = [guideXCenter, guideYCenter]    
        }//end centerart
    
       function resizeart()
    {
       if (questionResize (rsizechoice) == "Yes")
       {
            for (var i = 0; i < app.activeDocument.pageItems.length; i++) 
            {  
                  
                if (app.activeDocument.pageItems[i].guides == true) {  
                    var guideBoxSize = app.activeDocument.pageItems[i];  
                }  //end if
            }   //end for
            var guideW = guideBoxSize.width;  
            var guideH = guideBoxSize.height;
            
            var itemW = app.activeDocument.selection.width;
            var itemH = app.activeDocument.selection.height;
            
             //to test your script for resize un annotate the two alerts below
             
            alert ("guide is this tall " + guideH + "\nguide is this wide " + guideW);
            alert ("item is this tall " + itemH + "\nitem is this wide " + itemW);
            
            var artWidth = itemW;
            var artHeight =itemH;           
    
        if (artWidth > artHeight)
            {
               var a = (guideW/artWidth)*100;
               app.activeDocument.selection[0].resize(a,a);
             }   
        if (artHeight > artWidth)     
            {
               var b = (guideH/artHeight)*100;
               app.activeDocument.selection[0].resize(b,b);
             }
         
     var artWidth2 = itemW;
    var artHeight2 =itemH;    
    
     if (artHeight2 > guideH)
        {
           var c = (guideH/artHeight2)*100;
          app.activeDocument.selection[0].resize(c,c);
          }
            
    
         }//end if doresize
    }//end function resizeart
    
    function putname ()
    {
      
      var thisDoc = app.activeDocument;
            thisDoc.rulerOrigin = [0,0];
            thisDoc.pageOrigin = [0,0];
      
      var filename = app.activeDocument.name.replace(/\.[^\.]+$/, '');
      var createdate = app.activeDocument.modified;
      
      var  theDate = new Date();
            var day = theDate.getDate();
            var month = theDate.getMonth() + 1;
            var year = theDate.getFullYear();
            var hours = theDate.getHours();
            var min = theDate.getMinutes();
                if (min < 10)
                    min = ("0" + min);
            var morn;
                if (hours >= 12)
                    {
                        hours = hours-12;
                        morn = " PM";
                    }
                else
                    morn = " AM"
    
    var saveDate = (month + "-" + day + "-" + year + "    " + hours + ":" + min + morn );
      
      
      
    
      var nameTextFrame = thisDoc.textFrames.add();
        nameTextFrame.contents = globalartistname + "\n" + filename + "\n" + saveDate;  
        nameTextFrame.top = 1000;
        nameTextFrame.left = 100;
        nameTextFrame.filled = true; 
        nameTextFrame.alignment = "center";
        
        }//end put name
    
    function savefile ()
    {
        
        //change this folder location for the "savescript" variable to the one where the location of the save script is located on the server, 
        //This save script is for the pallet that will pop up and list the different save options, not the individual save scripts themselves.
        
            var savescript =  new File("S:/Art/ArtDept/Illustrator JS Palette/Scripts/Art Share Server/Save/Save Option Pallet");
                savescript.open("r");      
           var bt = new BridgeTalk;
                bt.target = "illustrator";          
           var script = savescript.read();
                savescript.close();               
           bt.body = script;
           bt.send();  
           
           if (saved = true)
           {
               alert("File saved")
            }
           
           if (saved == false)
           {
               alert ("File not saved")
               }
           
           return true;
     }      
    
    
    //**********************************************************************************************************************************************************
    //********************This section is for the functions to check which button gets pressed and returns the text to a variable for output ****************
    //**********************************************************************************************************************************************************
    
    
    //all radiobutton groups must be pressent in this array
    var totalgroups = [totes1]
    
    //this function checks each group for the 1 radio button is clicked then returns its text
    function selected_rbutton (totalgroups)
    {//start function to check buttons
    /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////Totes tab buttons
    
    //when totes1 is pressed return text for output
    for (var i = 0; i < totes1.children.length; i++)
    {
    if (totes1.children[i].value == true)
    {
    return totes1.children[i].text;
    }//end if
    
    }//end if
    }//end for
    
    //////////////////////////////////////////////////////////////////////////open template 
    
    function openTemp()
     {
         //change the folder location of the templates here but leave the last section that is black, this will allow the script to open which
         //ever template they chose from the radiobuttons.  This location should be the same as the toteTempPath above but reduces the
         //chance for something to break by pulling the address here again instead of from the variable near the begining of the script.
         
     var gettotetemp = new File("Z:/  Vitronic Master Templates/STE2 Templates/TOTES & BAGS/" + selected_rbutton (totalgroups));
    
    open(gettotetemp);
    
    }//end open temp function
    
    }//end if selection check
    
    
    else
    {
        alert("Please select the artwork.");
      } // end else selection check 
    

    This is my entire script with notes to help, my script does not work it telling me there is an error on a different line every time that I run and the line indicating the error is on is something simple like .alignChildren = 'left '; I'm at a loss as to why it has stopped working.

    My question is, after I get it going again once I made a mistake when I wrote this, because I was looking at him with an element of single path to make sure that he moved to the model, resized and saved but when I try with a bunch of different objects, it breaks even if try to group them all together first.  It will not be the entire selection copy(), so I added a section to the script near the 50 line that takes all the elements of the path of the selection and puts them in a group.  I'm going on this and that and running it and test it because I had that done and I can't make it work, I am at my wits end and looking for help.

    What I need to do is the following in the correct order;

    Copy();

    openTemp ();

    Paste();

    centerArt ();

    resizeart ();

    SaveFile)

    putname ();

    separately each function works fine but when I try and put together something breaks.  I'll post the script that I use for the savefile() in the next post.

    most likely, the problem is copy(), paste(), the dough isn't reliable, instead, you can duplicate the object to a target document, then first, when you open your model, return a reference to, so you can use it to move the duplicate group.

    See my comments with @, I have use savefile() or putname(), I'm focused on resize() and center()

    //Created by Daryl R. Smith
    //This is the tab for Totes 
    
    #target illustrator 
    
    var thisDoc = app.activeDocument; 
    
    if (thisDoc.selection.length > 0)
    { 
    
    var w = new Window ("dialog", "Choose Totes Template", undefined, {closeButton: false});
    w.alignChildren = "right"; 
    
                  w.onShow = function()
                    {   
    
                        for(var i=0; i1000) break; // guard against infinite loop
    }  //end wait 
    
                //putname ();  // commented out for testing purposes only @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    
            } /*end if */ else
        {
            alert ("You chose not to continue, script stopped")
            }//end else
    }//end if OK 
    
    //**********************************************************************************************************************************************************
    //*********This section is for the function to check which option for resize gets pressed and returns the text to a variable for output******************
    //********************************************************************************************************************************************************** 
    
    var rsizechoice = [rsize] 
    
    function questionResize (rsizechoice)
    {//start function
    //when choice is pressed return choice text for variable output
    for (var i = 0; i < rsize.children.length; i++)
    {
    if (rsize.children[i].value == true)
    return rsize.children[i].text;
    }//end for
    }//end function QuestionResize 
    
    //**********************************************************************************************************************************************************
    //***************************************************************This is the section that will center the artwork ******************************************
    //********************************************************************************************************************************************************** 
    
        var thisDoc = app.activeDocument;
        thisDoc.rulerOrigin = [0,0];  //  Sets the coordinates of the artboard to the lower left hand corner of the document.
        thisDoc.pageOrigin = [0,0];  //  This makes sure a valid reference point is used for different sized documents. 
    
        function centerArt()
      {
          var thisdoc = app.activeDocument;
            //var selecteditem = app.activeDocument.selection; // [error] this throws no error here, but it does down below, selection returns an Array @@@@@@
            var selecteditem = app.activeDocument.groupItems[0]; // since you have duplicated a group, just get a reference to it @@@@@@@@@@@@
            selecteditem.selected = true; // you don't have to select items to work with them, I just selected to continue Debugging your script @@@@@@@@
            var hasDocCoords = app.coordinateSystem == CoordinateSystem.ARTBOARDCOORDINATESYSTEM; 
    
            var p = thisdoc.pageItems;
            for (var i = 0, l = p.length; i < l; i++) {
                var pID = p[i];
                if (pID.guides == true) {
                    var guideBox = pID
                }
            }
            var wNum = guideBox.width;
            var hNum = guideBox.height;
            var swNum = selecteditem.width;
            var shNum = selecteditem.height; 
    
            var sxOffset = (swNum/2);
            var syOffset = (shNum/2);
            var xOffset = (wNum/2);
            var yOffset = (hNum/2); 
    
            var xNum = guideBox.position[0]+xOffset;
            var yNum = guideBox.position[1]-yOffset; 
    
            var guideXCenter = xNum-sxOffset;
            var guideYCenter = yNum+syOffset; 
    
            var sxNum = selecteditem.position[0]+sxOffset;
            var syNum = selecteditem.position[1]-syOffset; 
    
            //to test your script for position un annotate the two alerts below 
    
                  alert("GuideBox Data:\nWidth: "+wNum+"\nHeight: "+hNum+"\nX Position: "+xNum+"\nY Position: "+yNum);
                    alert ("Selected object Data:\nWidth: "+swNum+"\nHeight: "+shNum+"\nX Position: "+sxNum+"\nY Position: "+syNum); 
    
            //changes the position of the selected artwork to the center of the guide box.
            //app.activeDocument.selection[0].position = [guideXCenter, guideYCenter]; // use the group reference instead @@@@@@@@@@@@@@@@@
            selecteditem.position = [guideXCenter, guideYCenter]; // selecteditem is the duplicated group @@@@@@@@@@@@@@@@@@@@@@
        }//end centerart 
    
      function resizeart()
    {
      if (questionResize (rsizechoice) == "Yes")
      {
            for (var i = 0; i < app.activeDocument.pageItems.length; i++)
            {   
    
                if (app.activeDocument.pageItems[i].guides == true) {
                    var guideBoxSize = app.activeDocument.pageItems[i];
                }  //end if
            }  //end for
            var guideW = guideBoxSize.width;
            var guideH = guideBoxSize.height; 
    
            //var itemW = app.activeDocument.selection.width;  // selection returns an array @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
            //var itemH = app.activeDocument.selection.height;  // same as above @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
            var itemW = app.activeDocument.selection[0].width;
            var itemH = app.activeDocument.selection[0].height; 
    
            //to test your script for resize un annotate the two alerts below 
    
            alert ("guide is this tall " + guideH + "\nguide is this wide " + guideW);
            alert ("item is this tall " + itemH + "\nitem is this wide " + itemW); 
    
            var artWidth = itemW;
            var artHeight =itemH;           
    
        if (artWidth > artHeight)
            {
              var a = (guideW/artWidth)*100;
              app.activeDocument.selection[0].resize(a,a);
            }
        if (artHeight > artWidth)
            {
              var b = (guideH/artHeight)*100;
              app.activeDocument.selection[0].resize(b,b);
            } 
    
    var artWidth2 = itemW;
    var artHeight2 =itemH;     
    
    if (artHeight2 > guideH)
        {
          var c = (guideH/artHeight2)*100;
          app.activeDocument.selection[0].resize(c,c);
          } 
    
        }//end if doresize
    }//end function resizeart 
    
    function putname ()
    { 
    
      var thisDoc = app.activeDocument;
            thisDoc.rulerOrigin = [0,0];
            thisDoc.pageOrigin = [0,0]; 
    
      var filename = app.activeDocument.name.replace(/\.[^\.]+$/, '');
      var createdate = app.activeDocument.modified; 
    
      var  theDate = new Date();
            var day = theDate.getDate();
            var month = theDate.getMonth() + 1;
            var year = theDate.getFullYear();
            var hours = theDate.getHours();
            var min = theDate.getMinutes();
                if (min < 10)
                    min = ("0" + min);
            var morn;
                if (hours >= 12)
                    {
                        hours = hours-12;
                        morn = " PM";
                    }
                else
                    morn = " AM" 
    
    var saveDate = (month + "-" + day + "-" + year + "    " + hours + ":" + min + morn ); 
    
      var nameTextFrame = thisDoc.textFrames.add();
        nameTextFrame.contents = globalartistname + "\n" + filename + "\n" + saveDate;
        nameTextFrame.top = 1000;
        nameTextFrame.left = 100;
        nameTextFrame.filled = true;
        nameTextFrame.alignment = "center"; 
    
        }//end put name 
    
    function savefile ()
    { 
    
        //change this folder location for the "savescript" variable to the one where the location of the save script is located on the server,
        //This save script is for the pallet that will pop up and list the different save options, not the individual save scripts themselves. 
    
            var savescript =  new File("S:/Art/ArtDept/Illustrator JS Palette/Scripts/Art Share Server/Save/Save Option Pallet");
                savescript.open("r");
          var bt = new BridgeTalk;
                bt.target = "illustrator";
          var script = savescript.read();
                savescript.close();
          bt.body = script;
          bt.send();   
    
          if (saved = true)
          {
              alert("File saved")
            } 
    
          if (saved == false)
          {
              alert ("File not saved")
              } 
    
          return true;
    }       
    
    //**********************************************************************************************************************************************************
    //********************This section is for the functions to check which button gets pressed and returns the text to a variable for output ****************
    //********************************************************************************************************************************************************** 
    
    //all radiobutton groups must be pressent in this array
    var totalgroups = [totes1] 
    
    //this function checks each group for the 1 radio button is clicked then returns its text
    function selected_rbutton (totalgroups)
    {//start function to check buttons
    /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////Totes tab buttons 
    
    //when totes1 is pressed return text for output
    for (var i = 0; i < totes1.children.length; i++)
    {
    if (totes1.children[i].value == true)
    {
    return totes1.children[i].text;
    }//end if 
    
    }//end if
    }//end for 
    
    //////////////////////////////////////////////////////////////////////////open template 
    
    function openTemp()
    {
        //change the folder location of the templates here but leave the last section that is black, this will allow the script to open which
        //ever template they chose from the radiobuttons.  This location should be the same as the toteTempPath above but reduces the
        //chance for something to break by pulling the address here again instead of from the variable near the begining of the script. 
    
    var gettotetemp = new File("Z:/  Vitronic Master Templates/STE2 Templates/TOTES & BAGS/" + selected_rbutton (totalgroups));
    //var gettotetemp = new File("c:/temp/templates/" + selected_rbutton (totalgroups)); 
    
    var template = open(gettotetemp);  // get a reference to the template @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
      return template; // return the open template document @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    }//end open temp function 
    
    }//end if selection check 
    
    else
    {
        alert("Please select the artwork.");
      } // end else selection check
    
  • Ustream and Script errors does not

    I watch the Decorah Eagles and want to leave it on for long periods of time. However, I get Script errors is not responding. If I'm right there when they occur, I can click on "stop script" and all is well. But if I entered it here, the script block not only the dissemination of Ustream, but my internet connection.

    There are several different script errors and that they occur in Safari, Firefox and Chrome. I have a page but don't see is not a way to fix it.

    Any ideas to solve this will be appreciated.

    Mac 10.6.8

    P.S. I have tried to get help from Ustream Chat, Forums of Ustream and sent a question to the support (which made me an email telling me that if I'm on a paid version of Ustream, I won't get an answer).

    sharon175 wrote:

    I watch the Decorah Eagles and want to leave it on for long periods of time. However, I get Script errors is not responding. If I'm right there when they occur, I can click on "stop script" and all is well. But if I entered it here, the script block not only the dissemination of Ustream, but my internet connection.

    There are several different script errors and that they occur in Safari, Firefox and Chrome. I have a screen shot but don't see is not a way to fix it,

    Any ideas to solve this will be appreciated.

    Mac 10.6.8

    P.S. I have tried to get help from Ustream Chat, Forums of Ustream and sent a question to the support (which made me an email telling me that if I'm on a paid version of Ustream, I won't get an answer).

    Drag & Drop will work - or - camera tool > search

    Script errors are just that - bad JavaScript in web pages = thus, they will appear in all browsers. Thus, no attachments from your end.

    Looks like you're stuck

  • Script error when printing a web page

    Cannot print web page on attached USB printer.  Results in a script error message.  Using a HP Officejet Pro 8500 first running on a Windows 7 64-bit system.  I am able to print the web page if I choose a network printer.

    I mainly use Internet Explorer.  I am currently using v9.0.8112.16421.  I used to have this problem, and it is possible that it started after I upgraded from v8 to v9.  As you suggest, I have tried with Firefox v13.0.1 and it gave me an error message about a script error, but it also printed the page.  I also tried with Chrome v20.0.1132.47 m and it printed without any problems at all.  As I said, I have my printer via the USB port and network and am also able to print from explore with no script error if I use the accessory network instead of the attachment of the USB.  When I use the accessory USB it gives me the script error and will not print.  It is said that there is no connection for this connection ID and it shows a URL of type res://ieframe.dll/preview.js

  • Explore Internet Script error when trying to print

    A message appears when I try to print a message using "Outlook Express"... Internet Explorer script error and I cannot print. How can I fix this problem? I tried the "FIXIT" without success and I used full scans, but the problem persists.

    Hello

    I suggest you follow the methods of troubleshooting described in the following article.

    How to resolve script errors in Internet Explorer on Windows computers
    http://support.Microsoft.com/kb/308260

  • In Windows Mail, I get the following script error: unexpected call to method or property access - URL: res://ieframe.dll/preview.js

    Original title: HELP

    {Moderator note: version of Windows has not been confirmed}

    In microsoft mail I get the following script error and cannot print emails, then the error lock the computer.

    Script error

    An error has occurred in the script on this page

    Line 215

    1 tank

    Unexpected call to method or property access

    Code 0

    URL: res://ieframe.dll/preview.js

    Do you want to continue running scripts on this page

    Yes No

    I can print other documents.

    Please help I need to be able to print my emails.

    Thank you

    Windows Mail uses the Internet Explorer print engine to print.  You can print from Internet Explorer?  It is possible that your antivirus software might be the cause.  You can try to turn off and then restart and see if it will print.  Otherwise, you will need to provide more detailed information depending on your version of Windows, what e-mail program, you are using and what version of Internet Explorer you are using.

    Steve

  • Script error rises won't let me print anything off the screen.

    errorcomes script at the top on any program will not let me print something

    Hi TomTaylorOS

    1. What is the exact error message that you receive?
    2. the problem occurs for a particular program such as internet explore? If Yes, what version of internet explore is installed on the computer?
    3. for how long have you been faced with this problem?
    4. did you of recent changes on the computer?
    5. What is the brand and model of the printer?
    6. deal with the same error when you try to print from Microsoft word, notepad, etc.?

    If the problem is specific to internet explorer, you can also check the items below to troubleshoot script errors and the check-
    http://support.Microsoft.com/kb/308260

    http://Windows.Microsoft.com/en-us/Windows-Vista/what-should-you-do-about-Internet-Explorer-script-errors

    I hope this helps.

  • error/script error in loading DSL every time I start, this message appears. It happened after I installed Verizon FIOS.

    Whenever I boot, I get a message of sqare with 'script error' and load the DLL error.
    It started happening after I converted from Verizon DSL to Verizon FIOS.  How can I get rid of this popping up all the time.  Is there something wrong in the system?

    Hey,.

    This link should help you.

    http://support.Microsoft.com/kb/308260

    ;)

  • I get a "Script" error message whenever I try to print. Can anyone help?

    I use windows live mail

    Hello

    1. what browser you use on the computer?

    2. What is the exact full error message?

    If you're face this problem when you use Internet Explorer, please refer to the information:

    You can get this error if your printer driver is damaged, obsolete or incompatible. To resolve this issue, follow the steps in the resolution section of the link.

    You receive a script error and are unable to print from Internet Explorer 9

    http://support.Microsoft.com/kb/2652062

    For your reference:

    I can't print or preview before printing a Web page in Internet Explorer

    http://support.Microsoft.com/kb/973479

    How to troubleshoot script errors in Internet Explorer

    http://support.Microsoft.com/kb/308260

    What should you do about Internet Explorer script errors?

    http://Windows.Microsoft.com/en-us/Windows7/what-should-you-do-about-Internet-Explorer-script-errors

    Let us know the status of the issue. If you need help, please after return. We will be happy to help you.

Maybe you are looking for