I created two shapes in OmniGraffle, a square and a circle.
I subtracted the circle from the square, then did a ‘copy as javascript.’
Next, I selected ‘Undo’ (to un-subtract), moved the circle a bit, then re-did the ‘copy as javascript’ and looked at the difference between the two files.
var canvas = document.windows[0].selection.canvas;
var g1 = canvas.newShape();
g1.shape = "BE8634A1-471D-4D3C-B0B3-49AC50F65A46-75347-00015195BDBD7C7A";
g1.shape = "10F6CA84-E927-4562-9762-163FEEA4B13E-75347-0001518001EEBE5A";
When the shape property is custom, how can we best understand these strings, parse them, etc? Thanks!