Skip to main content
CarlosCanto
Community Expert
Community Expert
March 13, 2014
Question

CS6+ executeMenuCommand, pattern swatch

  • March 13, 2014
  • 1 reply
  • 2124 views

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

This topic has been closed for replies.

1 reply

wckdtall
Inspiring
October 29, 2014

I'm on the same mission for Symbols. Any luck? I'm hoping there's a way to feed vars to these.

CarlosCanto
Community Expert
Community Expert
October 29, 2014

no luck, I resorted to using Actions to create the swatch...it worked.

wckdtall
Inspiring
October 29, 2014

I've got a lot of actions to create symbols. I'm hoping to feed variables into their names. I can figure something out with renaming an existing. Terrible that Adobe won't release important info regarding these, there's gotta be a way to suppress dialogs from these things, or emulate a return key press to the dialog?