
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
More
1 Expert Answer

Rick C. answered 02/15/21
Tutor
New to Wyzant
Graphic Designer w/30+ Year Macintosh Design Software
Without ungrouping you can Command -> Click on one object to highlight and change color of one object in a group
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.
Jeffrey D.
Are the objects grouped? If so, un-group them, select one and change the color. Regroup if necessary.04/09/20