Skip to main content
Inspiring
March 18, 2022
Answered

Convert to grayscale image in illustrator using javascript

  • March 18, 2022
  • 1 reply
  • 1029 views

Hi All,

Please help me for the below request:

How to convert 'eps' image to grayscale mode in illustrator using javascript?

See the image for more details.

 

Thanks,
Magesh

This topic has been closed for replies.
Correct answer Charu Rajput

Hi, try 

app.executeMenuCommand("Colors7")

 

Make sure item is selected before running this command.

1 reply

Charu Rajput
Community Expert
Charu RajputCommunity ExpertCorrect answer
Community Expert
March 18, 2022

Hi, try 

app.executeMenuCommand("Colors7")

 

Make sure item is selected before running this command.

Best regards
Inspiring
March 18, 2022

@Charu Rajput 

Thank you very much for your support!!!