I’m trying to align some elements in a document with document boundaries using the Move tool.
batchPlay from Alchimist:
{"_obj": "align","_target": [{"_ref": "layer","_enum": "ordinal","_value": "targetEnum"}],"using": {"_enum": "alignDistributeSelector","_value": "ADSCentersV"},"alignToCanvas": true}
The
“alignToCanvas”: true
only works if “Align to:” is set to “Canvas” in the options bar for the Move tool. It doesn’t programmatically override if “Align to:” is set to “Selection” in the options bar, which appears to be the default.
I’d expect
“alignToCanvas”: true
to take precedence over whatever is specified in the options bar.