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

Illustrator CS2 plugin-script

New Here ,
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?
TOPICS
SDK

Views

835

Translate

Translate

Report

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

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.

Votes

Translate

Translate

Report

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

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...

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

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