zOrderPosition error caused by methods "duplicate" and "move".

I created a few trails and grouped with a script.  Then I selected an item below them and tried to be zOrderPosition him with a script. And I got an error.

Is there a way to get rid of this?

Here's some code.

Please select a path and fondues test1 test2 twice.  You will get an error at the second time.

(Tested with CS3 and CC 2015)

Thank you.

function test1() {/ / error (at the second time)}

lay var = activeDocument.activeLayer;

Group var = lay.groupItems.add ();

var p1 = lay.pathItems.ellipse (100,100,10,10);

var p2 = p1.duplicate ();

var p3 = p1.duplicate ();

P2. Move (Group, ElementPlacement.PLACEATEND);

P3. Move (Group, ElementPlacement.PLACEATEND);

Alert(activeDocument.Selection[0].zOrderPosition);  error

}

function test2() {/ / error (at the second time)}

lay var = activeDocument.activeLayer;

Group var = lay.groupItems.add ();

var p1 = group.pathItems.ellipse (100,100,10,10);

var p2 = p1.duplicate ();

Alert(activeDocument.Selection[0].zOrderPosition);  error

}

function test3() {/ / NO error}

lay var = activeDocument.activeLayer;

Group var = lay.groupItems.add ();

var p1 = lay.pathItems.ellipse (100,100,10,10);

var p2 = p1.duplicate ();

P2. Move (Group, ElementPlacement.PLACEATEND);

Alert(activeDocument.Selection[0].zOrderPosition);  NO error

}

Test1();

Current error. If all separating them, the error will not happen. Alternatively, you can try:

function zIndex ( obj ) {
    var arr = obj.parent.pageItems, i = arr.length;
    while ( i-- ) { if ( arr[i] === obj ) return i; }
    return -1;
}
function test1() {
    var lay = activeDocument.activeLayer;
    var group = lay.groupItems.add();
    var p1 = lay.pathItems.ellipse(100,100,10,10);
    var p2 = p1.duplicate();
    var p3 = p1.duplicate();
    p2.move(group, ElementPlacement.PLACEATEND);
    p3.move(group, ElementPlacement.PLACEATEND);
    alert( zIndex(activeDocument.selection[0]) );  // no error
}
function test2() {
    var lay = activeDocument.activeLayer;
    var group = lay.groupItems.add();
    var p1 = group.pathItems.ellipse(100,100,10,10);
    var p2 = p1.duplicate();
    alert( zIndex(activeDocument.selection[0]) );  // no error
}
function test3() {
    var lay = activeDocument.activeLayer;
    var group = lay.groupItems.add();
    var p1 = lay.pathItems.ellipse(100,100,10,10);
    var p2 = p1.duplicate();
    p2.move(group, ElementPlacement.PLACEATEND);
    alert( zIndex(activeDocument.selection[0]) );  // no error
}
test1(); test2(); test3();

Tags: Illustrator

