is there any script to set shape color

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • jackdaniels
    No longer a forum member
    • Mar 2007
    • 533

    is there any script to set shape color

    I have about 25 shapes on a page and I want to set the shape color with script, does anyone know a script like that ? or maybe another way to do it

    Thanks in Advance
    JackDaniel's
  • nico210
    Forum Member
    • Aug 2007
    • 189

    #2
    Simple

    Simple :

    Shape.SetFillColor("Plugin1", 13107);

    Comment

    • jackdaniels
      No longer a forum member
      • Mar 2007
      • 533

      #3
      Originally posted by nico210 View Post
      Simple :

      Shape.SetFillColor("Plugin1", 13107);
      I know that nico210 thanks

      I was wondering if there is group script to set shape color, because I have so many shapes on every page... I dont want to set them 1 by 1...

      Comment

      • holtgrewe
        Indigo Rose Customer
        • Jul 2002
        • 779

        #4
        JD
        Assuming you have all your plugin shapes named similarly, you can use Page.EnumerateObjects(), then loop through that output table, identifying the shape names and apply nico210's code...
        That should do it.

        Comment

        • jackdaniels
          No longer a forum member
          • Mar 2007
          • 533

          #5
          Thanks holtgrewe :yes

          Comment

          Working...
          X