Cant seem to figure this one out.
In Adobe CC, I am trying to convert every path item of the current document to CMYK using applecript or javascript.
The equivalent to Edit/Edit Colors/ Convert to CMYK.
Currently I am using an action but I try to stay away from actions as much as possible.
Does anyone know how this could be done via applecript, javascript or whatever else?