Skip to Content

Set the Command Name

commandname

This item sets the desired command name in the “Auxiliary Commands” Microenvironment if Method GetCommandName is prepared accordingly (see below).

PDF Language File Command Name

Example to get the Command Name in a Python Script:

def GetCommandName(): nls = NLSUtility() nls.defineNLS(project="report") cmdname = nls.getNLS("commandname", "Report") return cmdname

 

NLS is set to “report” language files.

Try to get the item “commandname”, if item does´t exist take String “Report” as Result.

Was this page helpful?