cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

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

dgopois
13-Aquamarine

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

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 1
plutsky
14-Alexandrite
(To:dgopois)

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.

Announcements

Top Tags