Possible to change color of text in a text layer?

Hi There,
Is it possible to change the color value of a text layer via ExtendScript?  I scanned the documentation, but didn't immediately notice anything that would let me get to that property.  Is it possible?  If not, are there any workarounds?
Thanks,
Arie

It's in the AE CS6 scripting guide:
http://blogs.adobe.com/aftereffects/files/2012/06/After-Effects-CS6-Scripting-Guide.pdf?fi le=2012/06/After-Effects-CS6-Scripting-Guide.pdf
Dan

Similar Messages

  • How do you change color of text in a sapscript?

    Hi All,
    How do you change color of text in a sapscript?
    Thanks in advance,
    sathish

    Hi,
    It is is not possible in script.
      just check out this weblog
    they have already discussed about color in sapscript.
    Re: SAPSCRIPTS IN COLOR
    Regards
    Kiran

  • Possible to change color depth for Leopard's VNC server?

    I think it is very nice to include vnc server right into Leopard. But one problem, it seems it will only accept connection from clients when it is set to use full colors. This is painfully slow over WAN, any way to change the requirement from the server end?

    Possible to change color depth for Leopard's VNC server?
    Yes you can modify your screen sharing application so that you can adjust the colour depth. However you need to issue a command in the terminal to get this to work.
    http://www.macworld.com/article/131094/2007/12/screensharepower.html

  • How to change color of text is value is equal to 0

    how to change color of text or background if value is equal to 0

    HI,
    In Template Builder,Insert the conditional region,there you select the column and give condition is equal to 0 and in advanced enter the following code
    <?if:XMLfield=0?><xsl:attribute xdofo:ctx="block" name="background-color">red</xsl:attribute><?end if?>
    try this it works.
    Regards
    Uday

  • Is it possible to change the selectedTab text color in SPRY Tabs?

    Was working with SPRY tabs and the client would like the font color to change to white on roll over and select.
    Is this possible through simply adding a single line of code to the css file of the SPRY file under
    .TabbedPanelsTabSelected {
        height: 46px;
        width: 168px;
        background-color: #a7b9c3;
        color: #f7f7f7;
    as you can see I already attempted to change the color and wasn't able to achieve the results on
    http://ebnerproductions.com/index22.html
    If it is possible, awesome, if not, I will replace with rollover images to get the desired result.
    Adam Ebner
    Thank you again to everyone in the forum as you have all helped me big time in the last couple of days!!!!!

    I've gone through the coding now for a couple of days and still cannot get the font color to change on select.
    I tried to inserted the recommended
    <style>
    .TabbedPanelsTabSelected,
    .TabbedPanelsTabHover {
         color: #FFF;
    </style>
    coding that was offered earlier, and it did nothing....
    here is the CSS for my tabbed panels... PLEASE LET ME KNOW WHAT I HAVE DONE WRONG, OR FORGOT!!!!
    site is ... http://ebnerproductions.com/index22.html
    Here is the Spry css ....
    @charset "UTF-8";
    /* SpryTabbedPanels.css - version 0.4 - Spry Pre-Release 1.6.1 */
    /* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */
    /* Horizontal Tabbed Panels
    * The default style for a TabbedPanels widget places all tab buttons
    * (left aligned) above the content panel.
    /* This is the selector for the main TabbedPanels container. For our
    * default style, this container does not contribute anything visually,
    * but it is floated left to make sure that any floating or clearing done
    * with any of its child elements are contained completely within the
    * TabbedPanels container, to minimize any impact or undesireable
    * interaction with other floated elements on the page that may be used
    * for layout.
    * If you want to constrain the width of the TabbedPanels widget, set a
    * width on the TabbedPanels container. By default, the TabbedPanels widget
    * expands horizontally to fill up available space.
    * The name of the class ("TabbedPanels") used in this selector is not
    * necessary to make the widget function. You can use any class name you
    * want to style the TabbedPanels container.
    .TabbedPanels {
        margin: 0px;
        padding: 0px;
        float: left;
        clear: none;
        width: 810px; /* IE Hack to force proper layout when preceded by a paragraph. (hasLayout Bug)*/
        position: absolute;
        left: auto;
        top: auto;
        color: #666;   
    /* This is the selector for the TabGroup. The TabGroup container houses
    * all of the tab buttons for each tabbed panel in the widget. This container
    * does not contribute anything visually to the look of the widget for our
    * default style.
    * The name of the class ("TabbedPanelsTabGroup") used in this selector is not
    * necessary to make the widget function. You can use any class name you
    * want to style the TabGroup container.
    .TabbedPanelsTabGroup {
        margin: 0px;
        padding: 0px;
        width: 840px;
        color: #666;
    /* This is the selector for the TabbedPanelsTab. This container houses
    * the title for the panel. This is also the tab "button" that the user clicks
    * on to activate the corresponding content panel so that it appears on top
    * of the other tabbed panels contained in the widget.
    * For our default style, each tab is positioned relatively 1 pixel down from
    * where it wold normally render. This allows each tab to overlap the content
    * panel that renders below it. Each tab is rendered with a 1 pixel bottom
    * border that has a color that matches the top border of the current content
    * panel. This gives the appearance that the tab is being drawn behind the
    * content panel.
    * The name of the class ("TabbedPanelsTab") used in this selector is not
    * necessary to make the widget function. You can use any class name you want
    * to style this tab container.
    .TabbedPanelsTab {
        position: relative;
        top: 0px;
        float: left;
        padding: 0px;
        margin: 0px;
        list-style: none;
        -moz-user-select: none;
        -khtml-user-select: none;
        cursor: pointer;
        height: 41px;
        width: 158px;
        outline:none;
        text-align: center;
        font-family: Archer-Medium-Pro.otf;
        font-size: 1.4em;
        font-weight: normal;
        color: #666;
        font-style: normal;
        padding-top: 8px;
        -moz-border-top-right-radius: 8px;
        -moz-border-top-left-radius: 8px;/* for older versions of Firefox) */
        -webkit-border-top-right-radius: 8px;
        -webkit-border-top-left-radius: 8px;/* for older versions of Safari and Chrome */
        border-top-right-radius: 8px;
        border-top-left-radius: 8px;/* Newer browsers */
    /* This selector is an example of how to change the appearnce of a tab button
    * container as the mouse enters it. The class "TabbedPanelsTabHover" is
    * programatically added and removed from the tab element as the mouse enters
    * and exits the container.
    .TabbedPanelsTabHover {
        background-color: #EEE;
        color: #FFF;
        width: 158px;
        outline:none;
    /* This selector is an example of how to change the appearance of a tab button
    * container after the user has clicked on it to activate a content panel.
    * The class "TabbedPanelsTabSelected" is programatically added and removed
    * from the tab element as the user clicks on the tab button containers in
    * the widget.
    * As mentioned above, for our default style, tab buttons are positioned
    * 1 pixel down from where it would normally render. When the tab button is
    * selected, we change its bottom border to match the background color of the
    * content panel so that it looks like the tab is part of the content panel.
    .TabbedPanelsTabSelected {
        height: 41px;
        width: 158px;
        background-color: #a7b9c3;
        font: Archer-Pro-Medium;
        color: #FFF;
        outline:none;
    /* This selector is an example of how to make a link inside of a tab button
    * look like normal text. Users may want to use links inside of a tab button
    * so that when it gets focus, the text *inside* the tab button gets a focus
    * ring around it, instead of the focus ring around the entire tab.
    .TabbedPanelsTab a {
        color: #666;
        text-decoration: none;
        outline:none;
    /* This is the selector for the ContentGroup. The ContentGroup container houses
    * all of the content panels for each tabbed panel in the widget. For our
    * default style, this container provides the background color and borders that
    * surround the content.
    * The name of the class ("TabbedPanelsContentGroup") used in this selector is
    * not necessary to make the widget function. You can use any class name you
    * want to style the ContentGroup container.
    .TabbedPanelsContentGroup {
        clear: both;
        background-color: ;
        outline:none;
    /* This is the selector for the Content panel. The Content panel holds the
    * content for a single tabbed panel. For our default style, this container
    * provides some padding, so that the content is not pushed up against the
    * widget borders.
    * The name of the class ("TabbedPanelsContent") used in this selector is
    * not necessary to make the widget function. You can use any class name you
    * want to style the Content container.
    .TabbedPanelsContent {
        padding: 0px;
    /* This selector is an example of how to change the appearnce of the currently
    * active container panel. The class "TabbedPanelsContentVisible" is
    * programatically added and removed from the content element as the panel
    * is activated/deactivated.
    .TabbedPanelsContentVisible {
    /* Vertical Tabbed Panels
    * The following rules override some of the default rules above so that the
    * TabbedPanels widget renders with its tab buttons along the left side of
    * the currently active content panel.
    * With the rules defined below, the only change that will have to be made
    * to switch a horizontal tabbed panels widget to a vertical tabbed panels
    * widget, is to use the "VTabbedPanels" class on the top-level widget
    * container element, instead of "TabbedPanels".
    /* This selector floats the TabGroup so that the tab buttons it contains
    * render to the left of the active content panel. A border is drawn around
    * the group container to make it look like a list container.
    .VTabbedPanels .TabbedPanelsTabGroup {
        float: left;
        width: 10em;
        height: 20em;
        background-color: #EEE;
        position: relative;
        border-top: solid 1px #999;
        border-right: solid 1px #999;
        border-left: solid 1px #CCC;
        border-bottom: solid 1px #CCC;
    /* This selector disables the float property that is placed on each tab button
    * by the default TabbedPanelsTab selector rule above. It also draws a bottom
    * border for the tab. The tab button will get its left and right border from
    * the TabGroup, and its top border from the TabGroup or tab button above it.
    .VTabbedPanels .TabbedPanelsTab {
        float: none;
        margin: 0px;
        border-top: none;
        border-left: none;
        border-right: none;
    /* This selector disables the float property that is placed on each tab button
    * by the default TabbedPanelsTab selector rule above. It also draws a bottom
    * border for the tab. The tab button will get its left and right border from
    * the TabGroup, and its top border from the TabGroup or tab button above it.
    .VTabbedPanels .TabbedPanelsTabSelected {
        background-color: #EEE;
    /* This selector floats the content panels for the widget so that they
    * render to the right of the tabbed buttons.
    .VTabbedPanels .TabbedPanelsContentGroup {
        clear: none;
        float: left;
        padding: 0px;
        width: 30em;
        height: 20em;
    Thank everyone again for all the help!

  • Adobe Acrobat Pro: Possible to change color of drawn lines / polygons? How?

    In working with Adobe Acrobat Pro --editing PDFs, is it possible to change the color of lines and polygons that are under the comments section. I would like to have lines and polygons of 3 maybe 4 different colors on the thing that I am working on..  Is this possible?  How?

    Press Ctrl+E to open the Properties bar and you'll be able to change the
    color of the comments you're creating.

  • How to change color of text in one cell of a List component?

    I tried this but didn't work:
    list.getItemAt(2).textField.setStyle("textFormat", tf);
    Thanks!!

    Shy layers?  I see the words "Music Party" in two text layers in the timeline.  Here's what you do:
    Double-click on one of the text layers to highlight all the characters in the layer.  Go to the Character Pane and change the color.  Double-click on the other text layer.  Instead of changing the color in the Character pane, use the eyedropper to match the color of the first layer.
    Easy as pie.

  • Is it possible to change  color on the line strip/code view in CS6?

    Hello -
    I did some research on this and cant seem to see if this can be done - I was hoping to change the color of the blue line menu on the code view screen.
    Eric

    I take it you're referring to that vertical line in the left hand side of Code View? I don't think it's possible to change the color.  If you disable line numbers (#), it's a bit less noticeable.
    Nancy O.

  • Possible to change colors of mouse cursor?

    I was wondering if it was possible to change the color of the mouse cursor. With out the use of a program/haxie.
    Is there a particular file/preference I can edit, some command line for teminal?
    Thanks in advance
    nerd2

    Might try looking here for WebKit ones...
    /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.framew ork/Versions/A/Resources/<anything>Cursor.png
    Double click for Some info...
    /System/Library/Frameworks/Tk.framework/Versions/8.4/Resources/Documentation/Ref erence/Tk/TkLib/GetCursor.htm
    Not sure what these cursors are for...
    /Volumes/TigerOS9/System/Library/Frameworks/GLUT.framework/Versions/A/Resources/ <anything>Cursor.tiff
    "The default cursor and the wait cursor are stored here: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/CoreGraphics. Default Cursor: $23556C - $23766C; Wait Cursor: $23766C - $23D66C"
    http://forums.macnn.com/90/mac-os-x/121657/osx-cursors-location-found/
    And what you didn't want...
    http://www.versiontracker.com/dyn/moreinfo/macosx/18336

  • ExtendScript Illustrator - Change color of text one character at a time.

    I'm trying to write code for ExtendScript ToolKit to target Illustrator. I've been writing in JavaScript, but am open to switching to AppleScript if needed. The goal of the code is to change the characters in a text box one by one to the color of the image behind that letter. The end goal is to have the color of the text create the image.
    Basically, I select a character. And lets say that character is at 720x648 (in pixels) in a 24x36 in image. Then I detect the color in the image layer at that location. Then turn the selected character to that color.
    I have encountered two problems, finding a way to have the script detect the color of the picture at a given location (ideally in pixels) and then change that one character to that color.
    So far my code is this, with a color hard coded in for testing purposes since I haven't figured out the detection part yet.
    if ( app.documents.length > 0 ) {
    var doc = app.activeDocument;
    //get text from textbox
    var numChars = 0;
    textArtRange = doc.textFrames[0].contents;
    numChars += textArtRange.length;
    //loop through to select characters one at a time
    for (x=0; x<numChars; x++){
         var selectChar=textArtRange.charAt(x)
         doc.characterStyles.removeAll();
         var charStyle=doc.characterStyles.add("NewOne");
         var charAttr=charStyle.characterAttributes;
         var detectedColor = new RGBColor();   //ideally the detected color would go here. But for now it is hard coded.
             detectedColor.red = 242;
             detectedColor.green = 51;
             detectedColor.blue = 51;
         charAttr.fillColor = detectedColor;
         charStyle.applyTo(selectChar); // I got an error here: "Object expected".
    }//end for loop
    To detect the color, I tried using the following code, but it only works in Photoshop and even there I can't find a way to store that color the way I need to.
    app.activeDocument.colorSamplers.removeAll();
    var pixelLoc = [UnitValue(16) , UnitValue(16)];
    var myColorSampler = app.activeDocument.colorSamplers.add(pixelLoc);
    I have put in so many hours into this and just want to rip my hair out. Any help or guidance anyone can give would be SO appreciated! Thanks in advance!!!

    finding a way to have the script detect the color of the picture at a given location (ideally in pixels)
    there's no native command to do this in illustrator,
    I tried using the following code, but it only works in Photoshop.....
    unless you get extremely lucky (working with matching Object names) photoshop code won't work in Illustrator.
    a possible workaround, clip your text to your image, rasterize it, trace it, you might end up with a solid color per character, where you could read their color.

  • Change color of text in one field to white on a invoice form

    Hello,
    I have the following problem:
    On our invoice document, I defined a frame in the upper left corner, where I want to print some steering signs
    For our postal machine.
    I want to change the printing colour only for the content of the defined field to u201Cwhiteu201D instead of black like the rest.
    I found settings like, bold, underlined, hidden.... but nothing with color
    Is there any possibility to do that ?
    If yes can you give me a guide or whatever on information you have ??
    Thanks in advance

    Hi,
    Thread is not clear.If it is only printing of symbols you can do like this way.Add a Text node in SAP Smartform .Click the Change Editor buton to continue with a more advanced text editor.Then select characters,special symbols.
    Regards,
    Madhu.

  • Changing color of  text in the input field

    hi
    when i disable the input field , the text written in it has very light color. How can i change the color of the displayed text in the input field.

    Hi Harsimran,
    changing the text color of an input field is not possible. However, you can build a workaround:
    1. take an expression box, place it exactly over your input field
    2. change its text color and take the value of your input field as value being displayed
    3. instead of making your input field disabled, make it hidden and show the expression box instead.
    Thus, instead of enabling/disabling your input field, switch between expression box/input field to be displayed. I hope it's clear what I mean. If not, don't hesitate to ask again.
    Best regards,
      Benni

  • Edit a png file... change colors and text and then export to gif?

    First I want to state that I am VERY new to Fireworks and I am trying to figure out how this works!  I typically use Photoshop.
    I was sent a PNG file (from a friend).  The file has many buttons on it that I believe are somehow saved or exported out as gif images to be buttons on her website.  All of the buttons are basic rectangles that are gray with black text.  She was told she could edit all of the buttons quickly in Fireworks (change their color, font color, etc) and it would change them all together.  Then save them all out so we would have the individual gif files for the buttons to save to the directory.
    So... I am able to open the png file in Fireworks and I can select each button or all of them, but I cannot see how to change their color and font, etc.  I know this must be very simple!  Can someone help me?
    Thank you!
    Sharlyn

    Have a look in the ocument Library panel to see if the buttons are Symbols. If yes, then double click on one of the buttons to open it in the symbol editor where you can easily make changes in all of them at once.

  • Typeface changes automatically when changing color on text within a bullet

    Something very weird is happening when I change the color of the typeface within a bullet. As soon as I click on the new color in the Colors palette, the typeface changes to another typeface (one that doesn't even show up in the Fonts palette, so I don't even know what it is). I went back to make sure the slide master had the correct typeface, which it does, and I have the typeface installed on my computer.
    This does NOT happen when I select the entire bullet, just when I select text WITHIN the bullet.
    Any idea what might be causing this?
    Many thanks for any help you might provide.
    Margaret

    Is there a character style applied to the table or text in the table. I had many issues with this over-riding my paragraph style.

  • 3D not possible to change color

    When I type some text, I convert it to outlines. Then I apply the filter 3D >> extrude and bevel. Then I select the 3D text, select object >> expand appearance. Then I use the wand tool to select the different faces, I then want to change the color of the different faces but whatever I try, it always remains a greyscale!!
    What am I doing wrong?? Thanks!!

    When you outlined the text, it stopped being text. It became a group of paths.
    When you expanded the 3D Effect, it stopped being a live Effect. It became a dumb set of many, many paths.
    You don't have to convert text to outlines before applying 3D Effect.
    You don't have to Expand 3D Effect results in order to re-color it.
    But if you've already done all that, you have a Group, probably containing a kazillion paths (depending upon your 3D Effects settings). You can direct-select (white pointer) objects within that Group to re-color them individually. Or, you can globally alter their color at once by using the Edit<Edit Colors commands (depending on software version, which you did not provide.)
    JET

Maybe you are looking for

  • Mail body from SBWP always as attachment

    Hi there, I want to send simple mails from Business Workplace to external users (internet address). The problem is, that the body always comes as attachment (txt-file) with the mail to the user. Not as body text in his mail client. Any help would be

  • Where can I get RAM?

    When I ordered my MacBook, I thought a gigabyte of RAM would be plenty, but now I think I should upgrade to 2 gigs before school starts. The only problem is, I have no idea where I can get MacBook compatible RAM that would work with my 2.16 gHz proce

  • VI locked for no reason

    We had an issue with an executable delivered to our customer. When they started the executable, it displayed an error message, not the exact words, but something like 'Cannot load the front panel of ... Mean.vi'.  We have updated the executables a fe

  • IWeb all gone after "No saving of domain possible"

    I created one more page in my existing site. iWeb refused saving saying "Domain could not be saved". I closed the iWeb. After opening, every page of my site is empty. On the iDisk one sees all the stuff, but how get it back?

  • Powerbook alternates between battery and adapter when plugged in

    The other day my PB started alternating between battery and adapter when plugged in: the symbol changes from batt to charging every few seconds, brightness goes up and down. I've managed to find a position where it will actually charge. I even tried