Hello all, new user here. I am trying to do some automation using Applescript to generate Graffle graphics, and I want to see about changing the canvas color. I thought it would be something like:
But that throws an AppleEvent handler failed error. Alternatively, I tried:
Which doesn't fail but has no effect.
Thanks in advance!
Code:
set properties of first canvas of first document to {canvasSize: {500,500}, canvasBackground: {.5, .5, .5}}
Code:
set properties of first canvas of first document to {canvasSize: {500,500}, fill color: {.5, .5, .5}}
Thanks in advance!