How Apply Paper Swatch color on page

Hi Experts
I want to apply Paper Swatch color on page.
I try this to set Paper Swatch color but not sucess.
#target indesign
var myDocument = app.documents.add();
var myPages = myDocument.pages;
var myPage = myPages.item(0);
var swatchclr=app.activeDocument.swatches.itemByName("Paper").properties = {space:ColorSpace.RGB, model:ColorModel.PROCESS};
swatchclr.colorValue=[255,150,0];
There is no change in Paper Swatch color value.
How apply this color on page ?
Thanks.

Hi,
Watch this line ("=" repeated):
swatchclr       =       app.activeDocument.swatches.itemByName("Paper").properties      =     {space:ColorSpace.RGB, model:ColorModel.PROCESS};
swatchclr.colorValue=[255,150,0];
So swatchclr is a swatch.properties not a swatch.
Make it:
swatchclr       =       app.activeDocument.swatches.itemByName("Paper");
swatchclr.properties      =     {space:ColorSpace.RGB, model:ColorModel.PROCESS, colorValue:[255,150,0]};
rgds

Similar Messages

  • How to get swatch color changes to update in gradients?

    When I drop a swatch color on a gradient, it doesn't link to the swatch color like in a solid fill.
    Nevermind the UI inconsistency with this behavior, since Adobe probably doesn't care, but how do I get around this?
    Creating a Swatch from the gradient is not a solution for me, as I use the same base color in different gradients.
    Thank you!

    Thank you!
    For some reason now, however, the gradient display in the document has disappeared so I can't move it or create an ellipse... but maybe I should post that as a separate question.

  • How to adjust image color in pages?, how to adjust image color in pages?

    How do I adjust the color in a clip art piece of a pages document?

    I am presuming you are using Pages 5.2 and it is a bitmap (paint/photo) image:
    Select the Image > View > Show > Adjust Image
    Peter

  • How do I convert coloring book page to live paint group?

    Have coloring book and clip art image. How do I color them?

    Here are the steps you can use.
    Step 1: Create a new Illustrator document and insert the scan / photo of the image.
    File > New
    File > Place, navigate to the image, select it, click Place
    Click and drag on the page to insert the image.
    Step 2: Turn the pixel based image into Illustrator vector art
    With the Selection tool, click on the Image to the select it.
    Display the Image Trace panel (Window > Image Trace).
    From the Preset menu choose an option that closest resembles your image trace requirement, and select Preview and click Trace.
    Check the results, and make adjustments to the settings as required.
    Once you're happy with the result, in the Control panel, click Expand. Note that once you expand the Image Trace you will no longer be able to adjust the trace settings, and you've created Illustrator vector art.
    Step 3: Change the artwork to a Live Paint group and start colouring.
    Select the vector art, and choose Object > Live Paint > Make.
    You can now use the Live Paint Bucket and Live Paint Selection Tool to colour your artwork.
    Cari

  • How to change background color in pages

    i am creating a flyer usng pages and i want to change the background color to black.

    Welcome to Apple Support Communities.
    These instructions are for Pages '09, 4.1 (923).
    First Save As and give it a file name, in case you change your mind, and want to go back to what it was before you began to make color changes.
    Now click on the area of color you want to change. (It could take several tries to select the area you want.)
    Choose Inspector, Graphics, Fill, click the color box, and choose another color from the Color tool that opens.
    Depending upon the original, you may have to select several areas in order to recolor the entire document.

  • How to change highlight color in Pages for iPad?

    Is there any way to do this? I know i can highlight selected text, but there is no option for choosing the color. It's always yellow and I would really like to highlight my text with many different colors.

    It looks like the Highlight (background) color can only be yellow.
    The best work around I can find is to change the text color itself which may work like a highlight of the text (like red, green or blue) which makes it stand out.  Maybe that will help?
    Format Inspector (the brush) > Style > Touch the Size and Font item > Color > swipe to see options.
    Note even there you can't go beyond predefined colors but you can make text stand out.
    ivan

  • Saving Colors in Pages

    I can not figure out how to save certain colors in Pages. You can click through a variety of colors, but I do not know how to then use the same color for different parts of a layout. Is there somewhere to put in web color numbers? Am I missing something? I want to be able to use my own colors for my layouts, but can't seem to figure this out. Thanks for any help you may be able to give!

    Also, have you found out this? Bring up the colour palette and drag the little dot at the bottom down. It opens up a colour well. Drag colours there and they will appear in all other similar applications.

  • How To Delete All Colors In a Swatch Palette?

    If I wanted to create a new swatch palette without the preset colors being there, how can I delete all the swatches at once. I know how to delete each color individually but, is there a way to clear the palette?
    TIA
    knightball

    I believe you can do it in the Presets Manager.

  • How do I change the default color in pages.

    How do I change the default color in pages.  Everytime I try to copy and paste a passage, I am unable to do so because it seems that the ink is always white on white.  Sometimes I am lucky and can change it using the color box in the format bar, but it's a rarity when I'm able to do it.

    What version of Pages & what version of OS X are you using?
    A problem with an early Software Update for Snow Leopard caused a lot of problems. The problem is not whether or not your system is the current version but how it got there. You must use the combo updater, not the one from Software Update unless it specifically states it is the combo. Software Update will only offer the combo if your system is two or more versions behind.
    If you're not running the latest versions of the iWork apps & Software Update says your software is up to date, make sure the applications are where the installer initially put them. The updaters are very picky. If the location is not where the updater is programmed to look or if the folder doesn't have the name the updater looks for, it will not work. The applications cannot be renamed or moved. If you installed from the downloaded trial or the retail box, they must be in the iWork '09 (or '08 if that's what you're using) folder in Applications. That iWork folder must be named iWork '09. If it doesn't have the '09 Software Update won't find them & the updaters won't work.

  • How to use AppleScript to set "character fill color" in Pages 5.2?

    For Pages 5.2 on OSX 10.9.3, what is the correct applescript for changing the "character fill" of text in pages. 
    If you highlight text, you do this via your mouse in the inspector by clicking "style," "advanced option (the gear wheel to the right of bold, italics, and underline), "character fill color (clicking on the multi-color circle, not the dropdown menu), and then choosing a color that comes up in the "colors" dialogue box.
    I've looked all over and cannot find how to use applescript to set the character fill color in pages. 
    In some examples (not directly related) I see "character fill" used. 
    In others, I see "colorfill." 
    Basically, I want to use applescript, embedded in a keyboard maestro macro, to change the background color of the text (not the text color itself) to particular colors. 
    Given the changes and updates to Pages this year, and to applescript, what's the easy way to do this?
    Thanks!
    Chuck

    Pages v5.2 still does not include selection-object, or character background color entries in its AppleScript dictionary, as does Pages ’09. Indirectly, using System Events, you can get the text selection in Pages v5.2, but then you can do nothing to change the selection. No assurances as to if or when Apple will mature the AppleScript dictionary support for Pages v5 series.

  • How to change the color background in Pages for iPad?

    how to change the color background in Pages for iPad?

    You can find many themes at https://github.com/hdoria/xcode-themes  There's a download zip button on the right side of the page.
    Unzip and and copy the .dvtcolortheme files into /Users/YourUsername/Library/Developer/XCode/UserData/FontAndColorThemes Create the directory if it doesn't exist.
    If you can't find the Library directory you can get to it by using Finder's "Go to Folder..." option under "Go" or press shift + cmd + G then type the path.

  • How to apply 3 way color correction to multiple clips in Final Cut Pro?

    I have multiple clips from the same time and space footage that need color correction. I have worked on one of the clips and found the settings I like.
    Is there a way to apply that correction to other clips without starting from scratch on each one?
    Thanks!

    SoCal (above) listed one way. Another way you can do it if you like the color correction that you have done and want to save it, you can click the picture of the hand in the color correction tab and drag it into the browser. This saves that specific arrangement of colors, highlights, etc.
    Also, this might be a little easier but instead of pasting attributes and right clicking you can just grab the hand (that I just talked about) and drag it onto the clips you want to apply the same color correction to. The hand is located in the color correction tab (in viewer) and is under the "numeric" button.
    Note: All of your clips in your timeline will have different contrasts, brightness, colors, etc. NO clip is going to have the EXACT same attributes as another. It doesn't matter how expensive and professional your camera is. Every shot is different whether you are using artificial lighting or the natural lighting. Having that said, you will probably still need to adjust your different clips a little bit to make them look like they are in the same room at the same time. Hopefully if your lucky or had perfect lighting for all of your shots, you will not have to do much messing around with your contrast, brightness, etc. Good luck!

  • I have created a pdf and then want to send it to my boss.  When he recieves it it is saved in the 14 X 8.5 inches version.  How can I saved it on my end as a 11 x 8.5 inch so he doesn't have to uncheck "Choose paper source by PDF page size"?

    I have created a pdf and then want to send it to my boss.  When he recieves it it is saved in the 14 X 8.5 inches version.  How can I saved it on my end as a 11 x 8.5 inch so he doesn't have to uncheck "Choose paper source by PDF page size"?

    Hi heathers,
    You would need to print the file to a new PDF with the appropriate page size.
    Best,
    Sara

  • In ActiveX(OCX), How to Set "Choose paper source by PDF page size"

    Using Adobe Acrobat Reader ActiveX(ocx) in Delphi 7.
    I want to set "Choose paper source by PDF page size" value, in Source Code dynamically.
    Do you know how to set in Source Code?  Not in Print Dialog Window.
    Please help me. (.net or C# or any language.)

    I have this exact same question. Does anyone know if this is possible?
    Thank you,
    Ryan

  • How Do I Mass Search and Replace Swatch Colors In Entire Indesign CS6 Document?

    I've jumped from CS4 to CS6 and its been a little while since, but just trying to refamiliarize myself with the many Features of Indesign CS6.
    Here's my issue: I have a really old CS4 document I've opened up and saved in CS6. I have to change all swatch colors throughout the document from pantone swatch 295 C to updated pantone swatch 293 C.
    Question, without my having to go through the entire document one object at a time looking for each object, HOW do i perform a Mass search and replace of Color swatch references from 295 C to 293C.
    I thought i could just click swatch properties and update the color... but No... that doesnt work as swatch properties is just grayed out
    I'm sure i've overlooked something but a refresher on how to mass find and replace color in a document would be great.
    Thanks and looking forward to hearing from someone.

    Thanks for the tips.... both seem like good options without my having to purchase a 3rd party software to accomplish this...
    I must admit... Because I've been stuck in Web Design and Motion Graphics for the past couple of years, when I re-opened my old print work from the CS4 days into CS6 it is obvious I have some catch up to do....
    I was almost embarrassed to admit I had forgotten the technique of Alias one color to another using Ink Manager... I had to look it up and found this helpful tutorial http://indesignsecrets.com/alias-one-color-swatch-to-another.php
    Thanks for both solutions....

Maybe you are looking for

  • In which table the lines of the SAPScript form text elements are found?

    Hello, I want to write a report analyzing the lines contained in the text elements of an SAPScript form. From which table can I select the data? Regards. Lars.

  • Macbook to HD TV Audio and Video

    Hello, I am trying to hook my Macbook up to my HDTV to stream Netflix...but I am unsure how to do so. I understand that the mini DVI only outputs video, so I was looking at getting this mini DVI to HDMI cable for video and this mini stereo to RCA cab

  • Not able to edit Humantask activity

    Hi all, Im having issues with editing Humantask activities (SOA application) in my composite. Everytime i open the humantask activity to edit, changes are not saved, and it constantly throws the following error Uncaught exception java.lang.NullPointe

  • HTTP Response as Attachment

    Hello, I have a synchronous http scenario. I use a SOAP receiver adapter with "Do not use SOAP envelope" marked. However when checking monitoring for the http response I just have "MainAttachment (text/html)" displayed in Payload. So obviously there

  • How can i update media player for Mac OS 9.1

    I tried all media players, didn't work even tried to update. For online streaming minimum requirement is Mac OS X, Can u pls advise, appriciated. thanks