Asked • 03/18/19

How to change the color of selected shape in group in PowerPoint using applescript?

  When i am grouped the n shapes in one group, and selected one shape from group and changed the color, but its changing color of all shapes in that group, how to overcome this jack? ,I need to change the color of that specific shape from that group Below code changing all shapes color tell application "Microsoft PowerPoint"  activate    set theShapeRange to shape range of selection of active window  set selected to child shape range of selection of active window      set n to (count shapes of theShapeRange)  repeat with i from 1 to n   tell shape i of theShapeRange    set fore color of fill format of it to {14, 235, 5}    set back color of fill format of it to {14, 235, 5}   end tell  end repeat   end tell

Jeffrey D.

Are the objects grouped? If so, un-group them, select one and change the color. Regroup if necessary.
Report

04/09/20

1 Expert Answer

By:

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.