Sivaprasad Km
Sivaprasad Km

Reputation: 730

how to change powerpoint text box background color using applescript?

I need to change selected (shape)Textbox background and outer line color , How can we do that ?enter image description here

Upvotes: 0

Views: 1041

Answers (1)

jackjr300
jackjr300

Reputation: 7191

Here is an example

tell application "Microsoft PowerPoint"
    activate
    set theShapeRange to 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 back color of fill format of it to {0, 200, 255}
            set fore color of line format of it to {255, 0, 0}
        end tell
    end repeat
end tell

Upvotes: 1

Related Questions