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

I would like to know if you can create embeded drop down menus and check boxes in FrameMaker.

New Here ,
Oct 05, 2016 Oct 05, 2016

Copy link to clipboard

Copied

I would like to know if you can create embeded drop down menus and check boxes in FrameMaker.

We are publishing documents that require DTDs and we want to incorporate some drop down menus and check boxes.

TOPICS
Structured

Views

265

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 ,
Mar 06, 2018 Mar 06, 2018

Copy link to clipboard

Copied

LATEST

var sampleCmd1 = DefineCommand(1, "Command1", "Open ExtendScript IDE", "");

var sampleCmd2 = DefineCommand(2, "Command2", "List of Scripts", "");

alert(typeof sampleCmd1.Name);

var sampleMenu = DefineMenu("ESTMenu", "Extendscripts Menu");

sampleMenu.AddCommandToMenu (sampleCmd1);

sampleMenu.AddCommandToMenu (sampleCmd2);

mainMenu = app.GetNamedMenu("!MakerMainMenu");

if(mySampleMenu.ObjectValid())

{

    mySampleMenu.AddMenuToMenu(sampleMenu);

}

mySampleMenu = app.GetNamedMenu("!BookMainMenu");

if(mySampleMenu.ObjectValid())

{

    mySampleMenu.AddMenuToMenu(sampleMenu);

}

UpdateMenus();

alert("Menus updated");

function Command(id){

   

    if(id==1)

{

           

            alert("This is the command to open the ExtendScript IDE but we havent written the function yet");

           

}  

   

else if(id==2)

{

            alert("This is the command to open the dropdown list of all scripts but we havent written the function yet");

  

    }

}

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