Automating the import of variable definitions

As of BookVars version 2.0, you can use ExtendScript, FrameScript, or other APIs to import existing groups of variable definitions. Use the following syntax to import the variable group “GROUPNAME” into the current book using ExtendScript:

CallClient("Pubs-Tools:BookVars", "GROUPNAME");

Use similar syntax for other APIs. When using the CallClient() function make sure that the first parameter exactly specifies the registered name of the BookVars client. The second parameter specifies the group name to import. This group name must be defined and exist in the BookVars INI file associated with the book being processed.