Similar Questions

  • I use Dreamweaver cc 2014 and after styling css to my fluid page layout grid I lose him resize, delete, duplicate and move up / down ability.

    I use Dreamweaver cc 2014 and after styling css to my fluid page layout grid I lose him resize, delete, duplicate a high displacement / low capacity.

    For this reason I can't build new pages by copying a page to create a new one.

    I have a third style sheet that I use for the styles of navigation and h1 - h6 ect. Tags. and I'm also using a dropdown menu CSS, if one of them can be the problem?

    The menu css that I use has the following script: I spend at the bottom of the html page. Before the closing tag, body

    < script >

    $(function () {})

    $("#nav").tinyNav ();

    });

    < /script >

    I also use the following for an image - I have put it to the top of the fluid

    grid style sheet.

    * {

    box-sizing: border-box; / * Opera/IE 8 + * /.

    -moz-box-sizing: border-box; / * Firefox, another Gecko * /.

    -webkit-box-sizing: border-box; / * Safari/Chrome, another WebKit * /.

    }

    Can you please help.

    My experience is that you should not touch the style sheets that have been created by the system of FGL. Also, there is no need to copy and paste whenever it could disrupt the spoilsports. If you need to apply your own styles and then put them in a second stylesheet, that way if something goes wrong, you can always revert to the original.

  • How to duplicate the artboard and move it over the original?

    Basically, I have a document open and want to duplicate its work plan and then move it to a new location (the X axis, the original 50pixels). Doesn't seem too hard, but I can't understand it. This is for CS5.

    var app.activeDocument = docRef;

    var abSrc = docRef.artboards [0];

    var abSrcX = abSrc.artboardRect [0];

    var abSrcY = abSrc.artboardRect [1];

    var abSrcW = abSrc.artboardRect [2];

    var abSrcH = abSrc.artboardRect [3];

    abSrcX = abSrcX + 1221;

    var abSrcRect = [abSrcY, abSrcW, abSrcX, abSrcH];

    dupAB var = docRef.artboards.add (abSrcRect);

    The above works a bit. Original work plan is 17 "x 11" (1224px x 792px) and when I put abSrcX to the foregoing 1221, extendscript throws an error PARM. During one of my sessions of trials and errors, I decided to see what was the document geometricBounds:

    $.writeln (docRef.geometricBounds); = 45-12, 1221.154296875,-780

    So now, I see a bit where I can't go more than 1221, but why can't I?

    I moved the artboard for everything at the top left of the document and I got the geometricBounds again and they were - 6754.5,7038.5,-6463.5, 6736.5, but still can not abSrcX anything about 1221.

    the error is "error Illustrator: 1246458189 ("PARM").

    I tried to understand this is what courses I can think, but nothings working. Any input or help would be GREATLY appreciated!

    EDIT:

    So I tried this for the hell of it:

    var abSrcX = 0;

    var abSrcY = 1224;

    var abSrcW = 1224;

    var abSrcH = 792; (for some reason any 792 translates into 6 "inside the Illustrator, so I put this 432 to make 11")

    var abSrcRect = [abSrcY, abSrcW, abSrcX, abSrcH];

    dupAB var = docRef.artboards.add (abSrcRect);

    and it adds a new work plan and move to X, Y, such that designated. Not exactly what I want, but narrowing down the issue.

    I'm trying

    var abSrcX = 1224;

    var abSrcY = 0;

    var abSrcW = 1224;

    var abSrcH = 792;

    var abSrcRect = [abSrcY, abSrcW, abSrcX, abSrcH];

    dupAB var = docRef.artboards.add (abSrcRect);

    and he throws that error PARM still once, then now there is really no sense!

    Edit2: I changed abSrcY to 10000 and now the height of the artboard is really long, which is insane even more... I don't have the (x, y, width, height) artboardRect down wrong?

    Edit3: If after one more google search, I found out what the problem is. artboardRect is HIGH, LOW, LEFT, RIGHT; and when I do:

    var abSrcX = 1368;

    var abSrcY = 0;

    var abSrcW = 2592;

    var abSrcH = - 792;

    var abSrcRect = [abSrcY, abSrcW, abSrcX, abSrcH];

    top down right and left;

    dupAB var = docRef.artboards.add (abSrcRect);

    This works. BUT I have no idea what the numbers are in relationship with. The center of the artboard? The document Centre? And if I run it again and change... oh dear.

    I think that I just thought of it.

    abSrcX is on the LEFT;

    abSrcY is HIGH;

    abSrcW is RIGHT;

    abSrcH is DOWN;

    Considering that if I add (1224 + 144) to abSrcX and abSrxW, it creates another work plan 2 "away from the previous 17" x 11 ". If I want to run again, I just have to add (1224 + 144) abSrcX and abSrxW again. Now to find a way to do it dynamically on the fly.

    I still like to hear comments on the question of whether this is good or bad, and how I can improve!

    @clrx01,.

    Why do you work with width and height work plan?

    IMHO you need what only once.

    Try something like this:

    // ArtboardCopy.jsx
    // http://forums.adobe.com/thread/1320239?tstart=0
    //        How to duplicate artboard and move it relative to original?
    // regards pixxxelschubser
    
    var docRef = app.activeDocument;
    //var abSrc = docRef.artboards[0];
    var abIdx = docRef.artboards.getActiveArtboardIndex ();
    var abSrc = docRef.artboards[abIdx];
    
    var moveX = 50;
    
    var abSrc_L = abSrc.artboardRect[0];
    var abSrc_T = abSrc.artboardRect[1];
    var abSrc_R = abSrc.artboardRect[2];
    var abSrc_B = abSrc.artboardRect[3];
    
    var next_ab_L = abSrc_R + moveX;
    var next_ab_T = abSrc_T;
    var next_ab_R = next_ab_L + (abSrc_R - abSrc_L) ;
    var next_ab_B = abSrc_B;
    
    //top left right bottom;
    
    var next_ab = docRef.artboards.add([next_ab_L, next_ab_T, next_ab_R, next_ab_B]);
    

    Have fun

  • Blue Screen Error Code Caused by hal.dll and ntkrnlpa.exe 9F.

    original title: BSOD error Code Caused by hal.dll and ntkrnlpa.exe 9F.

    Currently, I'm having a problem on a Fujitsu T1010 with Windows Vista x 84 installed tablet. At a random time that I use my computer, I get a generic blue screen with information DRIVER_POWER_STATE_FAILURE. The error code is 0x0000009F (0 x 00000003, 0x86f692e0, 0x86f692e0, 0x865a6598). BlueScreenView.exe, I see that the root causes are hal.dll + 997f and ntkrnlpa.exe + f5b28. So far, I've had 14 accidents. I run the driver verifier and the causes are hal.dll + 726c and ntkrnlpa.exe + 2ea5a7 windrvr6.sys + 0. Any help is appreciated! Thank you.

    Timothy

    Hello

    References to Vista also apply to Windows 7.

    Updated drivers, BIOS and software control (if any) is a good idea.

    This is my generic how updates of appropriate driver:

    For drivers, visit manufacturer of emergency system and of the manufacturer of the device that are the most common.
    Control Panel - device - Graphics Manager - note the brand and complete model
    your video card - double - tab of the driver - write version information. Now, click on update
    Driver (this can do nothing as MS is far behind the certification of drivers) - then right-click.
    Uninstall - REBOOT it will refresh the driver stack.

    Repeat this for network - card (NIC), Wifi network, sound, mouse, and keyboard if 3rd party
    with their own software and drivers and all other main drivers that you have.

    Now in the system manufacturer (Dell, HP, Toshiba as examples) site (in a restaurant), peripheral
    Site of the manufacturer (Realtek, Intel, Nvidia, ATI, for example) and get their latest versions. (Look for
    BIOS, Chipset and software updates on the site of the manufacturer of the system here.)

    Download - SAVE - go to where you put them - right click - RUN AD ADMIN - reset after each
    installation.

    Always check in the Device Manager - drivers tab to be sure the version you actually install
    presents itself. This is because some restore drivers before the most recent is installed (sound card drivers
    in particular that) so to install a driver - reboot - check that it is installed and repeat as
    necessary.

    Repeat to the manufacturers - BTW on device at the DO NOT RUN THEIR SCANNER - manually check by model.

    Look at the sites of the manufacturer for drivers - and the manufacturer of the device manually.
    http://pcsupport.about.com/od/driverssupport/HT/driverdlmfgr.htm

    How to install a device driver in Vista Device Manager
    http://www.Vistax64.com/tutorials/193584-Device-Manager-install-driver.html

    If you update the drivers manually, then it's a good idea to disable the facilities of driver in the Windows updates,
    This leaves ONE of Windows updates, but it will not install the drivers who are generally older and cause
    questions. If updates offers a new driver and then hide it (right click on it) and then go look for new ones
    manually if you wish.

    How to disable automatic driver Installation in Windows Vista - drivers
    http://www.AddictiveTips.com/Windows-Tips/how-to-disable-automatic-driver-installation-in-Windows-Vista/
    http://TechNet.Microsoft.com/en-us/library/cc730606 (WS.10) .aspx

    Hope these helps.

    Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.

  • Error: [810215] MakeDecision method is disabled and cannot be called.

    Hello!

    Odd error here: I am trying to call a method named "MakeDecision" in the Web Designer PersonWantsOrg cutomizer. For a few hours, I get the message "error: [810215] MakeDecision method is disabled and cannot be called. '. I can't explain it to myself, because this call works very well for a long time... anyone have an idea why this message is triggered? Or where I can see the status (?) of the method? Or, which changes the status?

    .. .and Yes, I compiled everything... several times... honestly

    Thank you very much

    Norbert

    Hi Norbert,.

    suggestion:

    Use the method "FillOrder.

    With this you are able to create a new PersonWantsOrg object and can set each property (including the OrderState).

    You must set a PropertyBag object (which contains all the properties for the new object of PersonWantsOrg), you create a new (empty) PersonWantsOrg object and call this method. The PropertyBag object is needed as a parameter to the method.

    Disadvantage: The method works only for execution by a Jobservice.

    That's why I suggest:

    Your "One-button-click" fires an event for the object selected in the PersonWantsOrg.

    You must create a process for this event, this process contains a ScriptExec job. This work calls a script with the following behavior:

    -a single parameter (UID_PWO_Source)

    -load the source object

    -fill in all the important properties of this object in a PropertyBag object, add additional properties (for example OrderState = Assigned)

    -create a new PersonWantsOrg object

    -call the method "FillOrder" for this new object and use the PropertyBag object

    The result is a new PersonWantsOrg object that is finally approved.

    I hope it helps.

    Kind regards

    Steffen

  • Can anyone tell me what causes this error of performance with "Unprecedented" and when sent "without knots. Win 8

    Signature of the problem

    Files helping to describe the problem

    Not without any information at all. You say what computer model, the error message, and if this causes problems. Some error reports are completely benign and can be ignored - as the test of a cd without disc inside player. This will give file read errors. If you encounter any problems, simply ignore the report.

  • I have need of an arrow or a kind of icon that points and moves to alert the user of the website to scroll down.  Are there widgets or is there a method to move an image in its own.  In addition, how to get my muse Web page to scroll automatically?

    I have need of an arrow or a kind of icon that points and moves to alert the user of the website to scroll down.  Are there widgets or is there a method to move an image in its own.  In addition, how to get my muse Web page to scroll automatically?

    A Google search for "animated gifs arrows" returned hundreds of animated arrows.

  • Windows Movie Maker error, another user is running Windows Movie Maker on this computer.

    When I try to open A Windows Movie Maker file, as I did, it appears an error box and wrote "another user running Windows Movie Maker on this computer. Please close the other session of Windows Movie Maker before starting Windows Movie Maker again". But I don't have another program open Windows Movie Maker. Well, I went in the Manager of tasks and watched and I did open there. What is wrong with it and how can I fix it. Help, please!

    Hello Rina0257,

    See method 3 for Movie Maker restore to default.

    Can you not have your roommate create an account for you? This will make it easier when trying to solve problems.

    Thank you

    Marilyn
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • Updated the "vertical" turn and moves

    Hello

    I have a script for InDesign create a Vizier in a vertical line and the horizontal line. That works perfectly on a horizontal line, but he turns and moves the object from its current position while creating a vizier on the vertical line. Can someone help to stay on its original position.

    Here's the script I have. You can find the error image as well inside. Thanks a lot for your help in advance.

    var = half 0.07;

    Vee var = 0.0416666667;

    var obj = app.selection [0];

    if(App.Selection.Length == 0) {alert ("error: no row is selected;")} Please select a single line of Vizier. ») ; Exit (0) ;}

    If (obj.constructor.name! = "GraphicLine") {alert ("error: a line was unsuccessful;")} Please select a line of Vizier. ») ; Exit (0) ;}

    var limit = obj.geometricBounds;

    var width = [3] limits - limits [1];

    var height = [2] limits - limits [0];

    var midpoint_h = limits [2] - (height / 2.0);

    Var high = midpoint_h - half;

    var low = midpoint_h + half;

    var y1 = limits [2];

    midpoint var = limits [1] + (width / 2.0);

    var left = middle - half;

    var right = mid + half;

    var y = limits [0];

    If (app.selection.length! = 1) {alert ("error: more than one object has been selected;")} Please select a single line of Vizier. ») ; Exit (0) ;}

    If (height! = 0.0)

    {

    obj. Paths.Item (0) .entirePath = [[bounds [0], y1], [top of the page, y1], [midpoint_h, y1 + vee], [bottom, y1], [bounds [2], y1]];

    app.layoutWindows [0] .transformReferencePoint = AnchorPoint.TOP_LEFT_ANCHOR;

    obj.rotationAngle = 90;

    } Else if (width! = 0.0) {}

    obj. Paths [0] .entirePath = [[limit [1], y], [left, y], [midpoint, y + v], [right, y], [limits [3], y]];

    } else {alert ("error: the line is not horizontal.")} \nThis script only works on perfectly horizontal lines."); Exit (0) ;}

    error.jpg

    Hello

    Definition of the properties of path.entirePath means deciding where the trail has been blazed - so no need to turn.

    Any notice entirePath values.

    I suggest you set vertLine like this:

    //...
    if(height != 0.0)
    {
    obj.paths.item(0).entirePath = [
      [bounds[1], bounds[0]],
      [bounds[1], top],
      [bounds[1]+vee, midpoint_h],
      [bounds[1], bottom],
      [bounds[1], bounds[2]]
      ];
    } else if(width != 0.0) {
    //...
    

    Notice the document horizontalMeasurementUnits and verticalMeasurementUnits thus, cause your change depends on current unit series.

    Jarek

  • How to get all the names of files in the folder and move it to another folder

    Hello
    How to read the files in a particular directory with PL/SQL, without knowing the exact name? My application interface with another system that puts the files in a specific directory on the server. UTL_FILE method reads a file when you know the name of the file, but I don't know the name in advance. Is it possible to output the name of the file? I also used the method of Tom "http://asktom.oracle.com/pls/asktom/f?p=100:11:0:P11_QUESTION_ID:439619916584" (related to the Java stored procedure) but am getting error of procedure "ORA-00900: invalid SQL statement. Here's the code I used Tom - forums

    CREATE or REPLACE AND compile java source named 'DirList '.
    AS
    import java. IO;
    import java.sql. *;

    public class DirList
    {
    Public Shared Sub getList (string directory)
    throws SQLException
    {
    Path = new file (directory);
    List of strings [] = path.list ();
    Element string;

    for (int i = 0; i < list.length; i ++)
    {
    item = list;
    #sql {INSERT INTO DIR_LIST (FILENAME)
    {VALUES (: element)};
    }
    }

    }
    /
    **********************************************************************
    CREATE OR REPLACE PROCEDURE get_dir_list (p_directory in VARCHAR2) AS java language
    name ' DirList.getList (java.lang.String) htp.p (p_directory) ";
    **********************************************************************
    get_dir_list exec (' / CERT_XML');
    **********************************************************************

    I would like to know is there any alternative approach to retrieve all the names of the files in the folder of the server and move these files to a different folder?

    Thank you
    Amit Bhandari

    Hello

    It is a limitation of UTL_FILE in Oracle that we can do with Java stored procedures in Oracle.

    We can read the files in Server directory using the following steps:

    Please follow the steps below:

    1. creating a Type of Type Varchar2.

      CREATE OR REPLACE TYPE file_list AS TABLE OF VARCHAR2(255);
    

    2. next, we need create a library of Java file

    CREATE OR REPLACE AND COMPILE JAVA SOURCE NAMED "ListVirtualDirectory" AS
      import java.io.*;
      import java.security.AccessControlException;
      import java.sql.*;
      import oracle.sql.driver.*;
      import oracle.sql.ArrayDescriptor;
      import oracle.sql.ARRAY;
    
      public class ListVirtualDirectory {
        public static ARRAY getList(String path) throws SQLException, AccessControlException {
    
        Connection conn = DriverManager.getConnection("jdbc:default:connection:");
    
        File directory = new File(path);
    
        ArrayDescriptor arrayDescriptor = new ArrayDescriptor("FILE_LIST",conn);
    
        ARRAY listed = new ARRAY(arrayDescriptor,conn,((Object[])directory.list()));
      return listed; }}
    

    The most advanced method overrides by removing information about java.properties of exception management settings. You can do this by catching the exception thrown in native mode and rethrow it or ignore it. The example it up again.

    3. then, you must create a Wrapper function:

    CREATE OR REPLACE FUNCTION list_files(path VARCHAR2) RETURN FILE_LIST IS
    LANGUAGE JAVA
    NAME 'ListVirtualDirectory.getList(java.lang.String) return oracle.sql.ARRAY';
    

    4 grant permissions to the Driectory:

    BEGIN
      DBMS_JAVA.GRANT_PERMISSION('USER_NAME'
                                 ,'SYS:java.io.FilePermission'
                                 ,'C:\JavaDev\images'
                                 ,'read');
      END;
    

    5. then you can read the contents of the directory

    SELECT column_value FROM TABLE(list_files('C:\JavaDev\images'));
    

    That displays all the files in the mentioned directory.

    Thank you
    Shankar

  • Equium A60-157: error caused by device driver

    Hi all

    I try to write my thesis at the moment and am hampered by my laptop! It keeps randomly, which brings to the top of the blue screen of death, then by restarting; When everything is loaded to the top, I get a "serious error" message that says "error caused by the device driver. As far as I know, all the programs I have are compatible... I was advised to restore the factory settings, which I did a few months ago. And I got the BIOS update for my computer. But it is always the case!

    If it helps, the programs I use daily are Microsoft Word, Access, Powerpoint, Internet Explorer and MSN Messenger. I do not run any games high spec (only Minesweeper occasionally!)

    What can I do? Does anyone else have this problem? Any advice would be much appreciated, because these accidents do not help us to my work!

    Thank you...

    Hello

    It's not easy to tell which device is causing the error.
    What you can do is to check the device drivers. Visit the page of the Toshiba driver and check if there is a new version of driver for example graphic driver.

    Also sometimes this error message appears if the module of memory is faulty.

    What you can do is to use the Microsoft Online Crash Analysis.
    Maybe if you can identify this evil s.
    http://www.Microsoft.com/windowsxp/using/Setup/expert/northrup_03october06.mspx

    Good luck

  • Equium A60 - error caused by the RAM problem - Windows tool does not work!

    Hi all

    When closing my laptop, I got the blue "screen of death" and it restarts, windows came with this analysis of the accident: "error caused by the memory problem to live: run the Windows tool". I downloaded diagnostic tool (mstinst.exe), he opened so I got "windiag.iso" and he burned on a CD like they told me (the use of 'Record Now') and then I put in the CD drive and rebooted my computer. But it did not launch the tool! Does anyone know why it went wrong and how can I make it work? Even if I got the tool to work, I would be able to solve the problems of RAM anyway, just taking my laptop to a repair center?

    Thanks :)

    Hello

    I put t know if you have seen this page http://oca.microsoft.com/en/windiag.asp but there you can find a detailed explanation of how to use the Windows Memory Diagnostic tool.

    Good luck!

  • My Apple Macbook late 2009 has been upgraded to 4 GB and Mountain Lion but runs very slowly. When I check the memory system activity monitor, I see that there are 1.6 GB inactive. Is this the cause of the slowness and what I can do?

    My Apple Macbook late 2009 has been upgraded to 4 GB and Mountain Lion but runs very slowly. When I check the memory system activity monitor, I see that there are 1.6 GB inactive. Is this the cause of the slowness and what I can do?

    Reinstall OS X from scratch and add more RAM.

    Ways to help make a slow Mac faster

    17 reasons why your Mac runs slower than expected

    Slow performance of Mac? This Article addresses!

    Difficulty of slow start in OS X | MacFixIt - CNET Reviews

    6 easy tips to speed up OS X Yosemite on your Mac.

    Avoid using third-party software that claims to clean your computer. This software does more harm than good. In addition, you don't need it. Note that all computers become slower over time even in the normal conditions of use. Generally, the experienced users erasing the hard drive and do a clean install from scratch at least once a year or every time that the installation of a major upgrade of the OS. Well sure doing so also means that you need to maintain regular and several backups.

    Add more RAM or reduce the number of simultaneously executed from applications and utilities. Remove unnecessary software such as anti-malware and that promises to clean your Mac. Look for the runaway process: Runaway applications can shorten the battery life, affect performance and increase the heat and fan acti... See also:

    Before Mavericks

    Open the activity monitor in the Utilities folder.  Select all processes in the drop process .  Click the % CPU column heading twice to display in descending order.  If find you a process that uses a large amount of time processor (> = 70,) then select the process, and then click the quit icon in the toolbar.  Click the force quit button to kill the process.  See if that helps.  Don't forget to mention the name of the runaway process, so you can find the cause of the problem.

    Mavericks and later versions

    Open the activity monitor in the Utilities folder.  Select all processes in the menu display .  Click the CPU tab in the toolbar. Click the % CPU column heading twice to display in descending order.  If you find a process that uses a large amount of CPU %, then select the process, then click on the quit icon in the toolbar.  Click the force quit button to kill the process.  See if that helps.  Don't forget to mention the name of the runaway process, so you can find the cause of the problem.

    Things you can do to solve the slow Downs

    If your computer seems to run slower, here are some things you can do:

    Start with tours: OS X maintenance - MacAttorney;

    The X Lab: the X-frequently asked questions.

    " Safe mac" Mac Performance Guide;

    " Safe mac" the myth of the dirty Mac;

    Maintenance fast Mac Help.

    Start in Safe Mode , and then repair your hard disk and permissions:

    Fix the hard disk and permissions before Lion

    Boot from your OS X install disk. After the installer loads, choose your language and click on the button continue. When the menu bar appears select utility drive in the Utilities menu. After that the charges of THE select your entry from hard drive (mfgr. ID and car size) in the list on the left.  In the status area, you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is faulty or has failed. (State SMART is not reported on external drives Firewire or USB). If the drive is "verified", then select your OS X volume in the list on the left (subentries under the entry for the road), click the first aid tab, then click the repair disk button. If THE reports any errors that have been corrected, and then run repair disk again until no errors are reported. If no errors are reported, click repair permissions. Wait until the operation is complete, then exit FROM and return to the installer.

    Repair the hard drive - Lion-Lion/mountain/Mavericks

    HD recovery start:

    Restart the computer and after the buzzer, press on and hold down the COMMAND and R until it appears the screen of Menu utilities. Otherwise, restart the computer and after the buzzer, press on and hold down the OPTION key until the Boot Manager screen. Select recovery HD disk icon and click on the button below.

    When the recovery menu appears, select disk utility. After that the charges of THE select your entry from hard drive (mfgr. ID and car size) in the list on the left.  In the status area, you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is faulty or has failed. (State SMART is not reported on external drives Firewire or USB). If the drive is "verified", then select your OS X volume in the list on the left (subentries under the entry for the road), click the first aid tab, then click the repair disk button. If THE reports any errors that have been corrected, and then run repair disk again until no errors are reported. If no error is not reported, then click repair permissions. Wait until the operation is complete, then exit FROM and return to the main menu. Select restart from the Apple menu.

    Restart your computer normally and see if it helped at all. Then do little maintenance:

    For disk utility can't handle situations, the best third party is Disk Warriorutility;  Fixed DW only for problems with the disk directory, but most disk problems are caused by the corruption of directory; Warrior drive 4.x is now compatible with Intel Mac.

    Note: Alsoft ships DW on a bootable DVD that will boot Mac running Snow Leopard or earlier. He cannot start Mac that came with Lion or later preinstalled, however, DW will work on these models.

    Suggestions for OS X maintenance

    OS X performs certain maintenance functions that are supposed to take place on a daily, weekly, or monthly period. Maintenance scripts that are run at the beginning AM only if the computer is turned on 24/7 (no sleep). If this isn't the case, then a great solution is to download and install a shareware like Macaroni, JAW PseudoAnacronor Anacron utility that will automate the maintenance regardless of whether activity if the computer is off or asleep.  Dependence on third-party utilities to run periodic maintenance scripts has been significantly reduced since Tiger.  These utilities have little or no functionality with Snow Leopard or later version, and must not be installed.

    OS X automatically defrags files smaller than 20 MB in size, so unless you have a disk full of very large files it little need to defragment the hard drive.

    Under no circumstances should you install operating MacPaw or ZeoBit software (CleanMyMac/CleanMyDrive or Mac Keeper, respectively.) You don't need special software to keep your computer.

    Useful links about malware Protection

    "If you have an immediate problem with ads popping up see the Mac without danger" Adware removal Guide and AdwareMedic.

    Open Safari, select Preferences from the Safari menu. Click the Extensions icon in the toolbar. Disable all Extensions. If it stops your problem, then re-enable one by one until the problem returns. Now remove this extension as it is the origin of the problem.

    The following comes from user stevejobsfan0123. I made minor changes to adapt to this presentation.

    Difficulty a few pop ups browser that supported Safari

    Common pop - ups include a message saying that the Government has taken over your computer and you pay release (often called "Moneypak"), or a false message saying that your computer has been infected and you need to call a number of tech support (sometimes claiming to be Apple) to get it to be resolved. First of all, understand that these pop-ups are not caused by a virus and that your computer has not been assigned. This "hack" is limited to your web browser. Also understand that these messages are scams, so don't pay not money, call number, or provide personal information. This article will give an overview of the solution to remove the pop-up window.

    Quit Safari

    Usually, these pop-ups will not go by clicking 'OK' or 'Cancel '. In addition, several menus in the menu bar may become disabled and show in grey, including the option to leave Safari. You'll probably force quit Safari. To do this, press command + option + ESC, select Safari, press on force quit.

    Relaunch Safari

    If you restart Safari, the page will reopen. To avoid this, hold the "Shift" key when opening Safari. This will prevent windows since the last time that Safari was running since the reopening.

    It will not work in all cases. The SHIFT key must be maintained at the right time, and in some cases, even if done correctly, the window is displayed again. In these circumstances, after force quit Safari, turn off Wi - Fi or disconnect Ethernet, depending on how you connect to the Internet. Then restart Safari normally. He'll try to reload the malicious Web page, but without a connection, it will not be able to. Leave this page by entering a different URL, i.e. www.apple.com and try to load it. Now you can reconnect to the Internet and the page that you entered is displayed rather than the malicious.

    An excellent link to read is Tom Reed Mac Guide of malicious programs.

    Also, visit the FAQ XLab and read of detection and avoid malicious software and spyware.

    Check out these articles from Apple:

    Mac OS X Snow Leopard and malware detection

    OS X Lion-Protect your Mac against malicious software

    OS X Lion mountain - protect your Mac against malicious software

    OS X Mavericks-Protect your Mac against malicious software

    On the quarantine of file under OS X

    If you need antivirus protection Thomas Reed recommends to use ClamXAV. (Thanks to Thomas Reed to this recommendation.)

    The user Joe Bailey comes this equally useful advice:

    The facts are:

    1. There is no anti-malware software can detect 100% of malware out there.

    2. There is no anti-malware that can detect all targeting the Mac.

    3. the best way to prevent breaches the most is for you as the user is aware that

    the most successful malware attacks rely on sophisticated social engineering

    techniques preying on human greed, * and fear.

    4 Internet pop-up windows telling the FBI, NSA, Microsoft, your ISP has detected malware on

    your computer is designed to trick you into installing their malware thinking it's a

    protection against malware.

    5. some of the anti-malware market products are worse than malware

    go where they are supposed to protect you.

    6. be careful where you go on the internet.

    7. don't download anything from sites, you know are safe.

    8 avoid links that you receive in email, always be wary, even if you get something

    you think a friend is, but that you did not expect.

    9. If there is any question in your mind, then assume that it is malware.

    Troubleshooting Applications

    I recommend that you download a utility such as TinkerTool System, OnyX, Mavericks Cache Cleaneror hiding a Cocktail that you can use to delete the former newspapers and archives, cleaning, etc. Corrupted cache, logs or temporary files can slow down the application or OS X crashes and panics of the kernel.

    If you have leopard snow or leopard, then for similar repairs install Applejackfreeware utility.  If you do not start in OS X, you can boot into single-user mode , where you can run Applejack to make a set of routines for repair and maintenance of the command line.  Note that it takes 1.5 AppleJack for Leopard. AppleJack 1.6 is compatible with Snow Leopard. Applejack does not work with Lion and later versions.

    Basic backup

    For some people, Time Machine will be more than enough. Time Machine is part of Mac OS X. There are two components:

    1. a panel of Time Machine preferences as part of the system of preferences;

    2. a request for Time Machine, located in the Applications folder. It's

    used to manage backups and restore backups. Time Machine

    requires a backup drive that is at least twice the capacity of the

    drive being backed up.

    You can also get an external drive at least equal to the size hard disk internal and make (and maintain) a bootable clone/backup. You can make a bootable clone using the disk utility's restore option. You can also create and maintain clones with good backup software. My personal recommendations are (the order is not significant):

    1 Carbon Copy clone

    2. get backup

    3 already seen

    4 superDuper!

    5. Synk Pro

    6. Tri-Backup

    Visit The FAQ XLab and read the FAQ on the backup and restore.  Also read How to back up and restore your files. For using Time Machine, visit FAQ Time Machine of Pondini for help with all this time Machine.

    Referenced software can be found at MacUpdate .

    Additional tips

    Make sure you have a sufficient amount of RAM installed for the number of applications you run simultaneously. Make sure to leave a minimum of 10% of the capacity of the hard disk as free space.

    Add more RAM. If your computer less than 2 GB of RAM and you use OS X Leopard or later, then you can do it with more RAM. Snow Leopard and Lion works much better with 4 GB of RAM that is their system. Most concurrent applications, that you tend to use the more RAM you should have.

    Always have at least 15 GB, or 10% of the capacity of your hard disk as free space, the largest. OS X frequently accesses your hard disk, so offering enough free space will keep things slow down.

    Check for applications that may be hogging the CPU:

    Before Mavericks

    Open the activity monitor in the Utilities folder.  Select all processes in the drop process .  Click the % CPU column heading twice to display in descending order.  If find you a process that uses a large amount of time processor (> = 70,) then select the process, and then click the quit icon in the toolbar.  Click the force quit button to kill the process.  See if that helps.  Don't forget to mention the name of the runaway process, so you can find the cause of the problem.

    Mavericks and later versions

    Open the activity monitor in the Utilities folder.  Select all processes in the menu display .  Click the CPU tab in the toolbar. Click the % CPU column heading twice to display in descending order.  If find you a process that uses a large amount of time processor (> = 70,) then select the process, and then click the quit icon in the toolbar.  Click the force quit button to kill the process.  See if that helps.  Don't forget to mention the name of the runaway process, so you can find the cause of the problem.

    This problem occurs often because of a corrupted cache or the preferences file or an attempt to write in a corrupted log file.

  • Error caused by the remote control?

    Hello

    I just got a great help here, and everything worked.  However, now when I run the code, I get error caused by the remote command on my counter (Agilent 34461).  However, when I run in debug mode by clicking on the light bulb, this error occurs.

    The change I made was that I initialized the measure outside the while loop so that I didn't have any initiialize it for each iteration, and I added a reading?

    Any ideas why this would cause this error?

    After reading the Manual , I found that you really want to use "configures: currentC ' for your installation command.  Apparently, the measurement system causes playback to occur.

  • I get an error 51(f) on KB2598290 and KB2598306 updates

    I get an error 51(f) on KB2598290 and KB2598306 updates

    Hello

    If you receive the Windows Update 51(f) error while trying to install updates, the Source of local Installation (LIS) for Microsoft Office 2003 products is corrupted. LILY is the software that use Office 2003 products to install programs and updates for Office programs.

    I suggest you to perform the following methods to work on the issue.

    Method 1: perform the steps in the following Microsoft article.

    un) Office updates aren't installed properly

    http://support.Microsoft.com/?kbid=903776

    This article also applies to the 2007 Office products

     

    b) How to troubleshoot incidents to update your installation of Office on the Office Update Web site

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

    Note: This workaround may make your computer or your network more vulnerable to attack by malicious users or by malicious software such as viruses. We do not recommend this solution to workaround but are providing this information so that you can implement this workaround at your own discretion solution. Use this workaround at your own risk.

    After you perform a clean boot, follow the steps to configure Windows to use a Normal startup state of the article above.

    Before you continue, I suggest you create a system restore point, so that if something is corrupt, there is a backup in place and where you can use an option to roll back.

    Follow the steps in the below article mentioned to create a system restore point:

    How to set a system restore point in Windows XP

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

     

    Method 2: Download updates manually and install them.

    Description of the update of the mail filter junk Outlook 2007: 10 April 2012

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

    Description of the update of the spam filter Outlook 2007: 8 may 2012

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

Maybe you are looking for