How to change the color of selected shape in group in powerpoint using applescript? -
when grouped n shapes in 1 group, , selected 1 shape group , changed color, changing color of shapes in group, how overcome jack? ,i need change color of specific shape group
below code changing shapes color
tell application "microsoft powerpoint" activate set theshaperange shape range of selection of active window set selected child shape range of selection of active window set n (count shapes of theshaperange) repeat 1 n tell shape of theshaperange set fore color of fill format of {14, 235, 5} set color of fill format of {14, 235, 5} end tell end repeat end tell
i suspect not possible applescript.
the selection property of powerpoint (2011) returns grouped shapes single object there no information selection of specific shape within group.
the contents of child shape range specifies group.
Comments
Post a Comment