In Illustrator, I successfully used an ExtendScript Toolkit JavaScript code to select multiple elements like text, paths, and symbols across different layers. Now, I am looking to resize them uniformly and then reposition them together.
While I can apply transformations to individual objects using code, looping through each element would be time-consuming and result in transformations being anchored differently for each element, leading to inconsistencies in my drawings.
Is there a way to replicate the scale transformation available in Illustrator's UI through code (JavaScript), allowing me to resize multiple selected elements uniformly with ease?