Quando sono raggruppate le n forme in un gruppo e selezionato una forma dal gruppo e cambiato il colore, ma il suo colore che cambia di tutte le forme in quel gruppo, come superare questo jack? , Ho bisogno di cambiare il colore di quella forma specifica di quel gruppoCome cambiare il colore della forma selezionata nel gruppo in powerpoint usando applescript?
Di seguito il codice che cambia tutte le forme di colore
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
Inserisci il codice che hai finora, anche se sta cambiando il colore di tutto il gruppo. – jweaks