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

handle the kSaveActionID

Community Beginner ,
Feb 01, 2017 Feb 01, 2017

Copy link to clipboard

Copied

We've build a Plug-In, which is loading a production order XML and is setting the beonding box of the document opened wit SDKHelper.

Now we need th signal of the hit of the File:Save menu.

It seems that the ActionID of the Save-Menu is kSaveActionID.

We've a MenuManager for setting a additional menu to the standard menu bar.

The handling of these sub menus is working well.

We'e coded a line: PMString ActionName = MenuManager->getActionName(kSaveActionID);, but ActionName is blank.

Additionally we'e implemented  a further line: MenuManager->HandleMenuHit(kSaveActionID); and have added the switch case for kSaveActionID to our ActionComponent, which is handling our own ActionID's well. But the message from the kSaveActionID switch case is never shown, whwn selecting the Save-submenu from the File-Menu.

How to handle  the kSaveActionID at a Plug-In?

Jochen Seliger

Views

658

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
no replies

Have something to add?

Join the conversation