.. highlightlang:: us .. index:: AppCommandTracing .. _appcommandtracing: AppCommandTracing ================= .. us.tag AppCommandTracing ENGLISH App Changed5502 :ref:`AppCommandTracing` enables or disables tracing of menu commands. .. function:: bool = AppCommandTracing(bOn) .. us.return **Return Value** If the function succeeds, the return value is TRUE (1); otherwise it is FALSE (0). .. us.params **Parameters** .. uparam:: bOn If *bOn* is TRUE (1) enables command tracing. .. us.example **Example** The following command enables command tracing:: AppCommandTracing(TRUE); Choose a menu command, e.g. :ref:`tools-options`. The log message ``Command: 32776`` will be displayed in th event viewer. The following call will invoke the command :ref:`tools-options`:: AppSendCommandMessage(32776) .. us.history **History** .. list-table:: :header-rows: 1 * - Version - Description * - R2013.2 - Documented. .. seealso:: :ref:`overview-application-object`, :ref:`AppSendCommandMessage` :sub:`id-1167226`