Copy link to clipboard
Copied
Hi All,
I want to disable "New Character Style..." menu.Is it possible to do with javascript?
I tried the below code but it shows read only error.
myMenuItem.associatedMenuAction.enabled = false;
Thanks & Regards,
Senthilvel S
Copy link to clipboard
Copied
If you searched this before asking: did How to disable menu using JS? not work?
Copy link to clipboard
Copied
Hi Jongware,
I tried the above code but that is not working. I want to prevent user from editing character styles. I want to disable the below window using script. And I want to prevent user from creating new styles.
Thanks & Regards,
Senthilvel S