[JS] Creating a Global Swatch

I am able to create a new (CMYK) swatch and name it. But how do I set it as "global" (not spot).
Javascript CS3

OK, looks like you just add it as a Spot Color?
Seems to work...
/Create new Swatch
//var newSwatch = app.activeDocument.swatches.add()
var newSwatch = app.activeDocument.spots.add()
var newColor = new CMYKColor()
newColor.cyan = 0
newColor.magenta = 0
newColor.yellow = 20
newColor.black = 0
newSwatch.name = "Background 20y"
newSwatch.color = newColor

Similar Messages

  • How can i create a Global Temporary Table inside a Stored Procedure....

    Hi...
    I need to create a Global Temporary Table inside a Stored
    Procedure....
    I have no idea how to do that....
    Please....if u can send me a sample, send to me....
    Thanks a lot

    To create a global temporary table inside a stored procedure,
    the minimal syntax would be:
    CREATE OR REPLACE PROCEDURE procedure_name
    AS
    BEGIN
    EXECUTE IMMEDIATE 'CREATE GLOBAL TEMPORARY TABLE table_name'
    || '(column_name NUMBER)';
    END procedure_name;
    As Todd stated, it would probably be better to create the global
    temporary table outside of the procedure:
    SQL> CREATE GLOBAL TEMPORARY TABLE table_name
    2 (column_name NUMBER);
    Table created.
    You can also specify things like ON COMMIT PRESERVE ROWS or ON
    COMMIT DELETE ROWS.
    It may be that there is something else, like a PL/SQL table of
    records or a cursor, that would suit your needs better. It is
    difficult to guess without knowing what you want to do with it.

  • Creating a Global Temporary Table on non-default TEMP tablespace.

    Hello ,
    I am using Oracle 11g.
    I have a procedure which create global temporary tables for its functionality. As the data which is going in the global temporary table , mean the data which is going in the default TEMP tablesapce is too huge ..... billions of rows..
    So what i want to do is , I want to create the global temporary table in another TEMP2 tablespace ( which is not the default one) so the load of billions of rows of data will be shifted to TEMP2. The default TEMP tablespace will not be affected and it can be used for other transactions.
    Is this possible. Can i shift the global temporary table from TEMP( Default temp tablespace) to TEMP2 ( the non-default temp tablespace) ????
    Please guide me with proper solutions and examples ....
    Thanks in advance ..

    DBA4 wrote:
    Hello ,
    I am using Oracle 11g.
    I have a procedure which create global temporary tables for its functionality. As the data which is going in the global temporary table , mean the data which is going in the default TEMP tablesapce is too huge ..... billions of rows..
    So what i want to do is , I want to create the global temporary table in another TEMP2 tablespace ( which is not the default one) so the load of billions of rows of data will be shifted to TEMP2. The default TEMP tablespace will not be affected and it can be used for other transactions.
    Is this possible. Can i shift the global temporary table from TEMP( Default temp tablespace) to TEMP2 ( the non-default temp tablespace) ????
    Global temporary tables are instantiated in the temporary tablespace of the schema that inserts the data - not into "the default" temporary tablespace.
    Assume Schema1 creates a GTT and grants all on that table to schema2
    Assume schema1 also creates a procedure (authid owner, the default) to insert data into the GTT and grants execute on the procedure to schema2
    If schema2 executes: insert into schema1.gtt, the data will appear in the temporary tablespace of schema2
    If schema2 executes: execute schema1.procedure, the data will appear in the temporary tablespace of schema1
    So if you want to protect the "normal" temporary tablespace, you could just create a special temporary tablespace for the owner of the procedure.
    Regards
    Jonathan Lewis

  • How to create a global variable in forms 6i

    How to create a global variable in forms 6i

    :GLOBAL.my_var := 15; Well, this statement is not correct! Global variables
    stores a character string of up to 255 characters in
    length. Thus, valid statement for Khurram example
    is:
    :GLOBAL.my_var := TO_CHAR(15);
    or
    :GLOBAL.my_var := '15';
    But numeric values are implicitly converted by oracle so there's nothing in fact wrong with the statement...
    :GLOBAL.my_var := 15;
    ;)

  • Error while creating KM Global Service

    Hi Experts,
       I have created one KM Global Service from the <b> com.sap.netweaver.kmc.globalservice.zip</b> file.  I have downloaded this zip file from <a href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/com.sap.km.cm.docs/library/nw/netweaver-developers-guide-2004s/NetWeaverDevelopersGuide2004s_Documents/KM_articles_new/examples/index.html">SAP Developer's Guide</a>. 
      I have created the Global Service project by importing this zip file as <b> Multiple Existing Projects into workspace</b> in NWDS 7.0 SP 9....
      I have referenced all the jar files to the project, no errors in the project....
      When i try to deploy this project, i am getting the error in the view description as below:
    <b>com.sap.portal.plugins.config-archiver: Cannot create config archive (you should have a valid data or meta folder)     com.sap.netweaver.kmc.globalservice</b>      
      Please help me in this regard, its very urgent.
    Thanks in Advance,
    Chinna Durai.R.
    /* Point will be rewarded for useful answers */

    Hi Praveen,
       Thanks for your reply and i have awarded points to you.  I can able to deploy the Global Service after renaming <b>install</b> instead of <b>local</b>.  But the Global Service is a little complex.  If you (or anybody) have any coding for global service, please send me (My MailID is: [email protected] ) or paste the code here. 
    <b>Points will be awarded</b>.
    Thanks in Advance,
    Chinnadurai. R.

  • Can I create a global paragraph/character catalog?

    Is there a way to create a global style catalog in FrameMaker so that, when I modify a character or paragraph style in one document I can save those changes back to the catalog so they are available for my other documents?
    I know that I can create a new document using another document as a template, and I know that I can select a single document as my base document or "template" and manually add the style changes to its catalog, but this presents two problems:
    1- I need to manually make the changes in my template document after I make them in my new document.
    2- I need to manually import the update styles into existing documentation.
    both of these actions require manual effort and inevitably lead to out of sync catalogs.
    Does anybody know of a way to create a global catalog to which I can save style changes?

    Thanks for the replies, but there seems to be a lot of manual effort involved in all of the suggestions above which is what I'm trying to avoid.
    I know how to import formats as I stated in my original posting. My question is whether there is a way to more easily manage the process with a global catalog of some kind.
    I am new in my current position and there are no standard document templates so I am creating them as I go. It being very difficult (nearly impossible) to anticipate every possible formatting choice, I am creating paragraph and character tags as I go. When I see these tags set against each other in new ways, I tweak them. there is currently no good way to send those tweaks back to a global template to make them present in my existing documents. It requires the manual efforts described in my original post and in subsequent replies. This leads very quickly to documents being out of sync with the new standard.
    I would love to know if anyone else has ideas on this that do not require a lot of manual effort. I'd prefer to spend that effort on document creation rather than tag management.
    Thanks!

  • Is it possible to extract vacacy created in Global HR or provide a link to 3rd party system on vacancy card?

    Hi,
    We have a client requirement either to extract vacacy created in Global HR or provide a link on vacancy card to 3rd party system ?
    Regards,
    Manoj

    Generally integration would be done using web services, the available web services are documented in OER. I am not familiar enough with HCM functionality to comment on the specific feature, I will ask a colleague to comment.
    Jani Rautiainen
    Fusion Applications Developer Relations
    https://blogs.oracle.com/fadevrel/

  • I would like to create a colour swatch in Adobe Muse

    I have just started a trial of all the Adobe CC programs, and was just wondering about creating a colour swatch using the Muse application.
    Could someone give me some help and guidance on how to do this?
    Thank you.

    Look here:

  • Not authorization when create a global variant

    Hi developers,
    if i create a variant for execute a query in BI 7.0 with flag for user the system work, while I create a global variant I have problem with the authorization. There are specifics authorizations object for the creation of variant global or are necessaries particular objects.
    Can you help me ?
    Thanks in advance
    Domenico

    Hi Domenico,
    If its authorization problem, try and consult your Basis team. Specify them for which transaction (or) rather for which objects you are having the authorization issues. I guess they should help U with it.
    Hope this will help.
    Regards,
    Syed.

  • Business Rules : Unable to create a global variable (Fixed)

    Hello all,
    I try to create a global variable in order to use it in a business rule;
    I selected an outline.
    I chose the type "Member"
    I chose the dimension "Period"
    I clicked on the lookup button in front of the default value and chose the member "January"
    Finally, I chose the usage type "Run-Time prompt" and type in a prompt string.
    Unfortunately, when I click on save, I get an error message : Variable value ["January"] is invalid.
    If I try to do not specified a default member, it is possible to save.
    But when I launch the business rule and specified a member in the the prompt message, I get an error 1060120 : OLAP error.
    I cannot figure out what's going wrong, so any help is welcomed.
    Thanks,
    DLP
    Message was edited by:
    user639769
    Message was edited by:
    user639769

    Thanks for your answer,
    I finally figure out what's going wrong.
    This issue is due to the fact that the outline is configured to accept duplicated names.
    When I create the same outline but with duplicated names turn off, every thing goes perfectly.
    I don't know why the outline accepts duplicated name.
    In fact, I do not understand what are the reasons for using duplicate name...

  • Create a Global Layout for Embargo Report

    Hi,
    Kindly advise on the below.
    I am attempting to create a Global Layout for the "Export Embargo Report for BP" .
    However, while attempting to save the same , the "user-specific" checkbox is turned on and grayed out.
    Kindly advise on how to go about to save a Global Layout.
    Thanks
    Jasmit

    Thanks Sameer , your understanding is correct.
    However, even if I save the layout as a default one ( Default checkbox set) , it will be applicable only for my id.. I am looking to create a layout, which everyone will be able to access the layout as well..
    Thanks
    Jasmit Kohli

  • Changing a global swatch

    We've purchased an eps file that claims that you can change the global swatch settings, but when I double click the swatch and change the color - it doesn't change anything.  If I cursor over the entire art and double click the swatch to make the change, it changes the entire art to a single color.  This art has hundreds of sections within it - with lots of various gradients in it.  If I choose a single layer to change the colors in the gradient - I can't get the gradient colors to show up, nor can I even get it to change over to the standard black and white gradient.  So, I don't know what to do here.  Am I doing something wrong here in making the global swatch change?  If I didn't know better, I'd say that the art has been completely divided.
    Suggestions?
    Thanks,
    Ron

    This is from iStock and claims within a note on site that it is set up with a Global Swatch. 
    The blue swatch in the pic you are talking about may have been one that I adjusted in an earlier attempt to change out the swatch color, but had no effect... I'm assuming that is the case.
    Otherwise, I can't even understand why the eyedropper doesn't recognize a color in the gradient...
    It's looking this will have to returned.

  • Creating a global layout in CO03

    Hi Expert,
    Can anyone tell me what authorizations/Parameter IDs are required to create a global variant in transaction CO03 -> goto Costs -> Analysis ? I can create and save a layout that is user-specific, but I cannot make it global. Any ideas?
    I already using user profile SAP_ALL & SAP_NEW.
    Best Regards,
    Leo Lee

    Hello,
    Check with the Auth. Object: S_ALV_LAYO, Activity: 23.
    Whether the Activity 23 is defined or not?
    Regards,
    Siva

  • Creating a global function

    Dear,
    I want to creat a global function. Can you tell me here i have to type my function.
    Thanks

    In the hierarchy view, click on the root node, then right click and you will see insert Scripting Object as an option.
    Also this is well described in the help files as to how it works.
    paul

  • Creating a Global Role using weblogic.Admin command

    Hi,
    Does anyone have an example of creating a global role using the weblogic.Admin commands? I think I have to use the INVOKE command with the DefaultRoleMapper and createRole method, but I'm not quite sure what the rest of the syntax is.
    Thanks,
    Gabriel

    Gabriel,
    The following works for me:
    weblogic.Admin -url t3://localhost:80 -username weblogic -password weblogic INVOKE -mbean "Security:Name=myrealmDefaultRoleMapper" -method createRole "" "MyGlobalRole" "Grp(Administrators)" ""
    The null first parameter identifies this role as a global role.
    The second param is the name of the role.
    The third parameter is the policy expression. Here, I've mapped the role to the Administrators group. You can also map it to users or a combo of the two. For example, to map it to the "weblogic" user, use "Usr(weblogic)" as the policy expression. If you leave this parameter empty, the role will be created but will not be mapped to anything.
    I'm not sure what the fourth parameter is for. It's not defined in the RoleEditorMBean docs but not including it causes an error. I suspect it's a description field because WLS does not seem to care what you put there.
    HTH,
    Mike

Maybe you are looking for

  • SSO to MOSS Microsoft SharePoint

    Hi guys! I am currently trying to find out how to implemnt a SSO between SAP NetWeaver and the MOSS from Microsoft. EP is supposed to be the main host. Does anybody have any experience on this? Greets, Jan Marquardt

  • Öffnen von Fotos in Photoshop Elements

    This discussion has been automatically generated for: http://help.adobe.com/de_DE/lightroom/using/WS30BB1A73-0A01-4072-978C-56C8DE443A03.html.

  • I purchased tv show and i am trying to watch the 'new' episodes

    i purchased tv show and i am trying to watch the 'new' episode and can't seem to

  • How to make a SELECT LIST READONLY

    Hi, I have a form to update the existing values in a table. Primary column is based on a Select List. So when user goto update screen they SHOULD NOT BE ABLE TO CHANGE the primary filed(means the value display in the Select List). SO to make this one

  • Need to Unpair from Logitech 880 Every Time I "Watch Apple TV"

    Hi, I set up a "Watch Apple TV" activity for the first time today on my Logitech 880 remote. One problem I am seeing is that every time I select "off" on the Logitech to end the activity and then turn the activity back "on" again, I need to choose "u