Skip to main content
1-Visitor
November 15, 2010
Question

character fill in macros

  • November 15, 2010
  • 2 replies
  • 2688 views

How can I include the 'character fill' command in a macro?

    2 replies

    12-Amethyst
    November 15, 2010

    The macro below is a simplied version showing the syntax. The last line of the macro ends up applying the $ISO_Black color at 10%.

    Macro Apply_Fill
    Define E1 as Element

    Create Text 0 0 "Test"

    E1 = ActiveDoc.FirstSelectedElement

    E1.Fill = "{Ref '$ISO_BLACK' 10}"

    End Macro

    1-Visitor
    November 15, 2010

    is there no way to do this using foundation's built in macro recording capability?

    12-Amethyst
    November 15, 2010

    The recorder is a good starting point for a number of macro tasks, but what I'm assuming you are looking for requires a loop which can not be created by recording. This is a common cut-off point for macro recorders.