Script to move the same objects of value of color to a layer

I have a range of color objects upward into process colors, and I would like to the moved to the individual layers of script.

so the result would be to move all items from cyan to CYAN layer, move all the magenta elements to the Magenta layer, etc. etc.

Could someone help please?

Thank you very much

something like this will do the trick.

Don't forget: this can make a mess of your z-order...

function seperate_items_to_layers_by_colour(){
    var doc = app.activeDocument;
    var item = doc.pageItems;
    var C_lay = make_layer_if_needed("CYAN");
    var M_lay = make_layer_if_needed("MAGENTA");
    var Y_lay = make_layer_if_needed("YELLOW");
    var K_lay = make_layer_if_needed("BLACK");

    for(var i=0; i 
         

Tags: Illustrator

Similar Questions

  • Consecutive tweens to the same object?

    I'm new to Flash, and I have a simple question that I can't find an answer to in the online help or tutorials topics. It is the following:

    In CS4, it is possible to add two consecutive to the same object (symbol instance) tweens? I mean have a shape move from the left, wait a few seconds and then move back to the left. So far, the only method I've found is to create a copy of the object (a new instance of the coast) and animate it separately. But that creates additional objects and get the right positioning is very difficult. Is there a way to have a piece of tween and start another (possibly after a delay) on the same object in the same layer? Or in different layers, which would be better?

    Any advice is welcome.

    Gregory

    You can do this with a single object. One way using the new method of interpolation in CS4, quoted above, would be as follows.

    1. Select the object positioned at location lefmost, then choose Create a motion tween.

    2. move the playhead when you want it to be interpolated in the right, then move it.

    3. Select this image (Ctrl/Cmd-click), right-click, choose copy properties.

    4. move the playhead when you want to * start * interpolation (after the break), right-click and choose Paste properties.

    5. at the end of the duration, drag the object to the original position (so TI interpolations of return).  OR, you can copy the properties of the first image.

    Another way to do this would be:

    1. Select the object positioned at location lefmost, then choose Create a motion tween.

    2. move the playhead when you want it to be interpolated in the right, then move it.

    3. Select this image (Cmd/Ctrl-click and release), press Alt and drag a copy of the image where you want to stop "a break."

    4. at the end of the duration, drag the object to the original position (so TI interpolations of return).

    It seems quite clear that I describe each click, but once you do the steps that you will notice it's very simple copy-pasta.

  • I created a PDF form with several drop downs, all with the same drop-down values. When I select a value of 1 in the drop-down list fields, it breeds in all others - which I don't want. How can I fix?

    I created a PDF form with several drop downs, all with the same drop-down values. When I select a value of 1 in the drop-down list fields, it breeds in all others - which I don't want. Can I fix?

    I am fairly new to this, but I think it has to do with the way you have drop them downs named. Copy you a then keep stick in each area? If so, that's the problem. You must rename each with a different number: Dropdown1, Dropdown2, etc. I think this might solve the problem.

  • Is there a Script to set the same height for several objects?

    Hello world

    I'm looking for a Script that would apply the same Dimensions height or width (proportions MADE) to several objects at once.

    I will appreciate the help

    Thank you

    Hi Lula Rocha,.

    Try SetAllTheThings.jsx, written by John Wundes.

    Have fun

  • repeating subforms can you script to stop the same value being selected more than once

    I have a LiveCycle form with a subform that is repeated when the first field (text field 2 characters) requires the entry of a code between 01 and 99. You can script so that you cannot enter the same value of code more than once?

    Here's a code in Formcalc that works for you. Put it in the output of the textfield event.

    In this example, the page is called myPage and textField is called TextField1. Rename them as you need.

    indexCount var = 0

    var thisIndex = $. parent.index

    While (indexCount< thisindex)="">

    If (myPage [indexCount]. TextField1 is myPage [thisIndex]. TextField1) then

    xfa.host.messageBox ("you already used this number")

    $ = ""

    endif

    indexCount = indexCount + 1

    endwhile

  • Multiples of the same object/value in a contact field

    Hello

    In our table of Contacts of the E10, I feel a very strange behavior with a field called 'Type of Contact'. The field has been set as a drop-down list.

    Suddenly, multiples of the value stored in this field in the documents that get 2-way sync between E and SFDC, Ont. Thus, for example, if the value of the field

    has been 'Operator', the actual value is passed to 'OperatorOperator '. And the more you synch, the value is (as seems to be added).

    Then, the value would be "OperatorOperatorOperatorOperator".

    Wake up to the problem and setting values is tricky, because in the E10 user interface, you won't notice them if you use a drop-down list.

    I then changed the field to be a textbox to think what might help. And there is progress here. If there are more than two objects of value in the field,

    they present themselves. IF there were only two, everything looks ok just as you can see in the screenshot below:

    More survey close using that an outgoing external call Test reveals, however, that the value is actually duplicated:

    Also, if you have opened upward the selected record under Contacts the contents of the field (after changing text box):

    and then remove the selection (by tapping the button Delete), you could actually get a hint that something does not always work with the field:

    The cursor remains in the right-hand side of the text box, while he should have all the way to the left.

    Finally, I tried to fix the multiplied values SFDC and autosych back to Eloqua, but unfortunately the values do not get it fixed but

    keep duplicate values stored in.

    Any other questions/experiences? Is it a problem with the autosynch get leads NOT to crush, but rather just adding?

    WBR,

    -tatu-

    Some additional screenshots: fi

    The choice list values:

    Yep!

    That did the trick. It must have been a flaw in the external call-out who copied the value out. would have not thought about it in the first place...

    PS. and of course the external call test has shown that the field mapping was abt to do, IE send a duplicated value (although the field could have only a single (or double) value in db at the time.)

    WBR,

    Tatu

  • In the tree of ADF problem when I use 2 tree in a Page with the same object in view!

    Hello world

    I use 11.1.1.5 JDeveloper and ADF Faces in the user interface. I have 2 trees in a page that they are same view editable object but different instances in the module of the application. When I change the attribute value of one of them to manage Bean programmatically, two of them change? !! in my case, I put a checkbox in nodeStamp, when the user click on the checkbox, rank title needs to change but the title in both entities change?
    I think it's a bug.

    Please help me. Thank you

    Hello
    If I understand your case, then this is the expected behavior.
    When multiple instances of objects from view based on feature in an application module is based on the same underlying object of the entity, then a change in one of them reflected on the other.

  • selection of multiple grants on the same object

    Hello

    (The following SQl code will be run on 9i, 10g and 11g database versions)

    Im trying to produce a list of the directory of the subsidies that are the same from 2 different users (but only display the details of a user grants)

    to clarify...

    lets say we have 100 directories and 2 users who have granted permissions on them, user A and user B.

    Permissions can be granted on a directory by just A user, to any user B or the same permission granted on the same directory by users A and B.

    I want to make a list that displays the details of the directories where user A and user B are granted this permission (but in the list only display the details of A user grants)

    If the following SQL code will give me all the directory permissions that are granted by user A

    Select p.table_name, p.grantee, p.owner, p.grantor, p.privilege, o.object_type
    of dba_tab_privs p
    dba_objects o inner join
    on o.object_name = p.table_name
    where o.object_type = 'DIRECTORY '.
    and p.grantor = 'USER ';

    so I want to make the same list of grants by USERA just, but only if these directories have also been granted the same permission by USERB

    any ideas on the best way to do it?

    Thank you

    882817 wrote:
    What's the advantage I have this solution on the previous?

    Well, I just introduced two solutions. Depending on the particular case compare you execution plans and choose a better. Here we have quite complex views, but I would say the analytical solution is a little bit faster:

    SQL> explain plan for
      2  select  p.table_name,
      3          p.grantee,
      4          p.owner,
      5          p.grantor,
      6          p.privilege,
      7          o.object_type
      8    from      dba_tab_privs p
      9          inner join
     10              dba_objects o
     11            on (
     12                    o.object_type = 'DIRECTORY'
     13                and
     14                    o.owner = p.owner
     15                and
     16                    o.object_name = p.table_name
     17                and
     18                    p.grantor != 'U2'
     19               )
     20    where not exists (
     21                      select  1
     22                        from  dba_tab_privs p1
     23                        where p.owner = p1.owner
     24                          and p.table_name = p1.table_name
     25                          and p.grantee = p1.grantee
     26                          and p.privilege = p1.privilege
     27                          and p1.grantor = 'U2'
     28*                    )
    SQL> /
    
    Explained.
    
    SQL> @?\rdbms\admin\utlxpls
    
    PLAN_TABLE_OUTPUT
    ------------------------------------------------------------------------------------------------------------------------------------
    Plan hash value: 1557554763
    
    ----------------------------------------------------------------------------------------------------------------------
    | Id  | Operation                            | Name                  | Rows  | Bytes |TempSpc| Cost (%CPU)| Time     |
    ----------------------------------------------------------------------------------------------------------------------
    |   0 | SELECT STATEMENT                     |                       |   494 |   131K|       |   864   (5)| 00:00:11 |
    |*  1 |  HASH JOIN                           |                       |   494 |   131K|       |   864   (5)| 00:00:11 |
    |*  2 |   TABLE ACCESS FULL                  | USER$                 |    73 |  1095 |       |     3   (0)| 00:00:01 |
    |*  3 |   HASH JOIN ANTI                     |                       |   494 |   124K|       |   861   (5)| 00:00:11 |
    |*  4 |    HASH JOIN                         |                       |   522 | 96570 |       |   681   (5)| 00:00:09 |
    |   5 |     TABLE ACCESS FULL                | USER$                 |    74 |  1110 |       |     3   (0)| 00:00:01 |
    
    PLAN_TABLE_OUTPUT
    ------------------------------------------------------------------------------------------------------------------------------------
    |*  6 |     HASH JOIN                        |                       |   522 | 88740 |       |   678   (5)| 00:00:09 |
    |   7 |      TABLE ACCESS FULL               | USER$                 |    74 |  1110 |       |     3   (0)| 00:00:01 |
    |*  8 |      HASH JOIN                       |                       | 38597 |  5842K|  1752K|   674   (5)| 00:00:09 |
    |*  9 |       HASH JOIN                      |                       | 24484 |  1458K|       |   172   (5)| 00:00:03 |
    |* 10 |        HASH JOIN                     |                       | 24221 |   685K|       |    23   (9)| 00:00:01 |
    |  11 |         INDEX FULL SCAN              | I_TABLE_PRIVILEGE_MAP |    24 |   240 |       |     1   (0)| 00:00:01 |
    |* 12 |         TABLE ACCESS FULL            | OBJAUTH$              | 24221 |   449K|       |    21   (5)| 00:00:01 |
    |  13 |        TABLE ACCESS FULL             | OBJ$                  | 52647 |  1645K|       |   147   (3)| 00:00:02 |
    |  14 |       VIEW                           | DBA_OBJECTS           | 49670 |  4559K|       |   164  (10)| 00:00:02 |
    |  15 |        UNION-ALL                     |                       |       |       |       |            |          |
    |* 16 |         FILTER                       |                       |       |       |       |            |          |
    
    PLAN_TABLE_OUTPUT
    ------------------------------------------------------------------------------------------------------------------------------------
    |* 17 |          HASH JOIN                   |                       | 52627 |  2826K|       |   162  (10)| 00:00:02 |
    |  18 |           TABLE ACCESS FULL          | USER$                 |    74 |  1110 |       |     3   (0)| 00:00:01 |
    |* 19 |           TABLE ACCESS FULL          | OBJ$                  | 52627 |  2055K|       |   158   (9)| 00:00:02 |
    |* 20 |          TABLE ACCESS BY INDEX ROWID | IND$                  |     1 |     8 |       |     2   (0)| 00:00:01 |
    |* 21 |           INDEX UNIQUE SCAN          | I_IND1                |     1 |       |       |     1   (0)| 00:00:01 |
    |* 22 |           TABLE ACCESS BY INDEX ROWID| SUM$                  |     1 |     8 |       |     1   (0)| 00:00:01 |
    |* 23 |            INDEX UNIQUE SCAN         | I_SUM$_1              |     1 |       |       |     0   (0)| 00:00:01 |
    |* 24 |         FILTER                       |                       |       |       |       |            |          |
    |* 25 |          HASH JOIN                   |                       |     9 |   513 |       |     5  (20)| 00:00:01 |
    |  26 |           INDEX FULL SCAN            | I_LINK1               |     9 |   378 |       |     1   (0)| 00:00:01 |
    |  27 |           TABLE ACCESS FULL          | USER$                 |    74 |  1110 |       |     3   (0)| 00:00:01 |
    
    PLAN_TABLE_OUTPUT
    ------------------------------------------------------------------------------------------------------------------------------------
    |  28 |    VIEW                              | VW_SQ_1               |  1530 |   109K|       |   179   (4)| 00:00:03 |
    |* 29 |     HASH JOIN                        |                       |  1530 |   158K|       |   179   (4)| 00:00:03 |
    |  30 |      TABLE ACCESS FULL               | USER$                 |    74 |  1110 |       |     3   (0)| 00:00:01 |
    |* 31 |      HASH JOIN                       |                       |  1530 |   135K|       |   176   (4)| 00:00:03 |
    |* 32 |       HASH JOIN                      |                       |  1514 | 89326 |       |    27   (8)| 00:00:01 |
    |  33 |        TABLE ACCESS FULL             | USER$                 |    74 |  1110 |       |     3   (0)| 00:00:01 |
    |* 34 |        HASH JOIN                     |                       |  1514 | 66616 |       |    24   (9)| 00:00:01 |
    |  35 |         INDEX FULL SCAN              | I_TABLE_PRIVILEGE_MAP |    24 |   240 |       |     1   (0)| 00:00:01 |
    |  36 |         NESTED LOOPS                 |                       |  1514 | 51476 |       |    22   (5)| 00:00:01 |
    |  37 |          TABLE ACCESS BY INDEX ROWID | USER$                 |     1 |    15 |       |     1   (0)| 00:00:01 |
    |* 38 |           INDEX UNIQUE SCAN          | I_USER1               |     1 |       |       |     0   (0)| 00:00:01 |
    
    PLAN_TABLE_OUTPUT
    ------------------------------------------------------------------------------------------------------------------------------------
    |* 39 |          TABLE ACCESS FULL           | OBJAUTH$              |  1514 | 28766 |       |    21   (5)| 00:00:01 |
    |  40 |       TABLE ACCESS FULL              | OBJ$                  | 52647 |  1645K|       |   147   (3)| 00:00:02 |
    ----------------------------------------------------------------------------------------------------------------------
    
    Predicate Information (identified by operation id):
    ---------------------------------------------------
    
       1 - access("OA"."GRANTOR#"="UR"."USER#")
       2 - filter("UR"."NAME"<>'U2')
       3 - access("U"."NAME"="NAME" AND "O"."NAME"="NAME" AND "UE"."NAME"="NAME" AND "TPM"."NAME"="NAME")
       4 - access("OA"."GRANTEE#"="UE"."USER#")
    
    PLAN_TABLE_OUTPUT
    ------------------------------------------------------------------------------------------------------------------------------------
       6 - access("O"."OWNER"="U"."NAME" AND "U"."USER#"="O"."OWNER#")
       8 - access("O"."OBJECT_NAME"="O"."NAME")
       9 - access("OA"."OBJ#"="O"."OBJ#")
      10 - access("OA"."PRIVILEGE#"="TPM"."PRIVILEGE")
      12 - filter("OA"."COL#" IS NULL)
      16 - filter(("O"."TYPE#"<>1 AND "O"."TYPE#"<>10 OR "O"."TYPE#"=1 AND  (SELECT 1 FROM "SYS"."IND$" "I" WHERE
                  "I"."OBJ#"=:B1 AND ("I"."TYPE#"=1 OR "I"."TYPE#"=2 OR "I"."TYPE#"=3 OR "I"."TYPE#"=4 OR "I"."TYPE#"=6 OR
                  "I"."TYPE#"=7 OR "I"."TYPE#"=9))=1) AND DECODE("O"."TYPE#",0,'NEXT
                  OBJECT',1,'INDEX',2,'TABLE',3,'CLUSTER',4,'VIEW',5,'SYNONYM',6,'SEQUENCE',7,'PROCEDURE',8,'FUNCTION',9,'PACKAG
                  E',11,'PACKAGE BODY',12,'TRIGGER',13,'TYPE',14,'TYPE BODY',19,'TABLE PARTITION',20,'INDEX
                  PARTITION',21,'LOB',22,'LIBRARY',23,'DIRECTORY',24,'QUEUE',28,'JAVA SOURCE',29,'JAVA CLASS',30,'JAVA
    
    PLAN_TABLE_OUTPUT
    ------------------------------------------------------------------------------------------------------------------------------------
                  RESOURCE',32,'INDEXTYPE',33,'OPERATOR',34,'TABLE SUBPARTITION',35,'INDEX SUBPARTITION',40,'LOB
                  PARTITION',41,'LOB SUBPARTITION',42,NVL( (SELECT DISTINCT 'REWRITE EQUIVALENCE' FROM SYS."SUM$" "S" WHERE
                  "S"."OBJ#"=:B2 AND BITAND("S"."XPFLAGS",8388608)=8388608),'MATERIALIZED
                  VIEW'),43,'DIMENSION',44,'CONTEXT',46,'RULE SET',47,'RESOURCE PLAN',48,'CONSUMER
                  GROUP',51,'SUBSCRIPTION',52,'LOCATION',55,'XML SCHEMA',56,'JAVA DATA',57,'SECURITY
                  PROFILE',59,'RULE',60,'CAPTURE',61,'APPLY',62,'EVALUATION CONTEXT',66,'JOB',67,'PROGRAM',68,'JOB
                  CLASS',69,'WINDOW',72,'WINDOW GROUP',74,'SCHEDULE',79,'CHAIN',81,'FILE GROUP','UNDEFINED')='DIRECTORY')
      17 - access("O"."OWNER#"="U"."USER#")
      19 - filter("O"."LINKNAME" IS NULL AND "O"."NAME"<>'_NEXT_OBJECT' AND
                  "O"."NAME"<>'_default_auditing_options_' AND BITAND("O"."FLAGS",128)=0)
      20 - filter("I"."TYPE#"=1 OR "I"."TYPE#"=2 OR "I"."TYPE#"=3 OR "I"."TYPE#"=4 OR "I"."TYPE#"=6 OR
    
    PLAN_TABLE_OUTPUT
    ------------------------------------------------------------------------------------------------------------------------------------
                  "I"."TYPE#"=7 OR "I"."TYPE#"=9)
      21 - access("I"."OBJ#"=:B1)
      22 - filter(BITAND("S"."XPFLAGS",8388608)=8388608)
      23 - access("S"."OBJ#"=:B1)
      24 - filter(NULL IS NOT NULL)
      25 - access("L"."OWNER#"="U"."USER#")
      29 - access("U"."USER#"="O"."OWNER#")
      31 - access("OA"."OBJ#"="O"."OBJ#")
      32 - access("OA"."GRANTEE#"="UE"."USER#")
      34 - access("OA"."PRIVILEGE#"="TPM"."PRIVILEGE")
      38 - access("UR"."NAME"='U2')
    
    PLAN_TABLE_OUTPUT
    ------------------------------------------------------------------------------------------------------------------------------------
      39 - filter("OA"."COL#" IS NULL AND "OA"."GRANTOR#"="UR"."USER#")
    
    89 rows selected.
    
    SQL> explain plan for
      2  select  table_name,
      3          grantee,
      4          owner,
      5          grantor,
      6          privilege,
      7          object_type
      8    from  (
      9           select  p.table_name,
     10                   p.grantee,
     11                   p.owner,
     12                   p.grantor,
     13                   p.privilege,
     14                   o.object_type,
     15                   count(case when p.grantor != 'U2' then 1 end) over(partition by p.table_name,p.grantee,p.owner,p.privilege) u2_indicator
     16             from      dba_tab_privs p
     17                   inner join
     18                       dba_objects o
     19                     on (
     20                             o.object_type = 'DIRECTORY'
     21                         and
     22                             o.owner = p.owner
     23                         and
     24                             o.object_name = p.table_name
     25                        )
     26          )
     27    where u2_indicator = 1
     28  / 
    
    Explained.
    
    SQL>
    SQL>
    SQL> @?\rdbms\admin\utlxpls
    
    PLAN_TABLE_OUTPUT
    ------------------------------------------------------------------------------------------------------------------------------------
    Plan hash value: 1974693759
    
    ------------------------------------------------------------------------------------------------------------------------
    | Id  | Operation                              | Name                  | Rows  | Bytes |TempSpc| Cost (%CPU)| Time     |
    ------------------------------------------------------------------------------------------------------------------------
    |   0 | SELECT STATEMENT                       |                       |   522 | 59508 |       |   674   (5)| 00:00:09 |
    |*  1 |  VIEW                                  |                       |   522 | 59508 |       |   674   (5)| 00:00:09 |
    |   2 |   WINDOW SORT                          |                       |   522 |   101K|       |   674   (5)| 00:00:09 |
    |*  3 |    HASH JOIN                           |                       |   522 |   101K|       |   673   (5)| 00:00:09 |
    |   4 |     TABLE ACCESS FULL                  | USER$                 |    74 |  1110 |       |     3   (0)| 00:00:01 |
    |*  5 |     HASH JOIN                          |                       |   522 | 96570 |       |   670   (5)| 00:00:09 |
    
    PLAN_TABLE_OUTPUT
    ------------------------------------------------------------------------------------------------------------------------------------
    |   6 |      TABLE ACCESS FULL                 | USER$                 |    74 |  1110 |       |     3   (0)| 00:00:01 |
    |*  7 |      HASH JOIN                         |                       |   522 | 88740 |       |   666   (5)| 00:00:08 |
    |   8 |       INDEX FULL SCAN                  | I_TABLE_PRIVILEGE_MAP |    24 |   240 |       |     1   (0)| 00:00:01 |
    |*  9 |       HASH JOIN                        |                       |   522 | 83520 |       |   665   (5)| 00:00:08 |
    |  10 |        TABLE ACCESS FULL               | USER$                 |    74 |  1110 |       |     3   (0)| 00:00:01 |
    |* 11 |        HASH JOIN                       |                       | 38597 |  5465K|  1512K|   661   (4)| 00:00:08 |
    |* 12 |         HASH JOIN                      |                       | 24484 |  1219K|       |   170   (4)| 00:00:03 |
    |* 13 |          TABLE ACCESS FULL             | OBJAUTH$              | 24221 |   449K|       |    21   (5)| 00:00:01 |
    |  14 |          TABLE ACCESS FULL             | OBJ$                  | 52647 |  1645K|       |   147   (3)| 00:00:02 |
    |  15 |         VIEW                           | DBA_OBJECTS           | 49670 |  4559K|       |   164  (10)| 00:00:02 |
    |  16 |          UNION-ALL                     |                       |       |       |       |            |          |
    
    PLAN_TABLE_OUTPUT
    ------------------------------------------------------------------------------------------------------------------------------------
    |* 17 |           FILTER                       |                       |       |       |       |            |          |
    |* 18 |            HASH JOIN                   |                       | 52627 |  2826K|       |   162  (10)| 00:00:02 |
    |  19 |             TABLE ACCESS FULL          | USER$                 |    74 |  1110 |       |     3   (0)| 00:00:01 |
    |* 20 |             TABLE ACCESS FULL          | OBJ$                  | 52627 |  2055K|       |   158   (9)| 00:00:02 |
    |* 21 |            TABLE ACCESS BY INDEX ROWID | IND$                  |     1 |     8 |       |     2   (0)| 00:00:01 |
    |* 22 |             INDEX UNIQUE SCAN          | I_IND1                |     1 |       |       |     1   (0)| 00:00:01 |
    |* 23 |             TABLE ACCESS BY INDEX ROWID| SUM$                  |     1 |     8 |       |     1   (0)| 00:00:01 |
    |* 24 |              INDEX UNIQUE SCAN         | I_SUM$_1              |     1 |       |       |     0   (0)| 00:00:01 |
    |* 25 |           FILTER                       |                       |       |       |       |            |          |
    |* 26 |            HASH JOIN                   |                       |     9 |   513 |       |     5  (20)| 00:00:01 |
    |  27 |             INDEX FULL SCAN            | I_LINK1               |     9 |   378 |       |     1   (0)| 00:00:01 |
    
    PLAN_TABLE_OUTPUT
    ------------------------------------------------------------------------------------------------------------------------------------
    |  28 |             TABLE ACCESS FULL          | USER$                 |    74 |  1110 |       |     3   (0)| 00:00:01 |
    ------------------------------------------------------------------------------------------------------------------------
    
    Predicate Information (identified by operation id):
    ---------------------------------------------------
    
       1 - filter("U2_INDICATOR"=1)
       3 - access("OA"."GRANTEE#"="UE"."USER#")
       5 - access("OA"."GRANTOR#"="UR"."USER#")
       7 - access("OA"."PRIVILEGE#"="TPM"."PRIVILEGE")
       9 - access("O"."OWNER"="U"."NAME" AND "U"."USER#"="O"."OWNER#")
    
    PLAN_TABLE_OUTPUT
    ------------------------------------------------------------------------------------------------------------------------------------
      11 - access("O"."OBJECT_NAME"="O"."NAME")
      12 - access("OA"."OBJ#"="O"."OBJ#")
      13 - filter("OA"."COL#" IS NULL)
      17 - filter(("O"."TYPE#"<>1 AND "O"."TYPE#"<>10 OR "O"."TYPE#"=1 AND  (SELECT 1 FROM "SYS"."IND$" "I" WHERE
                  "I"."OBJ#"=:B1 AND ("I"."TYPE#"=1 OR "I"."TYPE#"=2 OR "I"."TYPE#"=3 OR "I"."TYPE#"=4 OR "I"."TYPE#"=6 OR
                  "I"."TYPE#"=7 OR "I"."TYPE#"=9))=1) AND DECODE("O"."TYPE#",0,'NEXT
                  OBJECT',1,'INDEX',2,'TABLE',3,'CLUSTER',4,'VIEW',5,'SYNONYM',6,'SEQUENCE',7,'PROCEDURE',8,'FUNCTION',9,'PACKAGE'
                  ,11,'PACKAGE BODY',12,'TRIGGER',13,'TYPE',14,'TYPE BODY',19,'TABLE PARTITION',20,'INDEX
                  PARTITION',21,'LOB',22,'LIBRARY',23,'DIRECTORY',24,'QUEUE',28,'JAVA SOURCE',29,'JAVA CLASS',30,'JAVA
                  RESOURCE',32,'INDEXTYPE',33,'OPERATOR',34,'TABLE SUBPARTITION',35,'INDEX SUBPARTITION',40,'LOB
                  PARTITION',41,'LOB SUBPARTITION',42,NVL( (SELECT DISTINCT 'REWRITE EQUIVALENCE' FROM SYS."SUM$" "S" WHERE
    
    PLAN_TABLE_OUTPUT
    ------------------------------------------------------------------------------------------------------------------------------------
                  "S"."OBJ#"=:B2 AND BITAND("S"."XPFLAGS",8388608)=8388608),'MATERIALIZED
                  VIEW'),43,'DIMENSION',44,'CONTEXT',46,'RULE SET',47,'RESOURCE PLAN',48,'CONSUMER
                  GROUP',51,'SUBSCRIPTION',52,'LOCATION',55,'XML SCHEMA',56,'JAVA DATA',57,'SECURITY
                  PROFILE',59,'RULE',60,'CAPTURE',61,'APPLY',62,'EVALUATION CONTEXT',66,'JOB',67,'PROGRAM',68,'JOB
                  CLASS',69,'WINDOW',72,'WINDOW GROUP',74,'SCHEDULE',79,'CHAIN',81,'FILE GROUP','UNDEFINED')='DIRECTORY')
      18 - access("O"."OWNER#"="U"."USER#")
      20 - filter("O"."LINKNAME" IS NULL AND "O"."NAME"<>'_NEXT_OBJECT' AND
                  "O"."NAME"<>'_default_auditing_options_' AND BITAND("O"."FLAGS",128)=0)
      21 - filter("I"."TYPE#"=1 OR "I"."TYPE#"=2 OR "I"."TYPE#"=3 OR "I"."TYPE#"=4 OR "I"."TYPE#"=6 OR
                  "I"."TYPE#"=7 OR "I"."TYPE#"=9)
      22 - access("I"."OBJ#"=:B1)
    
    PLAN_TABLE_OUTPUT
    ------------------------------------------------------------------------------------------------------------------------------------
      23 - filter(BITAND("S"."XPFLAGS",8388608)=8388608)
      24 - access("S"."OBJ#"=:B1)
      25 - filter(NULL IS NOT NULL)
      26 - access("L"."OWNER#"="U"."USER#")
    
    70 rows selected.
    
    SQL> 
    

    SY.

  • Move the same Table tablespace

    Hello!

    I had a table with 5.7 Tb and it fragmented s, so I need to reclaim space in the data files.

    How the table is stored in a Tablespace LMT, unable to make a space of shrinkage I m and therefore, I m just a reconstruction in this table, issuing the command move to the same tablespace.

    I Don t have more space to create a new tablespace with the same size as the tablespace concerned to do a reorganization.

    I dropped the old partitions, to free space in the tablespace, and now I'm free 2.3 Tb.

    It is a partitioned table, and my concern is how I Don t have enough space to create a different tablespace, if I run the movement in the same tablespace, use I´ll space relesed in the tablespace or should I increase the space in my temp tablespace?

    Another doubt is only if I run this line, I lock the table?

    Thanks in advance!

    Concerning

    Yes you can rebuild the partition in the partition in the same tablespace. Unfortunately no one guaranteed that oracle would start from beginning of TS. There is a great chance that after reconstruction of the finished table, you will not be able to reduce the tablespace. There is a tip can be used, you can run the query to search for items at the end of the tablespace move this object and narrowing tablespace as much as you can, then try again. It is a project for a long time, but if you want to do that anyway, so do it.

    select de.*
      from  dba_extents de,
           (select file_id, max(block_id) block_id
              from dba_extents
             where tablespace_name= 'LMT'
             group by file_id) t
     where tablespace_name= 'LMT'
       and de.file_id = t.file_id
       and de.block_id = t.block_id
    /
    
    ALTER TABLE . MOVE PARTITION  TABLESPACE LMT PARALLEL;
    

    Also, remember to rebuild the unusable index after the removal of partition.

    select 'alter INDEX ' || index_OWNER || '.' || INDEX_NAME
    || ' REBUILD PARTITION ' || PARTITION_NAME || ' TABLESPACE ' || TABLESPACE_NAME || ' NOLOGGING PARALLEL;'
    from all_ind_partitions
    where status='UNUSABLE'
    order by  partition_name DESC, index_name
    
  • StartDrag, possible to move the two objects?

    Hi, thanks for the response. Is it possible to connect the x coordinates y of the two objects so that if there are a bunch on one, when it is moved on the other moves with it?

    Thank you very much

    Frank

    Frank,

    > Hi David, thanks a lot! I use a.s. 2. Code would be very
    > very appreciated!

    Here's a way to do it.

    clipA.onPress = function (): Void {}
    this.startDrag ();
    var offsetX:Number = clipB._x - this ._x;
    var offsetY: Number = clipB._y - this ._y;
    clipB.onMouseMove = function (): Void {}
    This ._x = clipA._x + offsetX;
    This ._y = clipA._y + offsetY;
    updateAfterEvent();
    };
    };
    clipA.onRelease = function (): Void {}
    this.stopDrag ();
    clipB.onMouseMove = null;
    };

    clipA delivery Manager is two things: a) starts a normal for brake
    itself and (b) note the distance of its own location from clipB,
    then, it sets an onMouseMove to clipB handler that updates to this clip
    position with respect to offsets included just. The
    updateAfterEvent() function is not necessary, but it makes the smoother movement
    to display the lowest rate.

    Do clipB reciprocate, to manage the same events for clipB, only
    reverse the consequences:

    clipB.onPress = function (): Void {}
    this.startDrag ();
    var offsetX:Number = clipA._x - this ._x;
    var offsetY: Number = clipA._y - this ._y;
    clipA.onMouseMove = function (): Void {}
    This ._x = clipB._x + offsetX;
    This ._y = clipB._y + offsetY;
    updateAfterEvent();
    };
    };
    clipB.onRelease = function (): Void {}
    this.stopDrag ();
    clipA.onMouseMove = null;
    };

    David Stiller
    Adobe Community Expert
    Dev blog, http://www.quip.net/blog/
    "Luck is the residue of good design."

  • Use the standard action and action scripts conditional on the same blade upon entry

    I want two different types of action to run on blade scripts enter the same blade, one second apart.

    1 script: fill a variable with the current date.  It is a standard action going right.

    2nd script (run 1 sec after the first script): If the above variable is greater than the current date, follow these steps.  It is a conditional action.

    How can I get Captivate perform these two actions in the same blade?  I can do if 1 script is located on the previous slide and the script 2nd on the second slide.  However this does not look good.  I want these two scripts to run on enter the same blade.  I use CP8.  Any suggestions would be greatly appreciated.

    Thank you

    Sharon

    You can use the two decisions, the first decision designating a standard simulated action by using a condition that always leads to True:

    First decision "always."

    IF 1 is equal to 1

    Assign the v_one with...                         the commands of your standard action

    Second decision «...» »

    IF v_one is equal to cpInfoCurrentDateString your conditional action

    However, in CP8 it is NOT possible to delay of 1 orders dry, this is only possible in CP9. Why you want to defer checking?

  • Move the schema objects to a different database without data

    Hi all

    I have to migrate schema objects in one database to another without data. Help, please.

    Kind regards

    Cherkaoui

    Hello

    Please read the doc, there is option

    CONTENT = {ALL |} DATA_ONLY | METADATA_ONLY}

    ALL loads all data and metadata contained in the source. It is the default value.

    DATA_ONLY only loads the data in row of table in the existing tables; No database object is created.

    METADATA_ONLY only loads the database object definitions; No data line of the table is loaded.

    so in your case, you can use CONTENT = METADATA_ONLY

    HTH

  • addChild is the addition of new child but get rid of the existing children (if it is the same object)

    I have a chart of the letters from A to Z.

    I add the child to the scene with a discreet button represents the letter of the alphabet.

    I can add different letters to step up to 4 letters (I have a condition 'if', limiting the number of children on the stage).  But if I try to add 4 of the SAME letter, added the first, the second is added and removed from the first, the third is added and removed from the second (and the first has already been removed) and so on.  So I can never have the same letters as if I want to spell out MMMM as the expression of a feeling.

    How can this be?  I think I used a similar method before in a previous prototype where new children were loading on the scene from an image file on the disk.  In this case, all the children are integrated MovieClips in the FLA file (the FLA is huge!... because I have about 10 types of lettering images for each letter of the alphabet).  And I'm calling those with class constructors and pushing Classes in an array and then call this table a for loop iterating from 0 to less than 27 with i being a uint.

    Any help is greatly appreciated.

    -markerline

    :

    initialize

    var wordDisplayA:Array = [];

    var btnA:Array = [btn_A, btn_B],

    for (var i: int = 0; i<>

    btnA [i] .addEventListener (MouseEvent.CLICK, letterDisplayF);

    }

    use wordDisplayA to remove objects in the scene and null them.

    can change but do not change significantly

    function letterDisplayF(e:MouseEvent):void {}

    var C: Class = Class (getDefinitionByName ("Alpha_01_" + e.currentTarget.name.split ("btn_") [1] .toUpp erCase()));

    var instance: MovieClip = new C();

    addChild (instance);

    wordDisplayA.push (instance);

    instance.x = instance. Width * wordDisplayA.Length;

    }

    Call when you want to remove the letters.

    function removeWordF (): void {}

    for (var i: int = wordDisplayA.length - 1; i > = 0; i--) {}

    removeChild (wordDisplayA [i]);

    }

    wordDisplayA.length = 0;

    }

  • action or a script to move the selection to the specified layer?

    Hi all

    I have a work of art on 'Layer 1' I need to shrink and duplicate "layer 2". I do this several times a day, so I was hoping someone could help me with a script? The two layers are always named the same. I work in CS5.


    Thank you very much!

    Here you go

    var scale = 50; // 50 means 50%, change this to your needs
    
    var idoc = app.activeDocument;
    var ilayer = idoc.layers['Layer 2'];
    var sel = idoc.selection;
    var selen = sel.length;
    
    for (i=0; i		   
  • How can I run two sequences simultaneously on the same object to measure

    I'm turning two sequences in parallel on even the UUT (own USE) so that I can put a piece of equipment to a certain State while starting a timer at the same time.  How can I do this in the sequencer teststand?

    You can run a sequence (or a subsequence if you just need a timer) in a new thread (just choose "use new thread" in the call of the sequence)

Maybe you are looking for

  • Firefox does not display

    Firefox won't display when I open it. It seems flash to the right side of the screen and hide. It shows that it is open, in the taskbar, but will not optimize? Operating system windows 7.

  • Question about an external Bluetooth USB device

    Hi all! I would like to ask help from anyone on this forum for this question. Recently, I used an external Bluetooth USB device, the product name is IVT Bluesoleil, is this product safe for my Toshiba laptop?

  • How to run commads Terminal to start automatically the easy way!

    I recently installed Arnold Renderer on my Mac. Since El Capitan does not support environment variables in/etc/launchd.conf, to load the RLM license file I have to run these commads in the Terminal after every startup: i-MacBook-Pro: ~ I$ pwd / Users

  • ThinkStation P700 Player update

    Hello My current setup of the P700 is: 1 HARD DRIVE 2.5 "SATA SSD 512 GB 2ND HARD DRIVE 3.5 "1 TB SATA HARD DRIVE 7200 RPM 3RD VOID 1 M.2, M.2 PCIe SSD 256 GB SSD I'm a developer of software with multiple virtual environments. I would add an addition

  • Having a problem with discontinuity in the waveform

    Hi Experts, I am trying to build a multipurpose vi which is capable of generating analogue signals and read at the same time, using USB-6251 and Signal Conditioning connector block model SC-2345. I intend to add a signal from the sensor to the wavefo