Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Macro for setting font style and color

  • Macro for setting font style and color

    Posted by Bill Russell on April 28, 2008 at 12:51 am

    Hi, I searched for Macros and discovered an impenetrable script system, much more mysterious to me than automated tasks in Photoshop. Anyway, what I need to find a quick way to alternate font style and color in a pre-typed long string of text (and end credit roll). I want to be able to select a line of text, execute something and bam, the particular style is applied to that line. Is there an easy way to do this? Thank you somebody for your help!

    Dan Ebberts replied 18 years ago 2 Members · 3 Replies
  • 3 Replies
  • Dan Ebberts

    April 28, 2008 at 3:37 pm

    There isn’t currently an easy way, but you could do it with a script and a template project that had pre-defined text layers – one for each style. The script would put your new text into the appropriate layer and delete (or make invisible) the rest.

    Note that you wouldn’t be able to have text that changed styles (multiple fonts, for example) within any give text layer.

    Dan

  • Bill Russell

    April 28, 2008 at 10:01 pm

    Well, what I wanted to do was select some text in a layer, activate a macro that applied particular attributes to that selected text. What is happening now is I am doing several credit rolls, AND the clients are sending significant updates as (not versioned, unfortunately) full text files for EACH roll. It is a bear to cut and paste in a whole new credit roll text set, then start from scratch selecting a header and formatting it (color, size and other font/style attributes), then select the name below the headert, manually do that, then select the next header, and on and on and on… EACH time. And do that for EACH credit roll text file that comes in.

    Is the answer a glorifed way of saying I’m pretty much stuck doing it this way?

    “THE LOST SKELETON OF CADAVRA”

    And more…

  • Dan Ebberts

    April 28, 2008 at 10:28 pm

    If you’re talking about changing the attributes of only some of the text in a text layer, then I think you’re out of luck.

    However, if you’re formatting an entire line and each line is a seperate text layer, then you can probably automate it (assuming you know the entire set of formatting options ahead of time and have set up template text layers for each of those options).

    Dan

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy