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

Top level plug-in menu in InDesign

Community Beginner ,
Aug 17, 2020 Aug 17, 2020

Copy link to clipboard

Copied

Hello,

I am new to InDesign plug-in development. I am looking to insert a custom menu in the top level menu bar. However, from the sample plug-ins in the SDK, I can insert any menu at Plug-Ins->SDK->Sample Menu only.

 

Is it possible to add my own menu in the top level menu bar?

 

Thanks.

TOPICS
How to , SDK

Views

277

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

correct answers 1 Correct answer

Guide , Aug 18, 2020 Aug 18, 2020

Have a look at SDKDef.h .

There kSDKDefPlugInsStandardMenuPath is defined as "Main:" kSDKDefPlugInsMenuApplicationKey ":"

You can provide your own menu name as localizable string when you replace kSDKDefPlugInsMenuApplicationKey .

Besides, a "." prefix would mean to use the string as-is without localization.

E.g. try

#define RupeshMenuPath "Main:.Rupesh:"

Votes

Translate

Translate
Community Expert ,
Aug 17, 2020 Aug 17, 2020

Copy link to clipboard

Copied

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 ,
Aug 18, 2020 Aug 18, 2020

Copy link to clipboard

Copied

Have a look at SDKDef.h .

There kSDKDefPlugInsStandardMenuPath is defined as "Main:" kSDKDefPlugInsMenuApplicationKey ":"

You can provide your own menu name as localizable string when you replace kSDKDefPlugInsMenuApplicationKey .

Besides, a "." prefix would mean to use the string as-is without localization.

E.g. try

#define RupeshMenuPath "Main:.Rupesh:"

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
Community Beginner ,
Aug 18, 2020 Aug 18, 2020

Copy link to clipboard

Copied

LATEST

Thank a ton Dirk!!! Exactly what I was looking for.

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