0
Illustrator CS2 plugin-script
New Here
,
/t5/illustrator-discussions/illustrator-cs2-plugin-script/td-p/1256990
Dec 23, 2008
Dec 23, 2008
Copy link to clipboard
Copied
Hi,
Is it possible to get the access of Scripts sub menu in the File menu thro the plugin code?
For eg: I need an an alert(given in my code) when i click on a sub menu under File menu. Is this possible?
Is it possible to get the access of Scripts sub menu in the File menu thro the plugin code?
For eg: I need an an alert(given in my code) when i click on a sub menu under File menu. Is this possible?
TOPICS
SDK
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Explore related tutorials & articles
Guide
,
/t5/illustrator-discussions/illustrator-cs2-plugin-script/m-p/1256991#M238144
Dec 23, 2008
Dec 23, 2008
Copy link to clipboard
Copied
I'm not sure if Scripts is covered, but you can request notifiers for most menu events. If you look at AIMenuCommandNotifiers.h you'll find a list of menu commands and a couple of examples of how you would construct a notifier to hear about those menus being clicked.
That said, I don't know if anything in the Scripts sub-menu is covered. Most of File's items are though so maybe. It's fairly easy to try this and see though.
That said, I don't know if anything in the Scripts sub-menu is covered. Most of File's items are though so maybe. It's fairly easy to try this and see though.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
_tnhems_
AUTHOR
New Here
,
/t5/illustrator-discussions/illustrator-cs2-plugin-script/m-p/1256992#M238146
Dec 23, 2008
Dec 23, 2008
Copy link to clipboard
Copied
Thanks a lot for ur reply Patterson. Does the same exists for Scripts sub menu? Can someone give me some advice regarding this...
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Guide
,
LATEST
/t5/illustrator-discussions/illustrator-cs2-plugin-script/m-p/1256993#M238148
Dec 24, 2008
Dec 24, 2008
Copy link to clipboard
Copied
There are no constants for the Scripts sub-menu, so your best bet is to mimic what you'd do for the other menus and see if it works. I have a sinking feeling it *won't*, but I could be wrong.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

