Examples: ScBar_AddMacro()


The following example adds a shortcut for a macro named “Setup.mac”. This shortcut will be available only for LESSONUSER1.

local boolean result;

result = ScBar_AddMacro(scgPERSONAL of form syScBarObj, "LESSONUSER1", 0, "Setup Workspace", "C:\macros\setup.mac") of form syScBarObj;


Documentation Feedback