On a drawing with many objects I changed my mind about the effects and wanted to remove them all and start again. The only way to do this was to select them one at at time and remove the drop-shadow. A script to do this kept failing because not all objects had the effects and this caused an error dialog to keep appearing…
So, I’d like to see a “Remove all Core Image effects from all selected objects” command added to Intaglio, or an AppleScript example please.
In the forthcoming version 3.0 you’ll be able to select more than one effect at a time to make functions such as this easier.
The following script will delete every effect in every selected graphic:
tell application “Intaglio”
set selectionList to the selection
repeat with theGraphic in selectionList
set effectsCount to count of the effects of theGraphic
repeat with i from 1 to effectsCount
delete effect 1 of theGraphic
end repeat
end repeat
select selectionList
end tell