Skip to main content
13-Aquamarine
January 14, 2021
Question

With the ACL language, how to activate the "Entities" menu without loading a document

  • January 14, 2021
  • 1 reply
  • 1785 views

Hello,

When Arbortext is started with no document loaded, the "Entities" menu and submenus are disabled. With the ACL language, how to activate the "Entities" menu and the sub-menus ?

David

1 reply

15-Moonstone
January 26, 2021

With many menus, the ACL to use is menu_active() as in

eval menu_active("File.Open...", 0)

eval menu_active("File.Open...", 1)

 

However, when Arbortext first opens, it is in text mode.  The Entities menu is not available for a text file since there would be no way to add an entity to a text file.  If you want the Entities menu, you must first open an XML or SGML file.