Highlighted

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

New Here ,
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

208

Likes

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

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

New Here ,
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

209

Likes

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
Oct 05, 2016 0
New Here ,
Mar 06, 2018

Copy link to clipboard

Copied

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");

  

    }

}

Likes

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
Reply
Loading...
Mar 06, 2018 0