Quantcast
Channel: Adobe Community : All Content - FrameMaker Scripting
Viewing all articles
Browse latest Browse all 888

Can't add a new menu

$
0
0

Hi,

 

(FM10, Win XP)

 

Following the example in the scripting guide to add a menu with ES, I just can't get it to work. I expect the menu to appear after I run the script, which it does when I run the equivalent with the FDK. What am I missing here?

 

var fmMainMenu = app.GetNamedMenu("!MakerMainMenu") ;

var newMenu = fmMainMenu.DefineAndAddMenu("MyMenu1", "MyMenu1");

 

I tried adding a command to the menu and get no errors, but the new menu still does not appear.

 

Thanks,

Russ


Viewing all articles
Browse latest Browse all 888

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>