Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Illustrator CS2 plugin-script

New Here ,
Dec 23, 2008 Dec 23, 2008
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?
TOPICS
SDK
854
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Guide ,
Dec 23, 2008 Dec 23, 2008
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.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 23, 2008 Dec 23, 2008
Thanks a lot for ur reply Patterson. Does the same exists for Scripts sub menu? Can someone give me some advice regarding this...
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Dec 24, 2008 Dec 24, 2008
LATEST
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.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines