use "object -> path -> divide objects below" via script & make selections?
Hi all,
I've really tried to seek out existing answers before posting, but I've had some difficulty in finding answers to these two. I saw one, but it didn't make sense to my newly-scripting mind.
If it's of importance, I'm using javascript.
I have my script selecting a particular line to use the "object --> path --> divide objects below" menu item with, which works fine in the AI GUI.
Scripting, however, I can't find a way to call that. Even creating an action doesn't seem to 'record' selecting that menu item.
Is there a way to have this ran via scripting?
I know there are PathFinder alternatives, but the results I was getting (especially with Divide) wasn't the result I'm needing in a 'razor' cut.
And secondly,
Once sliced, I'd really like to select a range of objects within certain x,y coordinates and group them, especially since layer names get dropped when you divide them. I'm not sure if this can be done either?
I have the javascript reference manual, but am having a difficult time finding my way to the right commands...and at times getting the syntax to stick.
Thank you for your help...and I hope this isn't horribly fundamental or dumb sounding!
John
