Quantcast
Channel: Adobe Community : Popular Discussions - Illustrator Scripting
Viewing all articles
Browse latest Browse all 12845

CS6+ executeMenuCommand, pattern swatch

$
0
0

Hi all, I'm trying to create a Pattern Swatch out of the Selected Object, so I'm using

 

app.executeMenuCommand ('Define Pattern Menu Item');

 

this successfully adds the swatch to the swatches panel, but it also brings up the Pattern Options Panel and goes into "Pattern Editing Mode" where in the UI one could either click on "Cancel", "Done" or "Exit Editing Mode" buttons...

 

the problem is I can't exit out of the Pattern Editing Mode, has anyone discovered if there is a MenuCommand for it?

 

thanks


Viewing all articles
Browse latest Browse all 12845

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>